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.AlgebraicTopology.Cohomology.Singular.Chains |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.Coefficients |
| 3 | |
| 4 | /-! # Restriction Cochain Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RestrictionCochainEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar restriction preserves actual evaluation on every singular simplex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {R S : Type} [CommRing R] [CommRing S] |
| 20 | |
| 21 | theorem singularCochainsRestrictScalarsIso_hom_evaluation (f : R →+* S) |
| 22 | (M : ModuleCat.{0} S) (X : TopCat.{0}) {n : ℕ} (s : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 23 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M X).hom.f n ≫ |
| 24 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj X) ((ModuleCat.restrictScalars f).obj M) s = |
| 25 | (ModuleCat.restrictScalars f).map (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj X) M s) := by |
| 26 | apply Quiver.Hom.op_inj |
| 27 | change (TopCat.toSSet.obj X).ιChainComplex s ≫ |
| 28 | sigmaComparison (ModuleCat.restrictScalars f).op (fun _ : (TopCat.toSSet.obj X) _⦋n⦌ => op M) = |
| 29 | (ModuleCat.restrictScalars f).op.map ((TopCat.toSSet.obj X).ιChainComplex s) |
| 30 | exact ι_comp_sigmaComparison _ _ _ |
| 31 | |
| 32 | theorem singularCochainsRestrictScalarsIso_inv_evaluation (f : R →+* S) |
| 33 | (M : ModuleCat.{0} S) (X : TopCat.{0}) {n : ℕ} (s : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 34 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M X).inv.f n ≫ |
| 35 | (ModuleCat.restrictScalars f).map (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj X) M s) = |
| 36 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj X) ((ModuleCat.restrictScalars f).obj M) s := by |
| 37 | rw [← singularCochainsRestrictScalarsIso_hom_evaluation f M X s, ← Category.assoc] |
| 38 | have h := congrArg (fun g => g.f n) (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M X).inv_hom_id |
| 39 | rw [show (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M X).inv.f n ≫ |
| 40 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M X).hom.f n = 𝟙 _ from h, Category.id_comp] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RestrictionCochainEvaluation |