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.Open.AffineIsoEvaluation |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 3 | |
| 4 | /-! # Open Section Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.OpenSectionEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation on an actual affine open is its original section-algebra character. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | attribute [local instance] Algebraic.Sheaves.sectionAlgebra |
| 15 | |
| 16 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (U : X.left.Opens) (hU : IsAffineOpen U) |
| 17 | |
| 18 | def affineOpenToOpenOver : |
| 19 | Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) ⟶ Open.AffineIsoEvaluation.openOver X U := |
| 20 | Over.homMk hU.isoSpec.inv (by |
| 21 | change hU.isoSpec.inv ≫ (U.ι ≫ X.hom) = |
| 22 | Spec.map (CommRingCat.ofHom (Foundations.Scheme.SpecScalarTransport.specSectionScalarMap X.hom U)) |
| 23 | rw [← Category.assoc] |
| 24 | exact (Foundations.Scheme.SpecScalarTransport.specSectionScalarMap_fromSpec X.hom U hU).symm) |
| 25 | |
| 26 | theorem affineOpenToOpenOver_comp : |
| 27 | affineOpenToOpenOver X U hU ≫ Open.AffineIsoEvaluation.openInclusion X U = |
| 28 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU := by |
| 29 | apply Over.OverMorphism.ext |
| 30 | rfl |
| 31 | |
| 32 | def affineOpenPointInOpen |
| 33 | (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) : Open.AffineIsoEvaluation.analyticOpen X U := |
| 34 | Open.AffineIsoEvaluation.openPointHomeomorph X U |
| 35 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 36 | (affineOpenToOpenOver X U hU) p) |
| 37 | |
| 38 | theorem affineOpenPointInOpen_val |
| 39 | (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) : |
| 40 | (affineOpenPointInOpen X U hU p).val = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU p := by |
| 41 | rw [affineOpenPointInOpen, Open.AffineIsoEvaluation.openPointHomeomorph_val, |
| 42 | ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp, affineOpenToOpenOver_comp] |
| 43 | rfl |
| 44 | |
| 45 | theorem sectionEvaluationOn_affineOpen |
| 46 | (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) (s : Γ(X.left, U)) : |
| 47 | Open.AffineIsoEvaluation.sectionEvaluationOn X U s (affineOpenPointInOpen X U hU p) = p s := by |
| 48 | change RegularFunctions.globalEvaluation ((Open.AffineIsoEvaluation.openPointHomeomorph X U).symm |
| 49 | (Open.AffineIsoEvaluation.openPointHomeomorph X U _)) (U.topIso.inv s) = p s |
| 50 | rw [Homeomorph.symm_apply_apply] |
| 51 | change RegularFunctions.globalEvaluation (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (affineOpenToOpenOver X U hU) |
| 52 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) p)) _ = _ |
| 53 | rw [RegularFunctions.globalEvaluation_map, RegularFunctions.globalEvaluation_affine] |
| 54 | change p ((Scheme.ΓSpecIso Γ(X.left, U)).hom (hU.isoSpec.inv.appTop (U.topIso.inv s))) = p s |
| 55 | rw [hU.isoSpec_inv_appTop] |
| 56 | change p ((Scheme.ΓSpecIso Γ(X.left, U)).hom |
| 57 | ((Scheme.ΓSpecIso Γ(X.left, U)).inv (U.topIso.hom (U.topIso.inv s)))) = p s |
| 58 | rw [Iso.inv_hom_id_apply, Iso.inv_hom_id_apply] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.OpenSectionEvaluation |