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.GeometricComparison.CechPresheaf.CoefficientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CechCoefficientComposition |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NaturalTotalChain |
| 4 | |
| 5 | /-! # Coefficient Composition -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientComposition.CechPresheafCoefficientComposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Successive additive coefficient changes agree with their composite |
| 12 | on the original finite Cech total of a presheaf complex. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v uA vA uB vB uD vD |
| 17 | variable {C : Type u} [Category.{v} C] |
| 18 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 20 | {D : Type uD} [Category.{vD} D] [Abelian D] [HasProducts.{0} D] [HasCoproducts.{0} D] |
| 21 | (F : A ⥤ B) [F.Additive] (G : B ⥤ D) [G.Additive] |
| 22 | (E : SimplicialObject (FormalCoproduct.{0} C)) |
| 23 | (hE : ∀ n, Finite (E.obj (op n)).I) (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal |
| 26 | |
| 27 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] [HasCoproducts.{0} D] in |
| 28 | theorem bicomplex_iso : |
| 29 | CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso (F ⋙ G) E hE K = |
| 30 | NaturalTotalChain.NaturalTotalCoefficientComposition.bicomplexIso F G |
| 31 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K) (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G E hE (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K)) := by |
| 32 | apply Iso.ext |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext q |
| 35 | exact GeometricComparison.Finite.CechCoefficientComposition.FiniteCechCoefficientComposition.complexes F G E hE (K.X q) |
| 36 | |
| 37 | theorem total_iso : |
| 38 | (G.mapHomologicalComplex (.up ℕ)).mapIso (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE K) ≪≫ |
| 39 | CoefficientTotal.CechPresheafCoefficientTotal.totalIso G E hE (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K) = CoefficientTotal.CechPresheafCoefficientTotal.totalIso (F ⋙ G) E hE K := by |
| 40 | have h := NaturalTotalChain.NaturalTotalCoefficientComposition.totalIso F G |
| 41 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K) (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G E hE (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K)) |
| 42 | rw [← bicomplex_iso F G E hE K] at h |
| 43 | exact h |
| 44 | |
| 45 | theorem hom : |
| 46 | (G.mapHomologicalComplex (.up ℕ)).map (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE K).hom ≫ |
| 47 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G E hE (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K)).hom = (CoefficientTotal.CechPresheafCoefficientTotal.totalIso (F ⋙ G) E hE K).hom := |
| 48 | congrArg Iso.hom (total_iso F G E hE K) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientComposition.CechPresheafCoefficientComposition |