Mathlib.Algebra.Group.IsApply
88 declarations and 1 deprecated aliases. Mathlib docs · Source
Typeclasses for FunLike and algebraic operations
In this file we provide typeclasses for the compatibility of algebraic structures and FunLike
instances.
These instances encode the property that algebraic operations such as addition, subtraction, and
negation are given by the pointwise operations, and moreover we provide classes for 1 acting as
the identity and multiplication acting as composition.
The algebraic FunLike typeclasses provide a simp lemma of the form add_apply and a norm_cast
lemma coe_add.
The following pointwise Is*Apply typeclasses are available:
IsZeroApply,IsOneApply:0 x = 0and1 x = 1, respectivelyIsAddApply,IsMulApply:(f + g) x = f x + g xand(f * g) x = f x * g x, respectivelyIsSubApply,IsDivApply:(f - g) x = f x - g xand(f / g) x = f x / g x, respectivelyIsNegApply,IsInvApply:(-f) x = -(f x)and(f⁻¹) x = (f x)⁻¹, respectivelyIsVAddApply,IsSMulApplyIsPowApply:(n +ᵥ f) x = n +ᵥ f x,(n • f) x = n • f x, and(f ^ n) x = (f x) ^ n, respectivelyIsNatCastApply,IsIntCastApply:(n : F) x = nforn : ℕandn : ℤ, respectively
For endomorphism-like objects, we have additionally:
IsOneApplyEqSelf:1 x = xIsMulApplyEqComp:(f * g) x = f (g x)IsNatCastApplyEqSMul,IsIntCastApplyEqSMul:(n : F) x = n • xforn : ℕandn : ℤ, respectively
For every type that declares a FunLike instance and an Add instance, there should be generally
an IsAddApply instance with the proof usually being solved automatically using rfl.
So for instance for the continuous linear maps equipped with the uniform convergence topology,
we have the instance
instance instIsAddApply [TopologicalSpace F] [IsTopologicalAddGroup F] (𝔖 : Set (Set E)) :
IsAddApply (E →SLᵤ[σ, 𝔖] F) where
There are a few lemmas that apply to any function space as long as they have an IsAddApply
instance. Then it is now possible to define generic lemmas as follows:
section FunLike
variable {F α β : Type*} [CommMonoid β] [CommMonoid F]
[FunLike F α β] [IsOneApply F] [IsMulApply F]
open Classical in
@[to_additive (attr := simp)]
theorem prod_apply {ι : Type*} (s : Finset ι) (f : ι → F) (x : α) :
(∏ i ∈ s, f i) x = ∏ i ∈ s, f i x := by
induction s using Finset.induction_on with
| empty => simp
| insert i s his h => simp [his, h]
end FunLike
class IsZeroApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Zero β] → [Zero F] → Prop
IsZeroApply F states for all x : α, (0 : F) x = 0.
ctor IsZeroApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Zero β]
[inst_2 : Zero F], autoParam (∀ (x : α), 0 x = 0) IsZeroApply.zero_apply._autoParam → IsZeroApply F
theorem IsZeroApply.zero_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Zero β}
{inst_2 : Zero F} [self : IsZeroApply F] (x : α), 0 x = 0
class IsOneApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [One β] → [One F] → Prop
IsOneApply F states for all x : α, (1 : F) x = 1.
ctor IsOneApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : One β]
[inst_2 : One F], autoParam (∀ (x : α), 1 x = 1) IsOneApply.one_apply._autoParam → IsOneApply F
theorem IsOneApply.one_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : One β}
{inst_2 : One F} [self : IsOneApply F] (x : α), 1 x = 1
theorem one_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : One β}
{inst_2 : One F} [self : IsOneApply F] (x : α), 1 x = 1
Alias of IsOneApply.one_apply.
theorem zero_apply E3 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Zero β}
{inst_2 : Zero F} [self : IsZeroApply F] (x : α), 0 x = 0
Alias of IsZeroApply.zero_apply.
class IsOneApplyEqSelf E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → [FunLike F α α] → [One F] → Prop
IsOneApplyEqSelf F states for all x : α, (1 : F) x = x.
ctor IsOneApplyEqSelf.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} [inst : FunLike F α α] [inst_1 : One F],
autoParam (∀ (x : α), 1 x = x) IsOneApplyEqSelf.one_apply_eq_self._autoParam → IsOneApplyEqSelf F
theorem IsOneApplyEqSelf.one_apply_eq_self E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : One F} [self : IsOneApplyEqSelf F] (x : α),
1 x = x
theorem one_apply_eq_self E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : One F} [self : IsOneApplyEqSelf F] (x : α),
1 x = x
Alias of IsOneApplyEqSelf.one_apply_eq_self.
class IsAddApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Add β] → [Add F] → Prop
IsAddApply F states for all f g : F and x : α, (f + g) x = f x + g x.
ctor IsAddApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Add β]
[inst_2 : Add F],
autoParam (∀ (f g : F) (x : α), (f + g) x = f x + g x) IsAddApply.add_apply._autoParam → IsAddApply F
theorem IsAddApply.add_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Add β}
{inst_2 : Add F} [self : IsAddApply F] (f g : F) (x : α), (f + g) x = f x + g x
class IsMulApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Mul β] → [Mul F] → Prop
IsMulApply F states for all f g : F and x : α, (f * g) x = f x * g x.
ctor IsMulApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Mul β]
[inst_2 : Mul F],
autoParam (∀ (f g : F) (x : α), (f * g) x = f x * g x) IsMulApply.mul_apply._autoParam → IsMulApply F
theorem IsMulApply.mul_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Mul β}
{inst_2 : Mul F} [self : IsMulApply F] (f g : F) (x : α), (f * g) x = f x * g x
theorem add_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Add β}
{inst_2 : Add F} [self : IsAddApply F] (f g : F) (x : α), (f + g) x = f x + g x
Alias of IsAddApply.add_apply.
theorem mul_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Mul β}
{inst_2 : Mul F} [self : IsMulApply F] (f g : F) (x : α), (f * g) x = f x * g x
Alias of IsMulApply.mul_apply.
class IsMulApplyEqComp E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → [FunLike F α α] → [Mul F] → Prop
IsMulApplyEqComp F states for all x : α, (f * g) x = f (g x).
ctor IsMulApplyEqComp.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} [inst : FunLike F α α] [inst_1 : Mul F],
autoParam (∀ (f g : F) (x : α), (f * g) x = f (g x)) IsMulApplyEqComp.mul_apply_eq_comp._autoParam →
IsMulApplyEqComp F
theorem IsMulApplyEqComp.mul_apply_eq_comp E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : Mul F} [self : IsMulApplyEqComp F] (f g : F)
(x : α), (f * g) x = f (g x)
theorem mul_apply_eq_comp E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : Mul F} [self : IsMulApplyEqComp F] (f g : F)
(x : α), (f * g) x = f (g x)
Alias of IsMulApplyEqComp.mul_apply_eq_comp.
class IsSubApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Sub β] → [Sub F] → Prop
IsSubApply F states for all f g : F and x : α, (f - g) x = f x - g x.
ctor IsSubApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Sub β]
[inst_2 : Sub F],
autoParam (∀ (f g : F) (x : α), (f - g) x = f x - g x) IsSubApply.sub_apply._autoParam → IsSubApply F
theorem IsSubApply.sub_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Sub β}
{inst_2 : Sub F} [self : IsSubApply F] (f g : F) (x : α), (f - g) x = f x - g x
class IsDivApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Div β] → [Div F] → Prop
IsDivApply F states for all f g : F and x : α, (f / g) x = f x / g x.
ctor IsDivApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Div β]
[inst_2 : Div F],
autoParam (∀ (f g : F) (x : α), (f / g) x = f x / g x) IsDivApply.div_apply._autoParam → IsDivApply F
theorem IsDivApply.div_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Div β}
{inst_2 : Div F} [self : IsDivApply F] (f g : F) (x : α), (f / g) x = f x / g x
theorem sub_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Sub β}
{inst_2 : Sub F} [self : IsSubApply F] (f g : F) (x : α), (f - g) x = f x - g x
Alias of IsSubApply.sub_apply.
theorem div_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Div β}
{inst_2 : Div F} [self : IsDivApply F] (f g : F) (x : α), (f / g) x = f x / g x
Alias of IsDivApply.div_apply.
class IsNegApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Neg β] → [Neg F] → Prop
IsNegApply F states for all f : F and x : α, (-f) x = -f x.
ctor IsNegApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Neg β]
[inst_2 : Neg F], autoParam (∀ (f : F) (x : α), (-f) x = -f x) IsNegApply.neg_apply._autoParam → IsNegApply F
theorem IsNegApply.neg_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Neg β}
{inst_2 : Neg F} [self : IsNegApply F] (f : F) (x : α), (-f) x = -f x
class IsInvApply E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [Inv β] → [Inv F] → Prop
IsInvApply F states for all f : F and x : α, f⁻¹ x = (f x)⁻¹.
ctor IsInvApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : Inv β]
[inst_2 : Inv F], autoParam (∀ (f : F) (x : α), f⁻¹ x = (f x)⁻¹) IsInvApply.inv_apply._autoParam → IsInvApply F
theorem IsInvApply.inv_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Inv β}
{inst_2 : Inv F} [self : IsInvApply F] (f : F) (x : α), f⁻¹ x = (f x)⁻¹
theorem inv_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Inv β}
{inst_2 : Inv F} [self : IsInvApply F] (f : F) (x : α), f⁻¹ x = (f x)⁻¹
Alias of IsInvApply.inv_apply.
theorem neg_apply E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : Neg β}
{inst_2 : Neg F} [self : IsNegApply F] (f : F) (x : α), (-f) x = -f x
Alias of IsNegApply.neg_apply.
class IsVAddApply E1 #
(M : Type u_1) →
(F : Type u_2) →
{α : outParam (Type u_3)} → {β : outParam (Type u_4)} → [FunLike F α β] → [VAdd M β] → [VAdd M F] → Prop
IsVAddApply M F states for all f : F, n : M and x : α, (n +ᵥ f) x = n +ᵥ f x.
ctor IsVAddApply.mk E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} [inst : FunLike F α β]
[inst_1 : VAdd M β] [inst_2 : VAdd M F],
autoParam (∀ (f : F) (n : M) (x : α), (n +ᵥ f) x = n +ᵥ f x) IsVAddApply.vadd_apply._autoParam → IsVAddApply M F
theorem IsVAddApply.vadd_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : VAdd M β} {inst_2 : VAdd M F} [self : IsVAddApply M F] (f : F) (n : M) (x : α), (n +ᵥ f) x = n +ᵥ f x
class IsSMulApply E1 #
(M : Type u_1) →
(F : Type u_2) →
{α : outParam (Type u_3)} → {β : outParam (Type u_4)} → [FunLike F α β] → [SMul M β] → [SMul M F] → Prop
IsSMulApply M F states for all f : F, n : M and x : α, (n • f) x = n • f x.
ctor IsSMulApply.mk E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} [inst : FunLike F α β]
[inst_1 : SMul M β] [inst_2 : SMul M F],
autoParam (∀ (f : F) (r : M) (x : α), (r • f) x = r • f x) IsSMulApply.smul_apply._autoParam → IsSMulApply M F
theorem IsSMulApply.smul_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : SMul M β} {inst_2 : SMul M F} [self : IsSMulApply M F] (f : F) (r : M) (x : α), (r • f) x = r • f x
class IsPowApply E1 #
(M : Type u_1) →
(F : Type u_2) →
{α : outParam (Type u_3)} → {β : outParam (Type u_4)} → [FunLike F α β] → [Pow β M] → [Pow F M] → Prop
IsPowApply M F states for all f : F, n : M and x : α, (f ^ n) x = (f x) ^ n.
ctor IsPowApply.mk E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} [inst : FunLike F α β]
[inst_1 : Pow β M] [inst_2 : Pow F M],
autoParam (∀ (f : F) (n : M) (x : α), (f ^ n) x = f x ^ n) IsPowApply.pow_apply._autoParam → IsPowApply M F
theorem IsPowApply.pow_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : Pow β M} {inst_2 : Pow F M} [self : IsPowApply M F] (f : F) (n : M) (x : α), (f ^ n) x = f x ^ n
theorem vadd_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : VAdd M β} {inst_2 : VAdd M F} [self : IsVAddApply M F] (f : F) (n : M) (x : α), (n +ᵥ f) x = n +ᵥ f x
Alias of IsVAddApply.vadd_apply.
theorem smul_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : SMul M β} {inst_2 : SMul M F} [self : IsSMulApply M F] (f : F) (n : M) (x : α), (n • f) x = n • f x
Alias of IsSMulApply.smul_apply.
theorem pow_apply E0 #
∀ {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (Type u_4)} {inst : FunLike F α β}
{inst_1 : Pow β M} {inst_2 : Pow F M} [self : IsPowApply M F] (f : F) (n : M) (x : α), (f ^ n) x = f x ^ n
Alias of IsPowApply.pow_apply.
class IsNatCastApply E1 #
(F : Type u_1) →
{α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [NatCast F] → [NatCast β] → Prop
IsNatCastApply F states for all n : ℕ and x : α, (n : F) x = n.
ctor IsNatCastApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : NatCast F]
[inst_2 : NatCast β],
autoParam (∀ (n : ℕ) (x : α), ↑n x = ↑n) IsNatCastApply.natCast_apply_eq_const._autoParam → IsNatCastApply F
theorem IsNatCastApply.natCast_apply_eq_const E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : NatCast F}
{inst_2 : NatCast β} [self : IsNatCastApply F] (n : ℕ) (x : α), ↑n x = ↑n
theorem natCast_apply_eq_const E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : NatCast F}
{inst_2 : NatCast β} [self : IsNatCastApply F] (n : ℕ) (x : α), ↑n x = ↑n
Alias of IsNatCastApply.natCast_apply_eq_const.
class IsIntCastApply E1 #
(F : Type u_1) →
{α : outParam (Type u_2)} → {β : outParam (Type u_3)} → [FunLike F α β] → [IntCast F] → [IntCast β] → Prop
IsIntCastApply F states for all n : ℤ and x : α, (n : F) x = n.
ctor IsIntCastApply.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} [inst : FunLike F α β] [inst_1 : IntCast F]
[inst_2 : IntCast β],
autoParam (∀ (n : ℤ) (x : α), ↑n x = ↑n) IsIntCastApply.intCast_apply_eq_const._autoParam → IsIntCastApply F
theorem IsIntCastApply.intCast_apply_eq_const E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : IntCast F}
{inst_2 : IntCast β} [self : IsIntCastApply F] (n : ℤ) (x : α), ↑n x = ↑n
theorem intCast_apply_eq_const E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (Type u_3)} {inst : FunLike F α β} {inst_1 : IntCast F}
{inst_2 : IntCast β} [self : IsIntCastApply F] (n : ℤ) (x : α), ↑n x = ↑n
Alias of IsIntCastApply.intCast_apply_eq_const.
class IsNatCastApplyEqSMul E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → [FunLike F α α] → [NatCast F] → [SMul ℕ α] → Prop
IsNatCastApplyEqSMul F states for all n : ℕ and x : α, (n : F) x = n • x.
ctor IsNatCastApplyEqSMul.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} [inst : FunLike F α α] [inst_1 : NatCast F] [inst_2 : SMul ℕ α],
autoParam (∀ (n : ℕ) (x : α), ↑n x = n • x) IsNatCastApplyEqSMul.natCast_apply_eq_smul._autoParam →
IsNatCastApplyEqSMul F
theorem IsNatCastApplyEqSMul.natCast_apply_eq_smul E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : NatCast F} {inst_2 : SMul ℕ α}
[self : IsNatCastApplyEqSMul F] (n : ℕ) (x : α), ↑n x = n • x
theorem natCast_apply_eq_smul E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : NatCast F} {inst_2 : SMul ℕ α}
[self : IsNatCastApplyEqSMul F] (n : ℕ) (x : α), ↑n x = n • x
Alias of IsNatCastApplyEqSMul.natCast_apply_eq_smul.
class IsIntCastApplyEqSMul E1 #
(F : Type u_1) → {α : outParam (Type u_2)} → [FunLike F α α] → [IntCast F] → [SMul ℤ α] → Prop
IsIntCastApplyEqSMul F states for all n : ℤ and x : α, (n : F) x = n • x.
ctor IsIntCastApplyEqSMul.mk E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} [inst : FunLike F α α] [inst_1 : IntCast F] [inst_2 : SMul ℤ α],
autoParam (∀ (n : ℤ) (x : α), ↑n x = n • x) IsIntCastApplyEqSMul.intCast_apply_eq_smul._autoParam →
IsIntCastApplyEqSMul F
theorem IsIntCastApplyEqSMul.intCast_apply_eq_smul E1 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : IntCast F} {inst_2 : SMul ℤ α}
[self : IsIntCastApplyEqSMul F] (n : ℤ) (x : α), ↑n x = n • x
theorem intCast_apply_eq_smul E0 #
∀ {F : Type u_1} {α : outParam (Type u_2)} {inst : FunLike F α α} {inst_1 : IntCast F} {inst_2 : SMul ℤ α}
[self : IsIntCastApplyEqSMul F] (n : ℤ) (x : α), ↑n x = n • x
Alias of IsIntCastApplyEqSMul.intCast_apply_eq_smul.
theorem FunLike.coe_one E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : One F] [inst_2 : One β] [IsOneApply F],
⇑1 = 1
theorem FunLike.coe_zero E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Zero F] [inst_2 : Zero β]
[IsZeroApply F], ⇑0 = 0
theorem FunLike.coe_one_iff E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : One F] [inst_2 : One β] [IsOneApply F]
{f : F}, ⇑f = 1 ↔ f = 1
theorem FunLike.coe_zero_iff E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Zero F] [inst_2 : Zero β]
[IsZeroApply F] {f : F}, ⇑f = 0 ↔ f = 0
theorem FunLike.coe_mul E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Mul F] [inst_2 : Mul β] [IsMulApply F]
(f g : F), ⇑(f * g) = ⇑f * ⇑g
theorem FunLike.coe_add E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Add F] [inst_2 : Add β] [IsAddApply F]
(f g : F), ⇑(f + g) = ⇑f + ⇑g
theorem FunLike.coe_sub E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Sub F] [inst_2 : Sub β] [IsSubApply F]
(f g : F), ⇑(f - g) = ⇑f - ⇑g
theorem FunLike.coe_div E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Div F] [inst_2 : Div β] [IsDivApply F]
(f g : F), ⇑(f / g) = ⇑f / ⇑g
theorem FunLike.coe_neg E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Neg F] [inst_2 : Neg β] [IsNegApply F]
(f : F), ⇑(-f) = -⇑f
theorem FunLike.coe_inv E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Inv F] [inst_2 : Inv β] [IsInvApply F]
(f : F), ⇑f⁻¹ = (⇑f)⁻¹
theorem FunLike.coe_pow E0 #
∀ {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : Pow F M]
[inst_2 : Pow β M] [IsPowApply M F] (f : F) (n : M), ⇑(f ^ n) = ⇑f ^ n
theorem FunLike.coe_smul E0 #
∀ {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : SMul M F]
[inst_2 : SMul M β] [IsSMulApply M F] (n : M) (f : F), ⇑(n • f) = n • ⇑f
theorem FunLike.coe_vadd E0 #
∀ {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : VAdd M F]
[inst_2 : VAdd M β] [IsVAddApply M F] (n : M) (f : F), ⇑(n +ᵥ f) = n +ᵥ ⇑f
theorem FunLike.coe_one_eq_id E0 #
∀ {F' : Type u_3} {α : Type u_4} [inst : FunLike F' α α] [inst_1 : One F'] [IsOneApplyEqSelf F'], ⇑1 = id
theorem FunLike.coe_one_eq_id_iff E0 #
∀ {F' : Type u_3} {α : Type u_4} [inst : FunLike F' α α] [inst_1 : One F'] [IsOneApplyEqSelf F'] (f : F'),
⇑f = id ↔ f = 1
theorem FunLike.coe_mul_eq_comp E0 #
∀ {F' : Type u_3} {α : Type u_4} [inst : FunLike F' α α] [inst_1 : Mul F'] [IsMulApplyEqComp F'] (f g : F'),
⇑(f * g) = ⇑f ∘ ⇑g
theorem FunLike.coe_natCast E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : NatCast F] [inst_2 : NatCast β]
[IsNatCastApply F] (n : ℕ), ⇑↑n = ↑n
theorem FunLike.coe_intCast E0 #
∀ {F : Type u_2} {α : Type u_4} {β : Type u_5} [inst : FunLike F α β] [inst_1 : IntCast F] [inst_2 : IntCast β]
[IsIntCastApply F] (n : ℤ), ⇑↑n = ↑n
theorem FunLike.natCast_eq_nsmul_one E1 #
∀ {F' : Type u_3} {α : Type u_4} [inst : FunLike F' α α] [inst_1 : NatCast F'] [inst_2 : One F'] [inst_3 : SMul ℕ α]
[inst_4 : SMul ℕ F'] [IsSMulApply ℕ F'] [IsNatCastApplyEqSMul F'] [IsOneApplyEqSelf F'] (n : ℕ), ↑n = n • 1
theorem FunLike.intCast_eq_zsmul_one E1 #
∀ {F' : Type u_3} {α : Type u_4} [inst : FunLike F' α α] [inst_1 : IntCast F'] [inst_2 : One F'] [inst_3 : SMul ℤ α]
[inst_4 : SMul ℤ F'] [IsSMulApply ℤ F'] [IsIntCastApplyEqSMul F'] [IsOneApplyEqSelf F'] (n : ℤ), ↑n = n • 1
Deprecated aliases
| Name | New name | Since |
|---|---|---|
FunLike.coe_smul' | FunLike.coe_smul | 2026-07-23 |