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.Supported.CechHomotopyEquivalence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLinear |
| 3 | |
| 4 | /-! # Cech Linear -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechLinear.HomotopyEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual supported Cech total cohomology preserves addition and |
| 11 | ambient scalars. These instances keep scalar residue detection on the |
| 12 | original total complex. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {R : Type u} [CommRing R] {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | |
| 21 | local instance totalExists (K : HomologicalComplex₂ (ModuleCat.{u} R) (.up ℕ) (.up ℕ)) : |
| 22 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 23 | |
| 24 | local instance totalAdditive : |
| 25 | (HomologicalComplex₂.totalFunctor (ModuleCat.{u} R) (.up ℕ) (.up ℕ) (.up ℕ)).Additive where |
| 26 | map_add {K L} f g := by |
| 27 | apply HomologicalComplex.Hom.ext |
| 28 | funext n |
| 29 | apply HomologicalComplex₂.total.hom_ext |
| 30 | intro p q hpq |
| 31 | change K.ιTotal (.up ℕ) p q n hpq ≫ |
| 32 | (HomologicalComplex₂.total.map (f + g) (.up ℕ)).f n = |
| 33 | K.ιTotal (.up ℕ) p q n hpq ≫ |
| 34 | ((HomologicalComplex₂.total.map f (.up ℕ)).f n + |
| 35 | (HomologicalComplex₂.total.map g (.up ℕ)).f n) |
| 36 | rw [Preadditive.comp_add, HomologicalComplex₂.ιTotal_map, |
| 37 | HomologicalComplex₂.ιTotal_map, HomologicalComplex₂.ιTotal_map] |
| 38 | rw [HomologicalComplex.add_f_apply, HomologicalComplex.add_f_apply, |
| 39 | Preadditive.add_comp] |
| 40 | |
| 41 | local instance totalLinear : |
| 42 | (HomologicalComplex₂.totalFunctor (ModuleCat.{u} R) (.up ℕ) (.up ℕ) (.up ℕ)).Linear R where |
| 43 | map_smul {K L} f r := by |
| 44 | apply HomologicalComplex.Hom.ext |
| 45 | funext n |
| 46 | apply HomologicalComplex₂.total.hom_ext |
| 47 | intro p q hpq |
| 48 | change K.ιTotal (.up ℕ) p q n hpq ≫ |
| 49 | (HomologicalComplex₂.total.map (r • f) (.up ℕ)).f n = |
| 50 | K.ιTotal (.up ℕ) p q n hpq ≫ |
| 51 | (r • (HomologicalComplex₂.total.map f (.up ℕ)).f n) |
| 52 | rw [Linear.comp_smul, HomologicalComplex₂.ιTotal_map, HomologicalComplex₂.ιTotal_map] |
| 53 | change (r • (f.f p).f q) ≫ L.ιTotal (.up ℕ) p q n hpq = _ |
| 54 | rw [Linear.smul_comp] |
| 55 | |
| 56 | local instance homologyLinear (q : ℕ) : |
| 57 | (homologyFunctor (ModuleCat.{u} R) (.up ℕ) q).Linear R where |
| 58 | map_smul f r := Resolution.CohomologyMaps.homologyMap_smul R f r q |
| 59 | |
| 60 | instance additive (q : ℕ) : (CechHomotopyEquivalence.functor (R := R) U q).Additive := by |
| 61 | dsimp only [CechHomotopyEquivalence.functor] |
| 62 | infer_instance |
| 63 | |
| 64 | instance linear (q : ℕ) : (CechHomotopyEquivalence.functor (R := R) U q).Linear R := by |
| 65 | dsimp only [CechHomotopyEquivalence.functor] |
| 66 | infer_instance |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechLinear.HomotopyEquivalence |