Solution.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.ChallengeDefinitions
3 public import Stafford38.PaperClaimDefinitions
4 public import Stafford38.ChallengeBridge
5 public import Stafford38.Paper.Main
6 public import Stafford38.Paper.Section7
7 
8 @[expose] public section
9 
10 /-!
11 # Solution: the proof along the paper
12 
13 The compared theorems are proved by the paper-route declarations
14 `Stafford38.Paper.theorem_1_1`, `Stafford38.Paper.theorem_1_1_fixedSource`,
15 `Stafford38.Paper.corollary_6_3` and `Stafford38.Paper.corollary_6_3_stablyCyclic`
16 (Sections 3–6, `Stafford38/Paper/Main.lean`), and by the Section 7
17 consequences in `Stafford38/Paper/Section7.lean`, which use
18 `Stafford38.Paper.theorem_1_1` wherever they need Theorem 1.1.
19 `Stafford38.ChallengeBridge` turns the identity and fixed-source forms into the
20 printed statement of Theorem 1.1 (`A_n = dA_n + FdA_n`, `F = Φ_g^{-1}(x₁)^{deg_B d}`).
21 -/
22 
23 namespace Stafford38Challenge
24 
25 universe u
26 
27 theorem universalStatement : UniversalStatement :=
28   Stafford38.Paper.theorem_1_1
29 
30 theorem theorem_1_1 : PaperTheorem_1_1 :=
31   paperTheorem_1_1_of Stafford38.Paper.theorem_1_1 Stafford38.Paper.theorem_1_1_fixedSource
32 
33 theorem corollary_6_3 : PaperCorollary_6_3 := by
34   intro k _ _ n M _ _ _ hM
35   exact Stafford38.Paper.corollary_6_3 k n M hM
36 
37 theorem corollary_6_3_stablyCyclic : PaperCorollary_6_3_stablyCyclic := by
38   intro k _ _ n M _ _ _ hM
39   exact Stafford38.Paper.corollary_6_3_stablyCyclic k n M hM
40 
41 theorem leftHandedIdentity : LeftHandedIdentity :=
42   Stafford38.Paper.Section7.leftHandedIdentity
43 
44 theorem corollary_6_3_left : LeftCorollary_6_3 :=
45   Stafford38.Paper.Section7.corollary_6_3_left
46 
47 theorem localizedDifferentialIdentity : LocalizedDifferentialIdentity :=
48   Stafford38.Paper.Section7.localizedDifferentialIdentity
49 
50 theorem principalOpenDifferentialIdentity :
51     ∀ (k : Type u) [Field k] [CharZero k] (n : ℕ) (f : MvPolynomial (Fin n) k),
52       HasDifferentialIdentity k (Localization.Away f) := by
53   intro k _ _ n f
54   exact localizedDifferentialIdentity k n (Submonoid.powers f) (Localization.Away f)
55 
56 theorem laurentDifferentialIdentity :
57     ∀ (k : Type u) [Field k] [CharZero k] (n : ℕ),
58       HasDifferentialIdentity k
59         (Localization.Away (∏ i, MvPolynomial.X i : MvPolynomial (Fin n) k)) := by
60   intro k _ _ n
61   exact principalOpenDifferentialIdentity k n _
62 
63 theorem fractionFieldDifferentialIdentity :
64     ∀ (k : Type u) [Field k] [CharZero k] (n : ℕ),
65       HasDifferentialIdentity k (FractionRing (MvPolynomial (Fin n) k)) := by
66   intro k _ _ n
67   exact localizedDifferentialIdentity k n (nonZeroDivisors _) (FractionRing _)
68 
69 theorem evolutionaryIdentity : EvolutionaryIdentity :=
70   Stafford38.Paper.Section7.evolutionaryIdentity
71 
72 end Stafford38Challenge
73 
74 #print axioms Stafford38Challenge.universalStatement
75 #print axioms Stafford38Challenge.theorem_1_1
76 #print axioms Stafford38Challenge.corollary_6_3
77 #print axioms Stafford38Challenge.corollary_6_3_stablyCyclic
78 #print axioms Stafford38Challenge.leftHandedIdentity
79 #print axioms Stafford38Challenge.corollary_6_3_left
80 #print axioms Stafford38Challenge.localizedDifferentialIdentity
81 #print axioms Stafford38Challenge.principalOpenDifferentialIdentity
82 #print axioms Stafford38Challenge.laurentDifferentialIdentity
83 #print axioms Stafford38Challenge.fractionFieldDifferentialIdentity
84 #print axioms Stafford38Challenge.evolutionaryIdentity
85