hilbert
6
Search
☰
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
GitHub
return to top
source
Imports
Init.Data.Int.Lemmas
Init.Data.Int.Pow
Init.Data.List.Basic
Init.Data.List.Lemmas
Imported by
List
.
prod_replicate_int
List
.
prod_append_int
List
.
prod_reverse_int
Init
.
Data
.
List
.
Int
.
Prod
source
@[simp]
theorem
List
.
prod_replicate_int
{
n
:
Nat
}
{
a
:
Int
}
:
(
replicate
n
a
)
.
prod
=
a
^
n
source
theorem
List
.
prod_append_int
{
l₁
l₂
:
List
Int
}
:
(
l₁
++
l₂
).
prod
=
l₁
.
prod
*
l₂
.
prod
source
theorem
List
.
prod_reverse_int
(
xs
:
List
Int
)
:
xs
.
reverse
.
prod
=
xs
.
prod