Cast of integers to function types #
This file provides a (pointwise) cast from ℤ
to function types.
Main declarations #
Pi.instIntCast
: mapn : ℤ
to the constant functionn : ∀ i, π i
@[deprecated Pi.intCast_apply]
theorem
Pi.int_apply
{ι : Type u_1}
{π : ι → Type u_2}
[(i : ι) → IntCast (π i)]
(n : ℤ)
(i : ι)
:
↑n i = ↑n
Alias of Pi.intCast_apply
.
@[deprecated Pi.intCast_def]
theorem
Pi.coe_int
{ι : Type u_1}
{π : ι → Type u_2}
[(i : ι) → IntCast (π i)]
(n : ℤ)
:
↑n = fun (x : ι) => ↑n
Alias of Pi.intCast_def
.