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.DivisorClass.Chern.AnalyticCover |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 3 | |
| 4 | /-! # Affine Section Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AffineSectionCoordinates.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # DegreeTwo: affine characters evaluate the actual scheme sections |
| 14 | |
| 15 | The canonical spectrum-of-sections isomorphism identifies the affine |
| 16 | character space with the actual analytic open, and preserves section values. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 22 | |
| 23 | /-- The canonical affine-open spectrum isomorphism, with the scalar |
| 24 | structure induced by the original complex structure morphism. -/ |
| 25 | def affineSectionOverIso : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openOver U ≅ |
| 26 | Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) := |
| 27 | Over.isoMk hU.isoSpec (by |
| 28 | change hU.isoSpec.hom ≫ |
| 29 | Spec.map (CommRingCat.ofHom (Foundations.Scheme.SpecScalarTransport.specSectionScalarMap X.structureMap U)) = |
| 30 | U.ι ≫ X.structureMap |
| 31 | rw [Foundations.Scheme.SpecScalarTransport.specSectionScalarMap_fromSpec X.structureMap U hU, |
| 32 | ← Category.assoc, hU.isoSpec_hom_fromSpec]) |
| 33 | |
| 34 | /-- Characters of the actual section algebra are exactly points of the |
| 35 | corresponding actual analytic open. -/ |
| 36 | def affineSectionPointHomeomorph : |
| 37 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) ≃ₜ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U := |
| 38 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)).trans |
| 39 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (affineSectionOverIso X U hU)).symm).trans |
| 40 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U) |
| 41 | |
| 42 | theorem affineSectionPointHomeomorph_val |
| 43 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) : |
| 44 | (affineSectionPointHomeomorph X U hU y).val = |
| 45 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) |
| 46 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X.toOver U hU) y := by |
| 47 | change (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) y ≫ |
| 48 | (affineSectionOverIso X U hU).inv) ≫ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openInclusion X U = |
| 49 | ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) y ≫ |
| 50 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X.toOver U hU |
| 51 | rw [Category.assoc] |
| 52 | congr 1 |
| 53 | |
| 54 | /-- Native evaluation of an actual scheme section is ordinary character |
| 55 | evaluation under the canonical affine chart. -/ |
| 56 | theorem affineSectionPointHomeomorph_evaluation |
| 57 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) |
| 58 | (a : Γ(X.carrier, U)) : |
| 59 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U a (affineSectionPointHomeomorph X U hU y) = y a := by |
| 60 | change DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation |
| 61 | ((DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U).symm ((DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U) |
| 62 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (affineSectionOverIso X U hU).inv |
| 63 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U) y)))) |
| 64 | (U.topIso.inv a) = y a |
| 65 | rw [Homeomorph.symm_apply_apply, DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation_map, DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation_affine] |
| 66 | change y ((Scheme.ΓSpecIso Γ(X.carrier, U)).hom |
| 67 | (hU.isoSpec.inv.appTop (U.topIso.inv a))) = y a |
| 68 | rw [hU.isoSpec_inv_appTop] |
| 69 | simp only [CommRingCat.comp_apply, Iso.inv_hom_id_apply] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! |
| 74 | # DegreeTwo: affine section kernels describe the actual prime-divisor support |
| 75 | |
| 76 | Specialization of genuine scheme points is reflected by the canonical |
| 77 | affine-open embedding. Thus prime containment in a character kernel is |
| 78 | exactly membership in the corresponding scheme-point closure. |
| 79 | -/ |
| 80 | |
| 81 | open scoped _root_.Topology |
| 82 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 83 | |
| 84 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 85 | |
| 86 | theorem affineSectionPoint_specializes_iff (z : U) |
| 87 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) : |
| 88 | z.val ⤳ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (affineSectionPointHomeomorph X U hU y).val ↔ |
| 89 | (hU.primeIdealOf z).asIdeal ≤ RingHom.ker y.toRingHom := by |
| 90 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 91 | rw [affineSectionPointHomeomorph_val, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying_affinePointMap] |
| 92 | change z.val ⤳ hU.fromSpec (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum y) ↔ _ |
| 93 | rw [← hU.fromSpec_primeIdealOf z] |
| 94 | erw [hU.fromSpec.isOpenEmbedding.isEmbedding.isInducing.specializes_iff] |
| 95 | exact (PrimeSpectrum.le_iff_specializes (hU.primeIdealOf z) |
| 96 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum y)).symm |
| 97 | |
| 98 | theorem affineSectionPoint_mem_pointClosure_iff (z : U) |
| 99 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) : |
| 100 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (affineSectionPointHomeomorph X U hU y).val ∈ |
| 101 | closure ({z.val} : Set X.carrier) ↔ |
| 102 | (hU.primeIdealOf z).asIdeal ≤ RingHom.ker y.toRingHom := by |
| 103 | exact (specializes_iff_mem_closure (x := z.val) |
| 104 | (y := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (affineSectionPointHomeomorph X U hU y).val)).symm.trans |
| 105 | (affineSectionPoint_specializes_iff X U hU z y) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AffineSectionCoordinates.Constructions |