Instances and theorems on pi types #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file provides basic definitions and notation instances for Pi types.
Instances of more sophisticated classes are defined in pi.lean
files elsewhere.
1
, 0
, +
, *
, +ᵥ
, •
, ^
, -
, ⁻¹
, and /
are defined pointwise.
The function supported at i
, with value x
there, and 1
elsewhere.
Equations
- pi.mul_single i x = function.update 1 i x
Abbreviation for mul_single_eq_of_ne h.symm
, for ease of use by simp
.
On non-dependent functions, pi.mul_single
can be expressed as an ite
On non-dependent functions, pi.single
is symmetric in the two
indices.
On non-dependent functions, pi.mul_single
is symmetric in the two indices.
If the one function is surjective, the codomain is trivial.
Equations
If the zero function is surjective, the codomain is trivial.