Mathlib.Algebra.Torsor.Basic
71 declarations. Mathlib docs · Source
theorem Set.singleton_sdiv_self E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] (p : P), {p} /ₛ {p} = {1}
theorem Set.singleton_vsub_self E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] (p : P), {p} -ᵥ {p} = {0}
theorem Set.one_mem_sdiv_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {s t : Set P}, 1 ∈ s /ₛ t ↔ ¬Disjoint s t
theorem Set.zero_mem_vsub_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {s t : Set P}, 0 ∈ s -ᵥ t ↔ ¬Disjoint s t
theorem Set.Nonempty.one_mem_sdiv_self E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {s : Set P}, s.Nonempty → 1 ∈ s /ₛ s
theorem Set.Nonempty.zero_mem_vsub_self E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {s : Set P}, s.Nonempty → 0 ∈ s -ᵥ s
theorem sdiv_left_cancel E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {p₁ p₂ p : P}, p₁ /ₛ p = p₂ /ₛ p → p₁ = p₂
If dividing two points by the same point produces equal results, those points are equal.
theorem vsub_left_cancel E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {p₁ p₂ p : P}, p₁ -ᵥ p = p₂ -ᵥ p → p₁ = p₂
If the same point subtracted from two points produces equal results, those points are equal.
theorem sdiv_left_cancel_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {p₁ p₂ p : P}, p₁ /ₛ p = p₂ /ₛ p ↔ p₁ = p₂
Dividing two points by the same point produces equal results if and only if those points are equal.
theorem vsub_left_cancel_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {p₁ p₂ p : P}, p₁ -ᵥ p = p₂ -ᵥ p ↔ p₁ = p₂
The same point subtracted from two points produces equal results if and only if those points are equal.
theorem sdiv_left_injective E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] (p : P), Function.Injective fun x ↦ x /ₛ p
Dividing by the point p is an injective function.
theorem vsub_left_injective E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] (p : P), Function.Injective fun x ↦ x -ᵥ p
Subtracting the point p is an injective function.
theorem sdiv_right_cancel E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {p₁ p₂ p : P}, p /ₛ p₁ = p /ₛ p₂ → p₁ = p₂
If dividing the same point by two points produces equal results, those points are equal.
theorem vsub_right_cancel E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {p₁ p₂ p : P}, p -ᵥ p₁ = p -ᵥ p₂ → p₁ = p₂
If subtracting two points from the same point produces equal results, those points are equal.
theorem sdiv_right_cancel_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] {p₁ p₂ p : P}, p /ₛ p₁ = p /ₛ p₂ ↔ p₁ = p₂
Subtracting two points from the same point produces equal results if and only if those points are equal.
theorem vsub_right_cancel_iff E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] {p₁ p₂ p : P}, p -ᵥ p₁ = p -ᵥ p₂ ↔ p₁ = p₂
theorem sdiv_right_injective E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : Group G] [T : Torsor G P] (p : P), Function.Injective fun x ↦ p /ₛ x
Dividing the point p by other points is an injective function.
theorem vsub_right_injective E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddGroup G] [T : AddTorsor G P] (p : P), Function.Injective fun x ↦ p -ᵥ x
Subtracting a point from the point p is an injective function.
theorem sdiv_div_sdiv_cancel_left E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (p₁ p₂ p₃ : P),
(p₃ /ₛ p₂) / (p₃ /ₛ p₁) = p₁ /ₛ p₂
Cancellation dividing the results of two divisions.
theorem vsub_sub_vsub_cancel_left E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (p₁ p₂ p₃ : P),
p₃ -ᵥ p₂ - (p₃ -ᵥ p₁) = p₁ -ᵥ p₂
Cancellation subtracting the results of two subtractions.
theorem smul_sdiv_smul_cancel_left E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (v : G) (p₁ p₂ : P),
v • p₁ /ₛ v • p₂ = p₁ /ₛ p₂
theorem vadd_vsub_vadd_cancel_left E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (v : G) (p₁ p₂ : P),
(v +ᵥ p₁) -ᵥ (v +ᵥ p₂) = p₁ -ᵥ p₂
theorem vadd_vsub_vadd_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (v₁ v₂ : G) (p₁ p₂ : P),
(v₁ +ᵥ p₁) -ᵥ (v₂ +ᵥ p₂) = v₁ - v₂ + (p₁ -ᵥ p₂)
theorem smul_sdiv_smul_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (v₁ v₂ : G) (p₁ p₂ : P),
v₁ • p₁ /ₛ v₂ • p₂ = v₁ / v₂ * (p₁ /ₛ p₂)
theorem sub_add_vsub_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (v₁ v₂ : G) (p₁ p₂ : P),
v₁ - v₂ + (p₁ -ᵥ p₂) = (v₁ +ᵥ p₁) -ᵥ (v₂ +ᵥ p₂)
theorem div_mul_sdiv_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (v₁ v₂ : G) (p₁ p₂ : P),
v₁ / v₂ * (p₁ /ₛ p₂) = v₁ • p₁ /ₛ v₂ • p₂
theorem vsub_vadd_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (p₁ p₂ p₃ : P),
(p₁ -ᵥ p₂) +ᵥ p₃ = (p₃ -ᵥ p₂) +ᵥ p₁
theorem sdiv_smul_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (p₁ p₂ p₃ : P),
(p₁ /ₛ p₂) • p₃ = (p₃ /ₛ p₂) • p₁
theorem vadd_eq_vadd_iff_sub_eq_vsub E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] {v₁ v₂ : G} {p₁ p₂ : P},
v₁ +ᵥ p₁ = v₂ +ᵥ p₂ ↔ v₂ - v₁ = p₁ -ᵥ p₂
theorem smul_eq_smul_iff_div_eq_sdiv E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] {v₁ v₂ : G} {p₁ p₂ : P},
v₁ • p₁ = v₂ • p₂ ↔ v₂ / v₁ = p₁ /ₛ p₂
theorem sdiv_div_sdiv_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (p₁ p₂ p₃ p₄ : P),
(p₁ /ₛ p₂) / (p₃ /ₛ p₄) = (p₁ /ₛ p₃) / (p₂ /ₛ p₄)
theorem vsub_sub_vsub_comm E1 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (p₁ p₂ p₃ p₄ : P),
p₁ -ᵥ p₂ - (p₃ -ᵥ p₄) = p₁ -ᵥ p₃ - (p₂ -ᵥ p₄)
theorem Set.vadd_set_vsub_vadd_set E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : AddCommGroup G] [inst_1 : AddTorsor G P] (v : G) (s t : Set P),
(v +ᵥ s) -ᵥ (v +ᵥ t) = s -ᵥ t
theorem Set.smul_set_sdiv_smul_set E0 #
∀ {G : Type u_1} {P : Type u_2} [inst : CommGroup G] [inst_1 : Torsor G P] (v : G) (s t : Set P),
v • s /ₛ v • t = s /ₛ t
instance Prod.instAddTorsor E0 #
{G : Type u_1} →
{G' : Type u_2} →
{P : Type u_3} →
{P' : Type u_4} →
[inst : AddGroup G] → [inst_1 : AddGroup G'] → [AddTorsor G P] → [AddTorsor G' P'] → AddTorsor (G × G') (P × P')
instance Prod.instTorsor E0 #
{G : Type u_1} →
{G' : Type u_2} →
{P : Type u_3} →
{P' : Type u_4} →
[inst : Group G] → [inst_1 : Group G'] → [Torsor G P] → [Torsor G' P'] → Torsor (G × G') (P × P')
theorem Prod.fst_smul E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (v : G × G') (p : P × P'), (v • p).1 = v.1 • p.1
theorem Prod.fst_vadd E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (v : G × G') (p : P × P'), (v +ᵥ p).1 = v.1 +ᵥ p.1
theorem Prod.snd_smul E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (v : G × G') (p : P × P'), (v • p).2 = v.2 • p.2
theorem Prod.snd_vadd E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (v : G × G') (p : P × P'), (v +ᵥ p).2 = v.2 +ᵥ p.2
theorem Prod.mk_vadd_mk E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (v : G) (v' : G') (p : P) (p' : P'),
(v, v') +ᵥ (p, p') = (v +ᵥ p, v' +ᵥ p')
theorem Prod.mk_smul_mk E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (v : G) (v' : G') (p : P) (p' : P'),
(v, v') • (p, p') = (v • p, v' • p')
theorem Prod.fst_vsub E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (p₁ p₂ : P × P'), (p₁ -ᵥ p₂).1 = p₁.1 -ᵥ p₂.1
theorem Prod.fst_sdiv E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (p₁ p₂ : P × P'), (p₁ /ₛ p₂).1 = p₁.1 /ₛ p₂.1
theorem Prod.snd_sdiv E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (p₁ p₂ : P × P'), (p₁ /ₛ p₂).2 = p₁.2 /ₛ p₂.2
theorem Prod.snd_vsub E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (p₁ p₂ : P × P'), (p₁ -ᵥ p₂).2 = p₁.2 -ᵥ p₂.2
theorem Prod.mk_vsub_mk E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (p₁ p₂ : P) (p₁' p₂' : P'),
(p₁, p₁') -ᵥ (p₂, p₂') = (p₁ -ᵥ p₂, p₁' -ᵥ p₂')
theorem Prod.mk_sdiv_mk E0 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (p₁ p₂ : P) (p₁' p₂' : P'),
(p₁, p₁') /ₛ (p₂, p₂') = (p₁ /ₛ p₂, p₁' /ₛ p₂')
theorem Set.prod_vsub_prod_comm E1 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : AddGroup G] [inst_1 : AddGroup G']
[inst_2 : AddTorsor G P] [inst_3 : AddTorsor G' P'] (s₁ s₂ : Set P) (t₁ t₂ : Set P'),
s₁ ×ˢ t₁ -ᵥ s₂ ×ˢ t₂ = (s₁ -ᵥ s₂) ×ˢ (t₁ -ᵥ t₂)
theorem Set.prod_sdiv_prod_comm E1 #
∀ {G : Type u_1} {G' : Type u_2} {P : Type u_3} {P' : Type u_4} [inst : Group G] [inst_1 : Group G']
[inst_2 : Torsor G P] [inst_3 : Torsor G' P'] (s₁ s₂ : Set P) (t₁ t₂ : Set P'),
s₁ ×ˢ t₁ /ₛ s₂ ×ˢ t₂ = (s₁ /ₛ s₂) ×ˢ (t₁ /ₛ t₂)
instance Pi.instTorsor E0 #
{I : Type u} →
{fg : I → Type v} →
[inst : (i : I) → Group (fg i)] →
{fp : I → Type w} → [(i : I) → Torsor (fg i) (fp i)] → Torsor ((i : I) → fg i) ((i : I) → fp i)
A product of Torsors is a Torsor.
instance Pi.instAddTorsor E0 #
{I : Type u} →
{fg : I → Type v} →
[inst : (i : I) → AddGroup (fg i)] →
{fp : I → Type w} → [(i : I) → AddTorsor (fg i) (fp i)] → AddTorsor ((i : I) → fg i) ((i : I) → fp i)
A product of AddTorsors is an AddTorsor.
theorem Pi.sdiv_apply E0 #
∀ {I : Type u} {fg : I → Type v} [inst : (i : I) → Group (fg i)] {fp : I → Type w}
[inst_1 : (i : I) → Torsor (fg i) (fp i)] (p q : (i : I) → fp i) (i : I), (p /ₛ q) i = p i /ₛ q i
theorem Pi.vsub_apply E0 #
∀ {I : Type u} {fg : I → Type v} [inst : (i : I) → AddGroup (fg i)] {fp : I → Type w}
[inst_1 : (i : I) → AddTorsor (fg i) (fp i)] (p q : (i : I) → fp i) (i : I), (p -ᵥ q) i = p i -ᵥ q i
theorem Pi.vsub_def E0 #
∀ {I : Type u} {fg : I → Type v} [inst : (i : I) → AddGroup (fg i)] {fp : I → Type w}
[inst_1 : (i : I) → AddTorsor (fg i) (fp i)] (p q : (i : I) → fp i), p -ᵥ q = fun i ↦ p i -ᵥ q i
theorem Pi.sdiv_def E0 #
∀ {I : Type u} {fg : I → Type v} [inst : (i : I) → Group (fg i)] {fp : I → Type w}
[inst_1 : (i : I) → Torsor (fg i) (fp i)] (p q : (i : I) → fp i), p /ₛ q = fun i ↦ p i /ₛ q i
theorem Equiv.constVAdd_zero E0 #
∀ (G : Type u_1) (P : Type u_2) [inst : AddGroup G] [inst_1 : AddTorsor G P], Equiv.constVAdd P 0 = 1
theorem Equiv.constSMul_one E0 #
∀ (G : Type u_1) (P : Type u_2) [inst : Group G] [inst_1 : Torsor G P], Equiv.constSMul P 1 = 1
theorem Equiv.constSMul_mul E0 #
∀ {G : Type u_1} (P : Type u_2) [inst : Group G] [inst_1 : Torsor G P] (v₁ v₂ : G),
Equiv.constSMul P (v₁ * v₂) = Equiv.constSMul P v₁ * Equiv.constSMul P v₂
theorem Equiv.constVAdd_add E0 #
∀ {G : Type u_1} (P : Type u_2) [inst : AddGroup G] [inst_1 : AddTorsor G P] (v₁ v₂ : G),
Equiv.constVAdd P (v₁ + v₂) = Equiv.constVAdd P v₁ * Equiv.constVAdd P v₂
def Equiv.constVAddHom E1 #
(G : Type u_3) → (P : Type u_4) → [inst : AddGroup G] → [AddTorsor G P] → Multiplicative G →* Equiv.Perm P
Equiv.constVAdd as a homomorphism from Multiplicative G to Equiv.perm P
def Equiv.constSMulHom E1 #
{G : Type u_1} → (P : Type u_2) → [inst : Group G] → [Torsor G P] → G →* Equiv.Perm P
Equiv.constSMul as a homomorphism from G to Equiv.perm P
theorem Equiv.left_vsub_pointReflection E0 #
∀ {G : Type u_3} {P : Type u_4} [inst : AddGroup G] [T : AddTorsor G P] (x y : P),
x -ᵥ (Equiv.pointReflection x) y = y -ᵥ x
theorem Equiv.right_vsub_pointReflection E0 #
∀ {G : Type u_3} {P : Type u_4} [inst : AddGroup G] [T : AddTorsor G P] (x y : P),
y -ᵥ (Equiv.pointReflection x) y = 2 • (y -ᵥ x)
theorem Equiv.pointReflection_fixed_iff_of_injective_two_nsmul E2 #
∀ {G : Type u_3} {P : Type u_4} [inst : AddGroup G] [T : AddTorsor G P] {x y : P},
(Function.Injective fun x ↦ 2 • x) → ((Equiv.pointReflection x) y = y ↔ y = x)
x is the only fixed point of pointReflection x. This lemma requires
x + x = y + y ↔ x = y. There is no typeclass to use here, so we add it as an explicit argument.
theorem Equiv.injective_pointReflection_left_of_injective_two_nsmul E1 #
∀ {G : Type u_5} {P : Type u_6} [inst : AddCommGroup G] [inst_1 : AddTorsor G P],
(Function.Injective fun x ↦ 2 • x) → ∀ (y : P), Function.Injective fun x ↦ (Equiv.pointReflection x) y
theorem Equiv.pointReflection_eq_subLeft E1 #
∀ {G : Type u_5} [inst : AddCommGroup G] (x : G), Equiv.pointReflection x = Equiv.subLeft (2 • x)
In the special case of additive commutative groups (as opposed to just additive torsors),
Equiv.pointReflection x coincides with Equiv.subLeft (2 • x).
abbrev Function.Injective.torsor E1 #
{G : Type u_1} →
{P : Type u_2} →
{Q : Type u_3} →
[inst : Group G] →
[inst_1 : Torsor G P] →
[inst_2 : SMul G Q] →
[inst_3 : SDiv G Q] →
[Nonempty Q] →
(f : Q → P) →
Function.Injective f →
(∀ (c : G) (x : Q), f (c • x) = c • f x) → (∀ (x y : Q), x /ₛ y = f x /ₛ f y) → Torsor G Q
Pullback of a torsor along an injective map.
abbrev Function.Injective.addTorsor E1 #
{G : Type u_1} →
{P : Type u_2} →
{Q : Type u_3} →
[inst : AddGroup G] →
[inst_1 : AddTorsor G P] →
[inst_2 : VAdd G Q] →
[inst_3 : VSub G Q] →
[Nonempty Q] →
(f : Q → P) →
Function.Injective f →
(∀ (c : G) (x : Q), f (c +ᵥ x) = c +ᵥ f x) → (∀ (x y : Q), x -ᵥ y = f x -ᵥ f y) → AddTorsor G Q
Pullback of an add torsor along an injective map.
abbrev Function.Surjective.torsor E1 #
{G : Type u_1} →
{P : Type u_2} →
{Q : Type u_3} →
[inst : Group G] →
[inst_1 : Torsor G P] →
[inst_2 : SMul G Q] →
[inst_3 : SDiv G Q] →
(f : P → Q) →
Function.Surjective f →
(∀ (c : G) (x : P), f (c • x) = c • f x) → (∀ (x y : P), x /ₛ y = f x /ₛ f y) → Torsor G Q
Pushforward of a torsor along a surjective map.
abbrev Function.Surjective.addTorsor E1 #
{G : Type u_1} →
{P : Type u_2} →
{Q : Type u_3} →
[inst : AddGroup G] →
[inst_1 : AddTorsor G P] →
[inst_2 : VAdd G Q] →
[inst_3 : VSub G Q] →
(f : P → Q) →
Function.Surjective f →
(∀ (c : G) (x : P), f (c +ᵥ x) = c +ᵥ f x) → (∀ (x y : P), x -ᵥ y = f x -ᵥ f y) → AddTorsor G Q
Pushforward of an add torsor along a surjective map.