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.AlgebraicGeometry.Comparison.Betti.AbCochainClasses |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.HomComplexSingleIso |
| 3 | |
| 4 | /-! # Hom Cocycle Classes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.HomCocycleClasses.Ext |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Hom-complex identification sends actual cocycles to their original quotient classes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CochainComplex _root_.CochainComplex.HomComplex |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 17 | |
| 18 | theorem homComplexCohomology_class (F G : CochainComplex C ℤ) (n : ℤ) |
| 19 | (z : Cocycle F G n) : |
| 20 | homologyAddEquiv F G n |
| 21 | (AbCochainClasses.Homology.cochainClass (HomComplex F G) n z.1 z.2) = CohomologyClass.mk z := by |
| 22 | let J := HomComplex F G |
| 23 | let D := leftHomologyData F G n |
| 24 | let c := AbCochainClasses.Homology.cycle J n z.1 z.2 |
| 25 | have hc : D.cyclesIso.hom c = z := by |
| 26 | apply Subtype.ext |
| 27 | have h := congrArg (fun g : J.cycles n ⟶ J.X n => g.hom c) D.cyclesIso_hom_comp_i |
| 28 | exact h.trans (AbCochainClasses.Homology.cycle_i J n z.1 z.2) |
| 29 | have h := congrArg (fun g : J.cycles n ⟶ D.H => g.hom c) D.homologyπ_comp_homologyIso_hom |
| 30 | change D.homologyIso.hom (J.homologyπ n c) = CohomologyClass.mk z |
| 31 | exact h.trans (congrArg D.π hc) |
| 32 | |
| 33 | theorem integerHomCohomologyClassEquiv_class (A : C) (K : CochainComplex C ℤ) (n : ℤ) |
| 34 | (f : A ⟶ K.X n) (hf : f ≫ K.d n (n + 1) = 0) : |
| 35 | HomComplexSingleIso.Ext.integerHomCohomologyClassEquiv A K n |
| 36 | (AbCochainClasses.Homology.cochainClass (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n f hf) = |
| 37 | CohomologyClass.mk (Cocycle.fromSingleMk f (zero_add n) (n + 1) rfl hf) := by |
| 38 | let e := HomComplexSingleIso.Ext.integerHomSingleIso A K |
| 39 | change homologyAddEquiv _ K n |
| 40 | (HomologicalComplex.homologyMap e.hom n |
| 41 | (AbCochainClasses.Homology.cochainClass (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n f hf)) = _ |
| 42 | have h := AbCochainClasses.Homology.cochainClass_naturality n e.hom f hf |
| 43 | exact (congrArg (homologyAddEquiv _ K n) h).trans |
| 44 | (homComplexCohomology_class _ K n |
| 45 | (Cocycle.fromSingleMk f (zero_add n) (n + 1) rfl hf)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Comparison.Betti.HomCocycleClasses.Ext |