CorollaryChallenge.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.ChallengeDefinitions
3 
4 @[expose] public section
5 
6 /-!
7 # Mathlib-only statement of the torsion-cyclicity corollary
8 
9 This file gives the exact proposition in the shared `RingQuot` Weyl
10 presentation. Its proof is transported from the substantive Stafford formal
11 development by `tests/TorsionCyclicityConsumer.lean`.
12 -/
13 
14 namespace Stafford38CorollaryChallenge
15 
16 universe u v
17 
18 abbrev PhaseVar (n : ℕ) := Stafford38Challenge.PhaseVar n
19 
20 abbrev relation {k : Type u} [Field k] {n : ℕ}
21     (omega : Matrix (PhaseVar n) (PhaseVar n) k)
22     (a b : FreeAlgebra k (PhaseVar n)) : Prop :=
23   Stafford38Challenge.relation (k := k) (n := n) omega a b
24 
25 abbrev WeylAlg (k : Type u) [Field k] (n : ℕ) :=
26   Stafford38Challenge.WeylAlg k n
27 
28 abbrev IsRightTorsion {A : Type u} {M : Type v} [Ring A]
29     [AddCommGroup M] [Module Aᵐᵒᵖ M] : Prop :=
30   Stafford38.TorsionCyclicity.IsRightTorsion (A := A) (M := M)
31 
32 /-- Every finitely generated torsion right module over a characteristic-zero
33 Weyl algebra is generated by one element. -/
34 def torsionCyclicStatement : Prop :=
35   ∀ (k : Type u) [Field k] [CharZero k] (n : ℕ)
36     (M : Type v) [AddCommGroup M]
37     [Module (WeylAlg k n)ᵐᵒᵖ M]
38     [Module.Finite (WeylAlg k n)ᵐᵒᵖ M],
39     IsRightTorsion (A := WeylAlg k n) (M := M) →
40       ∃ z : M, Submodule.span (WeylAlg k n)ᵐᵒᵖ ({z} : Set M) = ⊤
41 
42 end Stafford38CorollaryChallenge
43