statement stringlengths 5 2.94k | proof stringlengths 0 21k | metadata dict | source stringclasses 1
value | name stringlengths 2 131 | module stringlengths 15 90 | account stringclasses 0
values |
|---|---|---|---|---|---|---|
structure AddConstMap (G H : Type*) [Add G] [Add H] (a : G) (b : H) where
/-- The underlying function of an `AddConstMap`.
Use automatic coercion to function instead. -/
protected toFun : G → H
/-- An `AddConstMap` satisfies `f (x + a) = f x + b`. Use `map_add_const` instead. -/
map_add_const' (x : G) : toFun... | {
"labels": []
} | mathlib | AddConstMap | Mathlib.Algebra.AddConstMap.Basic | null | |
class AddConstMapClass (F : Type*) (G H : outParam Type*) [Add G] [Add H]
(a : outParam G) (b : outParam H) [FunLike F G H] : Prop where
/-- A map of `AddConstMapClass` class semiconjugates shift by `a` to the shift by `b`:
`∀ x, f (x + a) = f x + b`. -/
map_add_const (f : F) (x : G) : f (x + a) = f x + b | {
"labels": []
} | mathlib | AddConstMapClass | Mathlib.Algebra.AddConstMap.Basic | null | |
theorem semiconj [Add G] [Add H] [AddConstMapClass F G H a b] (f : F) :
Semiconj f (· + a) (· + b) | map_add_const f | {
"labels": []
} | mathlib | AddConstMapClass.semiconj | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_nsmul [AddMonoid G] [AddMonoid H] [AddConstMapClass F G H a b]
(f : F) (x : G) (n : ℕ) : f (x + n • a) = f x + n • b | by
simpa using (AddConstMapClass.semiconj f).iterate_right n x | {
"labels": []
} | mathlib | AddConstMapClass.map_add_nsmul | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_nat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℕ) : f (x + n) = f x + n • b | by simp [← map_add_nsmul] | {
"labels": []
} | mathlib | AddConstMapClass.map_add_nat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_one [AddMonoidWithOne G] [Add H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) : f (x + 1) = f x + b | map_add_const f x | {
"labels": []
} | mathlib | AddConstMapClass.map_add_one | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_ofNat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
f (x + ofNat(n)) = f x + (ofNat(n) : ℕ) • b | map_add_nat' f x n | {
"labels": []
} | mathlib | AddConstMapClass.map_add_ofNat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_nat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (x : G) (n : ℕ) : f (x + n) = f x + n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_add_nat | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_ofNat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
f (x + ofNat(n)) = f x + ofNat(n) | map_add_nat f x n | {
"labels": []
} | mathlib | AddConstMapClass.map_add_ofNat | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_const [AddZeroClass G] [Add H] [AddConstMapClass F G H a b] (f : F) :
f a = f 0 + b | by
simpa using map_add_const f 0 | {
"labels": []
} | mathlib | AddConstMapClass.map_const | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_one [AddZeroClass G] [One G] [Add H] [AddConstMapClass F G H 1 b] (f : F) :
f 1 = f 0 + b | map_const f | {
"labels": []
} | mathlib | AddConstMapClass.map_one | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nsmul_const [AddMonoid G] [AddMonoid H] [AddConstMapClass F G H a b]
(f : F) (n : ℕ) : f (n • a) = f 0 + n • b | by
simpa using map_add_nsmul f 0 n | {
"labels": []
} | mathlib | AddConstMapClass.map_nsmul_const | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (n : ℕ) : f n = f 0 + n • b | by
simpa using map_add_nat' f 0 n | {
"labels": []
} | mathlib | AddConstMapClass.map_nat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_ofNat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (n : ℕ) [n.AtLeastTwo] :
f (ofNat(n)) = f 0 + (ofNat(n) : ℕ) • b | map_nat' f n | {
"labels": []
} | mathlib | AddConstMapClass.map_ofNat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (n : ℕ) : f n = f 0 + n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_nat | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_ofNat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (n : ℕ) [n.AtLeastTwo] :
f ofNat(n) = f 0 + ofNat(n) | map_nat f n | {
"labels": []
} | mathlib | AddConstMapClass.map_ofNat | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_const_add [AddCommMagma G] [Add H] [AddConstMapClass F G H a b]
(f : F) (x : G) : f (a + x) = f x + b | by
rw [add_comm, map_add_const] | {
"labels": []
} | mathlib | AddConstMapClass.map_const_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_one_add [AddCommMonoidWithOne G] [Add H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) : f (1 + x) = f x + b | map_const_add f x | {
"labels": []
} | mathlib | AddConstMapClass.map_one_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nsmul_add [AddCommMonoid G] [AddMonoid H] [AddConstMapClass F G H a b]
(f : F) (n : ℕ) (x : G) : f (n • a + x) = f x + n • b | by
rw [add_comm, map_add_nsmul] | {
"labels": []
} | mathlib | AddConstMapClass.map_nsmul_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nat_add' [AddCommMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (n : ℕ) (x : G) : f (↑n + x) = f x + n • b | by
simpa using map_nsmul_add f n x | {
"labels": []
} | mathlib | AddConstMapClass.map_nat_add' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_ofNat_add' [AddCommMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
(f : F) (n : ℕ) [n.AtLeastTwo] (x : G) :
f (ofNat(n) + x) = f x + ofNat(n) • b | map_nat_add' f n x | {
"labels": []
} | mathlib | AddConstMapClass.map_ofNat_add' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_nat_add [AddCommMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (n : ℕ) (x : G) : f (↑n + x) = f x + n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_nat_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_ofNat_add [AddCommMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (n : ℕ) [n.AtLeastTwo] (x : G) :
f (ofNat(n) + x) = f x + ofNat(n) | map_nat_add f n x | {
"labels": []
} | mathlib | AddConstMapClass.map_ofNat_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_nsmul [AddGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (x : G) (n : ℕ) : f (x - n • a) = f x - n • b | by
conv_rhs => rw [← sub_add_cancel x (n • a), map_add_nsmul, add_sub_cancel_right] | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_nsmul | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_const [AddGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (x : G) : f (x - a) = f x - b | by
simpa using map_sub_nsmul f x 1 | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_const | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_one [AddGroup G] [One G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) : f (x - 1) = f x - b | map_sub_const f x | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_one | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_nat' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℕ) : f (x - n) = f x - n • b | by
simpa using map_sub_nsmul f x n | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_nat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_ofNat' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
f (x - ofNat(n)) = f x - ofNat(n) • b | map_sub_nat' f x n | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_ofNat' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_zsmul [AddGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (x : G) : ∀ n : ℤ, f (x + n • a) = f x + n • b
| (n : ℕ) => by simp
| .negSucc n => by simp [← sub_eq_add_neg] | {
"labels": []
} | mathlib | AddConstMapClass.map_add_zsmul | Mathlib.Algebra.AddConstMap.Basic | null | |
theorem map_zsmul_const [AddGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (n : ℤ) : f (n • a) = f 0 + n • b | by
simpa using map_add_zsmul f 0 n | {
"labels": []
} | mathlib | AddConstMapClass.map_zsmul_const | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_int' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℤ) : f (x + n) = f x + n • b | by
rw [← map_add_zsmul f x n, zsmul_one] | {
"labels": []
} | mathlib | AddConstMapClass.map_add_int' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_add_int [AddGroupWithOne G] [AddGroupWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (x : G) (n : ℤ) : f (x + n) = f x + n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_add_int | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_zsmul [AddGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (x : G) (n : ℤ) : f (x - n • a) = f x - n • b | by
simpa [sub_eq_add_neg] using map_add_zsmul f x (-n) | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_zsmul | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_int' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (x : G) (n : ℤ) : f (x - n) = f x - n • b | by
rw [← map_sub_zsmul, zsmul_one] | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_int' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_sub_int [AddGroupWithOne G] [AddGroupWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (x : G) (n : ℤ) : f (x - n) = f x - n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_sub_int | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_zsmul_add [AddCommGroup G] [AddGroup H] [AddConstMapClass F G H a b]
(f : F) (n : ℤ) (x : G) : f (n • a + x) = f x + n • b | by
rw [add_comm, map_add_zsmul] | {
"labels": []
} | mathlib | AddConstMapClass.map_zsmul_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_int_add' [AddCommGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
(f : F) (n : ℤ) (x : G) : f (↑n + x) = f x + n • b | by
rw [← map_zsmul_add, zsmul_one] | {
"labels": []
} | mathlib | AddConstMapClass.map_int_add' | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_int_add [AddCommGroupWithOne G] [AddGroupWithOne H] [AddConstMapClass F G H 1 1]
(f : F) (n : ℤ) (x : G) : f (↑n + x) = f x + n | by simp | {
"labels": []
} | mathlib | AddConstMapClass.map_int_add | Mathlib.Algebra.AddConstMap.Basic | null |
theorem map_fract {R : Type*} [Ring R] [LinearOrder R] [FloorRing R] [AddGroup H]
[FunLike F R H] [AddConstMapClass F R H 1 b] (f : F) (x : R) :
f (Int.fract x) = f x - ⌊x⌋ • b | map_sub_int' .. | {
"labels": []
} | mathlib | AddConstMapClass.map_fract | Mathlib.Algebra.AddConstMap.Basic | null |
theorem rel_map_of_Icc [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G]
[Archimedean G] [AddGroup H]
[AddConstMapClass F G H a b] {f : F} {R : H → H → Prop} [IsTrans H R]
[hR : CovariantClass H H (fun x y ↦ y + x) R] (ha : 0 < a) {l : G}
(hf : ∀ x ∈ Icc l (l + a), ∀ y ∈ Icc l (l + a), x < y → R (... | fun x y hxy ↦ by
replace hR := hR.elim
have ha' : 0 ≤ a := ha.le
-- Shift both points by `m • a` so that `l ≤ x < l + a`
wlog hx : x ∈ Ico l (l + a) generalizing x y
· rcases existsUnique_sub_zsmul_mem_Ico ha x l with ⟨m, hm, -⟩
suffices R (f (x - m • a)) (f (y - m • a)) by simpa using hR (m • b) this
... | {
"labels": []
} | mathlib | AddConstMapClass.rel_map_of_Icc | Mathlib.Algebra.AddConstMap.Basic | null |
theorem monotone_iff_Icc [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G]
[AddCommGroup H] [PartialOrder H] [IsOrderedAddMonoid H]
[AddConstMapClass F G H a b] {f : F} (ha : 0 < a) (l : G) :
Monotone f ↔ MonotoneOn f (Icc l (l + a)) | ⟨(Monotone.monotoneOn · _), fun hf ↦ monotone_iff_forall_lt.2 <|
AddConstMapClass.rel_map_of_Icc ha fun _x hx _y hy hxy ↦ hf hx hy hxy.le⟩ | {
"labels": []
} | mathlib | AddConstMapClass.monotone_iff_Icc | Mathlib.Algebra.AddConstMap.Basic | null |
theorem antitone_iff_Icc [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G]
[AddCommGroup H] [PartialOrder H] [IsOrderedAddMonoid H]
[AddConstMapClass F G H a b] {f : F} (ha : 0 < a) (l : G) :
Antitone f ↔ AntitoneOn f (Icc l (l + a)) | monotone_iff_Icc (H := Hᵒᵈ) ha l | {
"labels": []
} | mathlib | AddConstMapClass.antitone_iff_Icc | Mathlib.Algebra.AddConstMap.Basic | null |
theorem strictMono_iff_Icc [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G]
[AddCommGroup H] [PartialOrder H] [IsOrderedAddMonoid H]
[AddConstMapClass F G H a b] {f : F} (ha : 0 < a) (l : G) :
StrictMono f ↔ StrictMonoOn f (Icc l (l + a)) | ⟨(StrictMono.strictMonoOn · _), AddConstMapClass.rel_map_of_Icc ha⟩ | {
"labels": []
} | mathlib | AddConstMapClass.strictMono_iff_Icc | Mathlib.Algebra.AddConstMap.Basic | null |
theorem strictAnti_iff_Icc [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G]
[AddCommGroup H] [PartialOrder H] [IsOrderedAddMonoid H]
[AddConstMapClass F G H a b] {f : F} (ha : 0 < a) (l : G) :
StrictAnti f ↔ StrictAntiOn f (Icc l (l + a)) | strictMono_iff_Icc (H := Hᵒᵈ) ha l | {
"labels": []
} | mathlib | AddConstMapClass.strictAnti_iff_Icc | Mathlib.Algebra.AddConstMap.Basic | null |
theorem coe_mk (f : G → H) (hf) : ⇑(mk f hf : G →+c[a, b] H) = f | rfl | {
"labels": []
} | mathlib | AddConstMap.coe_mk | Mathlib.Algebra.AddConstMap.Basic | null |
theorem mk_coe (f : G →+c[a, b] H) : mk f f.map_add_const' = f | rfl | {
"labels": []
} | mathlib | AddConstMap.mk_coe | Mathlib.Algebra.AddConstMap.Basic | null |
theorem toFun_eq_coe (f : G →+c[a, b] H) : f.toFun = f | rfl | {
"labels": []
} | mathlib | AddConstMap.toFun_eq_coe | Mathlib.Algebra.AddConstMap.Basic | null |
theorem ext {f g : G →+c[a, b] H} (h : ∀ x, f x = g x) : f = g | DFunLike.ext _ _ h | {
"labels": []
} | mathlib | AddConstMap.ext | Mathlib.Algebra.AddConstMap.Basic | null |
def id : G →+c[a, a] G | ⟨id, fun _ ↦ rfl⟩ | {
"labels": []
} | mathlib | AddConstMap.id | Mathlib.Algebra.AddConstMap.Basic | null |
def comp {K : Type*} [Add K] {c : K} (g : H →+c[b, c] K) (f : G →+c[a, b] H) :
G →+c[a, c] K | ⟨g ∘ f, by simp⟩ | {
"labels": []
} | mathlib | AddConstMap.comp | Mathlib.Algebra.AddConstMap.Basic | null |
theorem comp_id (f : G →+c[a, b] H) : f.comp .id = f | rfl | {
"labels": []
} | mathlib | AddConstMap.comp_id | Mathlib.Algebra.AddConstMap.Basic | null |
theorem id_comp (f : G →+c[a, b] H) : .comp .id f = f | rfl | {
"labels": []
} | mathlib | AddConstMap.id_comp | Mathlib.Algebra.AddConstMap.Basic | null |
def replaceConsts (f : G →+c[a, b] H) (a' b') (ha : a = a') (hb : b = b') :
G →+c[a', b'] H where
toFun | f
map_add_const' := ha ▸ hb ▸ f.map_add_const' | {
"labels": []
} | mathlib | AddConstMap.replaceConsts | Mathlib.Algebra.AddConstMap.Basic | null |
theorem coe_vadd {K : Type*} [VAdd K H] [VAddAssocClass K H H] (c : K) (f : G →+c[a, b] H) :
⇑(c +ᵥ f) = c +ᵥ ⇑f | rfl | {
"labels": []
} | mathlib | AddConstMap.coe_vadd | Mathlib.Algebra.AddConstMap.Basic | null |
theorem mul_def (f g : G →+c[a, a] G) : f * g = f.comp g | rfl | {
"labels": []
} | mathlib | AddConstMap.mul_def | Mathlib.Algebra.AddConstMap.Basic | null |
theorem coe_mul (f g : G →+c[a, a] G) : ⇑(f * g) = f ∘ g | rfl | {
"labels": []
} | mathlib | AddConstMap.coe_mul | Mathlib.Algebra.AddConstMap.Basic | null |
theorem one_def : (1 : G →+c[a, a] G) = .id | rfl | {
"labels": []
} | mathlib | AddConstMap.one_def | Mathlib.Algebra.AddConstMap.Basic | null |
theorem coe_one : ⇑(1 : G →+c[a, a] G) = id | rfl | {
"labels": []
} | mathlib | AddConstMap.coe_one | Mathlib.Algebra.AddConstMap.Basic | null |
theorem coe_pow (f : G →+c[a, a] G) (n : ℕ) : ⇑(f ^ n) = f^[n] | rfl | {
"labels": []
} | mathlib | AddConstMap.coe_pow | Mathlib.Algebra.AddConstMap.Basic | null |
theorem pow_apply (f : G →+c[a, a] G) (n : ℕ) (x : G) : (f ^ n) x = f^[n] x | rfl | {
"labels": []
} | mathlib | AddConstMap.pow_apply | Mathlib.Algebra.AddConstMap.Basic | null |
def toEnd : (G →+c[a, a] G) →* Function.End G where
toFun | DFunLike.coe
map_mul' _ _ := rfl
map_one' := rfl | {
"labels": []
} | mathlib | AddConstMap.toEnd | Mathlib.Algebra.AddConstMap.Basic | null |
def smul [DistribSMul K H] (c : K) (f : G →+c[a, b] H) : G →+c[a, c • b] H where
toFun | c • ⇑f
map_add_const' x := by simp [smul_add] | {
"labels": []
} | mathlib | AddConstMap.smul | Mathlib.Algebra.AddConstMap.Basic | null |
def addLeftHom : Multiplicative G →* (G →+c[a, a] G) where
toFun c | c.toAdd +ᵥ .id
map_one' := by ext; apply zero_add
map_mul' _ _ := by ext; apply add_assoc | {
"labels": []
} | mathlib | AddConstMap.addLeftHom | Mathlib.Algebra.AddConstMap.Basic | null |
def conjNeg : (G →+c[a, b] H) ≃ (G →+c[a, b] H) | Involutive.toPerm (fun f ↦ ⟨fun x ↦ - f (-x), fun _ ↦ by simp [neg_add_eq_sub]⟩) fun _ ↦
AddConstMap.ext fun _ ↦ by simp | {
"labels": []
} | mathlib | AddConstMap.conjNeg | Mathlib.Algebra.AddConstMap.Basic | null |
theorem conjNeg_symm : (conjNeg (a := a) (b := b)).symm = conjNeg | rfl | {
"labels": []
} | mathlib | AddConstMap.conjNeg_symm | Mathlib.Algebra.AddConstMap.Basic | null |
def mkFract : (Ico (0 : R) 1 → G) ≃ (R →+c[1, a] G) where
toFun f | ⟨fun x ↦ f ⟨Int.fract x, Int.fract_nonneg _, Int.fract_lt_one _⟩ + ⌊x⌋ • a, fun x ↦ by
simp [add_one_zsmul, add_assoc]⟩
invFun f x := f x
left_inv _ := by ext x; simp [Int.fract_eq_self.2 x.2, Int.floor_eq_zero_iff.2 x.2]
right_inv f := by ext x; simp [map_fract] | {
"labels": []
} | mathlib | AddConstMap.mkFract | Mathlib.Algebra.AddConstMap.Basic | null |
structure AddConstEquiv (G H : Type*) [Add G] [Add H] (a : G) (b : H)
extends G ≃ H, G →+c[a, b] H | {
"labels": []
} | mathlib | AddConstEquiv | Mathlib.Algebra.AddConstMap.Equiv | null | |
lemma toEquiv_injective : Injective (toEquiv : (G ≃+c[a, b] H) → G ≃ H)
| ⟨_, _⟩, ⟨_, _⟩, rfl => rfl | {
"labels": []
} | mathlib | AddConstEquiv.toEquiv_injective | Mathlib.Algebra.AddConstMap.Equiv | null | |
lemma ext {e₁ e₂ : G ≃+c[a, b] H} (h : ∀ x, e₁ x = e₂ x) : e₁ = e₂ | DFunLike.ext _ _ h | {
"labels": []
} | mathlib | AddConstEquiv.ext | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma toEquiv_inj {e₁ e₂ : G ≃+c[a, b] H} : e₁.toEquiv = e₂.toEquiv ↔ e₁ = e₂ | toEquiv_injective.eq_iff | {
"labels": []
} | mathlib | AddConstEquiv.toEquiv_inj | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma coe_toEquiv (e : G ≃+c[a, b] H) : ⇑e.toEquiv = e | rfl | {
"labels": []
} | mathlib | AddConstEquiv.coe_toEquiv | Mathlib.Algebra.AddConstMap.Equiv | null |
def symm (e : G ≃+c[a, b] H) : H ≃+c[b, a] G where
toEquiv | e.toEquiv.symm
map_add_const' := (AddConstMapClass.semiconj e).inverse_left e.left_inv e.right_inv | {
"labels": []
} | mathlib | AddConstEquiv.symm | Mathlib.Algebra.AddConstMap.Equiv | null |
def Simps.symm_apply (e : G ≃+c[a, b] H) : H → G | e.symm | {
"labels": []
} | mathlib | AddConstEquiv.Simps.symm_apply | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma symm_symm (e : G ≃+c[a, b] H) : e.symm.symm = e | rfl | {
"labels": []
} | mathlib | AddConstEquiv.symm_symm | Mathlib.Algebra.AddConstMap.Equiv | null |
theorem symm_apply_eq (e : G ≃+c[a, b] H) {a b} :
e.symm a = b ↔ a = e b | e.toEquiv.symm_apply_eq | {
"labels": []
} | mathlib | AddConstEquiv.symm_apply_eq | Mathlib.Algebra.AddConstMap.Equiv | null |
theorem eq_symm_apply (e : G ≃+c[a, b] H) {a b} :
b = e.symm a ↔ e b = a | e.toEquiv.eq_symm_apply | {
"labels": []
} | mathlib | AddConstEquiv.eq_symm_apply | Mathlib.Algebra.AddConstMap.Equiv | null |
theorem apply_symm_apply (e : G ≃+c[a, b] H) (a) :
e (e.symm a) = a | e.toEquiv.apply_symm_apply _ | {
"labels": []
} | mathlib | AddConstEquiv.apply_symm_apply | Mathlib.Algebra.AddConstMap.Equiv | null |
theorem symm_apply_apply (e : G ≃+c[a, b] H) (a) :
e.symm (e a) = a | e.toEquiv.symm_apply_apply _ | {
"labels": []
} | mathlib | AddConstEquiv.symm_apply_apply | Mathlib.Algebra.AddConstMap.Equiv | null |
def refl (a : G) : G ≃+c[a, a] G where
toEquiv | .refl G
map_add_const' _ := rfl | {
"labels": []
} | mathlib | AddConstEquiv.refl | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma symm_refl (a : G) : (refl a).symm = refl a | rfl | {
"labels": []
} | mathlib | AddConstEquiv.symm_refl | Mathlib.Algebra.AddConstMap.Equiv | null |
def trans (e₁ : G ≃+c[a, b] H) (e₂ : H ≃+c[b, c] K) : G ≃+c[a, c] K where
toEquiv | e₁.toEquiv.trans e₂.toEquiv
map_add_const' := (AddConstMapClass.semiconj e₁).trans (AddConstMapClass.semiconj e₂) | {
"labels": []
} | mathlib | AddConstEquiv.trans | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma trans_refl (e : G ≃+c[a, b] H) : e.trans (.refl b) = e | rfl | {
"labels": []
} | mathlib | AddConstEquiv.trans_refl | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma refl_trans (e : G ≃+c[a, b] H) : (refl a).trans e = e | rfl | {
"labels": []
} | mathlib | AddConstEquiv.refl_trans | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma self_trans_symm (e : G ≃+c[a, b] H) : e.trans e.symm = .refl a | toEquiv_injective e.toEquiv.self_trans_symm | {
"labels": []
} | mathlib | AddConstEquiv.self_trans_symm | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma symm_trans_self (e : G ≃+c[a, b] H) : e.symm.trans e = .refl b | toEquiv_injective e.toEquiv.symm_trans_self | {
"labels": []
} | mathlib | AddConstEquiv.symm_trans_self | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma coe_symm_toEquiv (e : G ≃+c[a, b] H) : ⇑e.toEquiv.symm = e.symm | rfl | {
"labels": []
} | mathlib | AddConstEquiv.coe_symm_toEquiv | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma toEquiv_symm (e : G ≃+c[a, b] H) : e.symm.toEquiv = e.toEquiv.symm | rfl | {
"labels": []
} | mathlib | AddConstEquiv.toEquiv_symm | Mathlib.Algebra.AddConstMap.Equiv | null |
lemma toEquiv_trans (e₁ : G ≃+c[a, b] H) (e₂ : H ≃+c[b, c] K) :
(e₁.trans e₂).toEquiv = e₁.toEquiv.trans e₂.toEquiv | rfl | {
"labels": []
} | mathlib | AddConstEquiv.toEquiv_trans | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instOne : One (G ≃+c[a, a] G) | ⟨.refl _⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instOne | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instMul : Mul (G ≃+c[a, a] G) | ⟨fun f g ↦ g.trans f⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instMul | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instInv : Inv (G ≃+c[a, a] G) | ⟨.symm⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instInv | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instDiv : Div (G ≃+c[a, a] G) | ⟨fun f g ↦ f * g⁻¹⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instDiv | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instPowNat : Pow (G ≃+c[a, a] G) ℕ where
pow e n | ⟨e^n, (e.toAddConstMap^n).map_add_const'⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instPowNat | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instPowInt : Pow (G ≃+c[a, a] G) ℤ where
pow e n | ⟨e^n,
match n with
| .ofNat n => (e^n).map_add_const'
| .negSucc n => (e.symm^(n + 1)).map_add_const'⟩ | {
"labels": []
} | mathlib | AddConstEquiv.instPowInt | Mathlib.Algebra.AddConstMap.Equiv | null |
instance instGroup : Group (G ≃+c[a, a] G) | toEquiv_injective.group _ rfl (fun _ _ ↦ rfl) (fun _ ↦ rfl) (fun _ _ ↦ rfl) (fun _ _ ↦ rfl)
fun _ _ ↦ rfl | {
"labels": []
} | mathlib | AddConstEquiv.instGroup | Mathlib.Algebra.AddConstMap.Equiv | null |
def toPerm : (G ≃+c[a, a] G) →* Equiv.Perm G | .mk' toEquiv fun _ _ ↦ rfl | {
"labels": []
} | mathlib | AddConstEquiv.toPerm | Mathlib.Algebra.AddConstMap.Equiv | null |
def toAddConstMapHom : (G ≃+c[a, a] G) →* (G →+c[a, a] G) where
toFun | toAddConstMap
map_mul' _ _ := rfl
map_one' := rfl | {
"labels": []
} | mathlib | AddConstEquiv.toAddConstMapHom | Mathlib.Algebra.AddConstMap.Equiv | null |
def equivUnits : (G ≃+c[a, a] G) ≃* (G →+c[a, a] G)ˣ where
toFun | toAddConstMapHom.toHomUnits
invFun u :=
{ toEquiv := Equiv.Perm.equivUnitsEnd.symm <| Units.map AddConstMap.toEnd u
map_add_const' := u.val.map_add_const' }
map_mul' _ _ := rfl | {
"labels": []
} | mathlib | AddConstEquiv.equivUnits | Mathlib.Algebra.AddConstMap.Equiv | null |
class abbrev IsAffineAddMonoid (M : Type*) [AddCommMonoid M] : Prop | IsCancelAdd M, AddMonoid.FG M, HasUniqueDiv M | {
"labels": []
} | mathlib | IsAffineAddMonoid | Mathlib.Algebra.AffineMonoid.Basic | null |
class abbrev IsAffineMonoid (M : Type*) [CommMonoid M] : Prop | IsCancelMul M, Monoid.FG M, HasUniqueRoots M | {
"labels": []
} | mathlib | IsAffineMonoid | Mathlib.Algebra.AffineMonoid.Basic | null |
End of preview. Expand in Data Studio
seele source
One row per named declaration of Mathlib v4.36.0, the source mathlib of
seele search: name, statement (the declaration's text up to its first :=),
proof (the rest), module (the Mathlib module that declares it), source (mathlib)
and metadata (an object whose labels, a list of strings, is empty). 243523 rows.
Made by scripts/seele_source.py of seele.
- Downloads last month
- 32