Stafford38/Characteristic/CanonicalCertificate.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Characteristic.EmptySupportVanishing
3 
4 @[expose] public section
5 
6 /-!
7 # Certificate extraction from empty canonical characteristic support
8 
9 This file closes the algebraic end of the characteristic-support route.  If
10 the order-characteristic support of the literal canonical quotient is empty,
11 then that quotient vanishes and membership of `1` in its two-generator right
12 ideal yields the exact fixed-source Stafford certificate.
13 
14 No theorem proving that the support is empty is assumed or supplied here.
15 -/
16 
17 namespace Stafford38.CharacteristicCanonicalCertificate
18 
19 open Stafford38.CharacteristicEmptySupportVanishing
20 open Stafford38.CharacteristicInitialIdeal
21 open Stafford38.EulerSurjectivity
22 open Stafford38.WeylEulerResidue
23 open Stafford38.WeylIteratedEquivalence
24 
25 noncomputable section
26 
27 universe u
28 
29 variable (k : Type u) [Field k]
30 
31 /-- Empty order-characteristic support of the canonical right ideal gives the
32 literal fixed-source certificate with source `x^N`. -/
33 theorem exists_fixedSource_certificate_of_orderCharacteristicSupport_eq_empty
34     (n N : ℕ) (d : PresentedWeyl k (n + 1))
35     (hsupport : orderCharacteristicSupport k
36       (canonicalRightIdeal (presentedCoordinate k n) d N) = ∅) :
37     ∃ R S : PresentedWeyl k (n + 1),
38       (1 : PresentedWeyl k (n + 1)) =
39         d * R + (presentedCoordinate k n) ^ N * d * S := by
40   let I := canonicalRightIdeal (presentedCoordinate k n) d N
41   have hquotient : Subsingleton (RightQuotient I) :=
42     rightQuotient_subsingleton_of_orderCharacteristicSupport_eq_empty
43       k I hsupport
44   have htop : I = ⊤ :=
45     Submodule.Quotient.subsingleton_iff.mp hquotient
46   have hone : (1 : PresentedWeyl k (n + 1)) ∈ I := by
47     rw [htop]
48     trivial
49   change (1 : PresentedWeyl k (n + 1)) ∈
50     Submodule.span (PresentedWeyl k (n + 1))ᵐᵒᵖ
51       ({d, (presentedCoordinate k n) ^ N * d} :
52         Set (PresentedWeyl k (n + 1))) at hone
53   rcases Submodule.mem_span_pair.mp hone with ⟨r, s, hrs⟩
54   refine ⟨r.unop, s.unop, ?_⟩
55   simpa [op_smul_eq_mul] using hrs.symm
56 
57 #print axioms exists_fixedSource_certificate_of_orderCharacteristicSupport_eq_empty
58 
59 end
60 
61 end Stafford38.CharacteristicCanonicalCertificate
62