Stafford38/TorsionCyclicity.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.FoundationClosure
3 public import Stafford38.Weyl.Domain
4 public import Stafford38.TorsionModule
5 public import Stafford38.PaperCyclicity
6 public import Mathlib.LinearAlgebra.Span.Defs
7 
8 @[expose] public section
9 
10 /-!
11 # Cyclicity of finitely generated torsion right Weyl modules
12 
13 The paper-facing matrix argument and its finite-generation induction are
14 implemented in `PaperCyclicity`; this module retains the established public
15 names as derived interfaces.
16 -/
17 
18 namespace Stafford38.TorsionCyclicity
19 
20 universe u v
21 
22 variable {A : Type u} {M : Type v} [Ring A]
23   [AddCommGroup M] [Module Aᵐᵒᵖ M]
24 
25 /-- The paper's generator calculation for a specified common annihilator and
26 certificate, derived from the canonical matrix proof. -/
27 theorem span_adjusted_pair_eq_span_pair
28     (x y : M) (d F R S : A)
29     (hxann : (MulOpposite.op d : Aᵐᵒᵖ) • x = 0)
30     (hyann : (MulOpposite.op d : Aᵐᵒᵖ) • y = 0)
31     (hcert : (1 : A) = d * R + F * d * S) :
32     Submodule.span Aᵐᵒᵖ
33         ({x - (MulOpposite.op F : Aᵐᵒᵖ) • y} : Set M) =
34       Submodule.span Aᵐᵒᵖ ({x, y} : Set M) :=
35   Stafford38.PaperCyclicity.span_adjusted_pair_eq_span_pair_via_matrix
36     x y d F R S hxann hyann hcert
37 
38 /-- The paper generator collapses any torsion pair to one adjusted generator. -/
39 theorem exists_span_adjusted_pair
40     (hmul : ∀ a b : A, a ≠ 0 → b ≠ 0 → a * b ≠ 0)
41     (hone : ∀ d : A, d ≠ 0 →
42       ∃ F R S : A, (1 : A) = d * R + F * d * S)
43     (htorsion : IsRightTorsion (A := A) (M := M)) (x y : M) :
44     ∃ F : A,
45       Submodule.span Aᵐᵒᵖ
46         ({x - (MulOpposite.op F : Aᵐᵒᵖ) • y} : Set M) =
47         Submodule.span Aᵐᵒᵖ ({x, y} : Set M) :=
48   Stafford38.PaperCyclicity.exists_span_adjusted_pair_via_matrix
49     hmul hone htorsion x y
50 
51 /-- Forget the displayed coefficient and keep the generated singleton. -/
52 theorem exists_span_singleton_eq_span_pair
53     (hmul : ∀ a b : A, a ≠ 0 → b ≠ 0 → a * b ≠ 0)
54     (hone : ∀ d : A, d ≠ 0 →
55       ∃ F R S : A, (1 : A) = d * R + F * d * S)
56     (htorsion : IsRightTorsion (A := A) (M := M)) (x y : M) :
57     ∃ z : M,
58       Submodule.span Aᵐᵒᵖ ({z} : Set M) =
59         Submodule.span Aᵐᵒᵖ ({x, y} : Set M) :=
60   Stafford38.PaperCyclicity.exists_span_singleton_eq_span_pair_via_matrix
61     hmul hone htorsion x y
62 
63 /-- Every finitely generated torsion right module over a Weyl algebra is
64 cyclic. The main theorem supplies the coefficient identity used at each
65 pair-replacement step in the finite-generator induction. -/
66 theorem weyl_isCyclic_of_isRightTorsion
67     (k : Type u) [Field k] [CharZero k] (n : ℕ)
68     (M : Type v) [AddCommGroup M]
69     [Module (Stafford38.WeylAlg k n)ᵐᵒᵖ M]
70     [Module.Finite (Stafford38.WeylAlg k n)ᵐᵒᵖ M]
71     (hM : IsRightTorsion (A := Stafford38.WeylAlg k n) (M := M)) :
72     ∃ z : M,
73       Submodule.span (Stafford38.WeylAlg k n)ᵐᵒᵖ ({z} : Set M) = ⊤ :=
74   Stafford38.PaperCyclicity.paper_torsion_module_is_cyclic
75     (k := k) (n := n) (M := M) hM
76 
77 #print axioms span_adjusted_pair_eq_span_pair
78 #print axioms exists_span_adjusted_pair
79 #print axioms exists_span_singleton_eq_span_pair
80 #print axioms weyl_isCyclic_of_isRightTorsion
81 
82 end Stafford38.TorsionCyclicity
83