Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TotalComponentLift |
| 2 | |
| 3 | /-! # Total Component Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TotalComponentMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map to a first-quadrant total from its signed differential |
| 10 | identities at the two edges and in the interior. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive |
| 12 | universe u v |
| 13 | variable {C : Type u} [Category.{v} C] [Preadditive C] |
| 14 | (L : CochainComplex C ℕ) (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 15 | [K.HasTotal (.up ℕ)] |
| 16 | |
| 17 | structure Data where |
| 18 | component : ∀ n p q, p + q = n → (L.X n ⟶ (K.X p).X q) |
| 19 | left : ∀ n, component n 0 n (by omega) ≫ (K.X 0).d n (n + 1) = |
| 20 | L.d n (n + 1) ≫ component (n + 1) 0 (n + 1) (by omega) |
| 21 | right : ∀ n, component n n 0 (by omega) ≫ (K.d n (n + 1)).f 0 = |
| 22 | L.d n (n + 1) ≫ component (n + 1) (n + 1) 0 (by omega) |
| 23 | interior : ∀ p q, |
| 24 | component (p + q + 1) p (q + 1) (by omega) ≫ (K.d p (p + 1)).f (q + 1) + |
| 25 | ((-1 : ℤˣ) ^ (p + 1)) • |
| 26 | (component (p + q + 1) (p + 1) q (by omega) ≫ (K.X (p + 1)).d q (q + 1)) = |
| 27 | L.d (p + q + 1) (p + q + 1 + 1) ≫ |
| 28 | component (p + q + 1 + 1) (p + 1) (q + 1) (by omega) |
| 29 | |
| 30 | variable (D : Data L K) |
| 31 | |
| 32 | def component (n : ℕ) : L.X n ⟶ (K.total (.up ℕ)).X n := |
| 33 | TotalComponentLift.lift K n (D.component n) |
| 34 | |
| 35 | @[reassoc] |
| 36 | theorem component_projection (n p q : ℕ) (h : p + q = n) : |
| 37 | TotalComponentMap.component L K D n ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q n = D.component n p q h := |
| 38 | TotalComponentLift.lift_projection K n (D.component n) p q h |
| 39 | |
| 40 | theorem differential_projection (n p q : ℕ) (hpq : p + q = n + 1) : |
| 41 | (TotalComponentMap.component L K D n ≫ (K.total (.up ℕ)).d n (n + 1)) ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q (n + 1) = |
| 42 | (L.d n (n + 1) ≫ TotalComponentMap.component L K D (n + 1)) ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q (n + 1) := by |
| 43 | cases p with |
| 44 | | zero => |
| 45 | have hq : q = n + 1 := by omega |
| 46 | subst q |
| 47 | rw [Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatBoundary.Projective.total_d_π_zero, ← Category.assoc, |
| 48 | component_projection, Category.assoc, component_projection] |
| 49 | exact D.left n |
| 50 | | succ p => |
| 51 | cases q with |
| 52 | | zero => |
| 53 | have hp : p = n := by omega |
| 54 | subst p |
| 55 | rw [Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatBoundary.Projective.total_d_π_zero_right, ← Category.assoc, |
| 56 | component_projection, Category.assoc, component_projection] |
| 57 | exact D.right n |
| 58 | | succ q => |
| 59 | have hn : n = p + q + 1 := by omega |
| 60 | subst n |
| 61 | rw [Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatBoundary.Projective.total_d_π_interior, comp_add, |
| 62 | Linear.comp_units_smul, ← Category.assoc, ← Category.assoc, |
| 63 | component_projection, component_projection, Category.assoc, component_projection] |
| 64 | exact D.interior p q |
| 65 | |
| 66 | theorem differential (n : ℕ) : |
| 67 | TotalComponentMap.component L K D n ≫ (K.total (.up ℕ)).d n (n + 1) = |
| 68 | L.d n (n + 1) ≫ TotalComponentMap.component L K D (n + 1) := by |
| 69 | apply AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatCoordinates.Projective.totalUpNat_hom_ext K (n + 1) |
| 70 | intro i |
| 71 | exact differential_projection L K D n i (n + 1 - i) (by omega) |
| 72 | |
| 73 | def map : L ⟶ K.total (.up ℕ) where |
| 74 | f := TotalComponentMap.component L K D |
| 75 | comm' n m h := by |
| 76 | obtain rfl : m = n + 1 := h.symm |
| 77 | exact differential L K D n |
| 78 | |
| 79 | @[reassoc] |
| 80 | theorem map_projection (n p q : ℕ) (h : p + q = n) : |
| 81 | (map L K D).f n ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q n = D.component n p q h := |
| 82 | component_projection L K D n p q h |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TotalComponentMap |