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.RepresentationTheory.Theta.Geometric.Period.TestDensity |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Period.GermRetraction |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJetDifferentials |
| 4 | |
| 5 | /-! # Chart Germ -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Period.ChartGerm |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The first-order point, and hence every algebraic one-form evaluated |
| 14 | in period coordinates, depends only on the actual complex-point germ. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Filter |
| 17 | open scoped _root_.Topology |
| 18 | |
| 19 | theorem periodEvaluationPoint_retraction (x y : LinearTheta.BallCoordinates) |
| 20 | (S : Set LinearTheta.BallCoordinates) (hS : S ∈ 𝓝 x) : |
| 21 | TestDensity.periodEvaluationPoint x y ≫ AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (GermRetraction.periodGermRetraction x S hS)) = |
| 22 | TestDensity.periodEvaluationPoint x (GermRetraction.periodNeighborhoodRetraction x S y) := by |
| 23 | exact (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap (GermRetraction.periodGermRetraction x S hS) |
| 24 | ((Pi.evalAlgHom ℂ (fun _ : LinearTheta.BallCoordinates => ℂ) y).comp (DifferentialNaturality.functionsAt x).val)).symm |
| 25 | |
| 26 | theorem firstOrderPoint_retraction {X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (x u : LinearTheta.BallCoordinates) |
| 27 | (S : Set LinearTheta.BallCoordinates) (hS : S ∈ 𝓝 x) |
| 28 | (p : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x) ⟶ X) : |
| 29 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x u |
| 30 | (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (GermRetraction.periodGermRetraction x S hS)) ≫ p) = |
| 31 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x u p := by |
| 32 | have he : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJets.firstOrderEvaluation x u)) ≫ |
| 33 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (GermRetraction.periodGermRetraction x S hS)) = |
| 34 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJets.firstOrderEvaluation x u)) := by |
| 35 | apply Over.OverMorphism.ext |
| 36 | change Spec.map _ ≫ Spec.map _ = Spec.map _ |
| 37 | rw [← Spec.map_comp] |
| 38 | apply congrArg Spec.map |
| 39 | apply CommRingCat.hom_ext |
| 40 | exact congrArg AlgHom.toRingHom (GermRetraction.periodGermRetraction_firstOrder x u S hS) |
| 41 | exact (Category.assoc _ _ _).symm.trans (congrArg (· ≫ p) he) |
| 42 | |
| 43 | theorem firstOrderPoint_germ {X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsSeparated X.hom] |
| 44 | (x u : LinearTheta.BallCoordinates) (p q : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x) ⟶ X) |
| 45 | (h : (fun y => TestDensity.periodEvaluationPoint x y ≫ p) =ᶠ[𝓝 x] |
| 46 | (fun y => TestDensity.periodEvaluationPoint x y ≫ q)) : |
| 47 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x u p = AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x u q := by |
| 48 | classical |
| 49 | let S := {y | TestDensity.periodEvaluationPoint x y ≫ p = TestDensity.periodEvaluationPoint x y ≫ q} |
| 50 | have hS : S ∈ 𝓝 x := h |
| 51 | let r := AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (GermRetraction.periodGermRetraction x S hS)) |
| 52 | have he : r ≫ p = r ≫ q := by |
| 53 | apply TestDensity.periodTestMap_ext x |
| 54 | intro y |
| 55 | rw [← Category.assoc, ← Category.assoc, periodEvaluationPoint_retraction] |
| 56 | by_cases hy : y ∈ S |
| 57 | · simpa only [GermRetraction.periodNeighborhoodRetraction, ite_eq_left hy] using |
| 58 | (show TestDensity.periodEvaluationPoint x y ≫ p = TestDensity.periodEvaluationPoint x y ≫ q from hy) |
| 59 | · simpa only [GermRetraction.periodNeighborhoodRetraction, ite_eq_right hy] using h.eq_of_nhds |
| 60 | exact (firstOrderPoint_retraction x u S hS p).symm.trans |
| 61 | ((congrArg (AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x u) he).trans |
| 62 | (firstOrderPoint_retraction x u S hS q)) |
| 63 | |
| 64 | theorem formInPeriodCoordinates_germ {X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsSeparated X.hom] |
| 65 | (x : LinearTheta.BallCoordinates) (p q : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x) ⟶ X) |
| 66 | (h : (fun y => TestDensity.periodEvaluationPoint x y ≫ p) =ᶠ[𝓝 x] |
| 67 | (fun y => TestDensity.periodEvaluationPoint x y ≫ q)) (form : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.OneForms X) : |
| 68 | DifferentialNaturality.formInPeriodCoordinates x p form = DifferentialNaturality.formInPeriodCoordinates x q form := by |
| 69 | ext u |
| 70 | rw [AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJetDifferentials.formInPeriodCoordinates_firstOrder, |
| 71 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJetDifferentials.formInPeriodCoordinates_firstOrder, firstOrderPoint_germ x u p q h] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! Actual point germs determine the value and functoriality of their |
| 76 | first-order affine tests on every open period domain. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.AlgebraicGeometry Filter |
| 79 | open scoped _root_.Topology |
| 80 | |
| 81 | theorem periodGerm_firstOrder_value |
| 82 | (Ω : TopologicalSpace.Opens LinearTheta.BallCoordinates) {X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 83 | (c : Ω → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (x : Ω) (u : LinearTheta.BallCoordinates) |
| 84 | (p : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x.val) ⟶ X) |
| 85 | (hp : ∀ᶠ y in 𝓝 x.val, ∀ hy : y ∈ Ω, TestDensity.periodEvaluationPoint x.val y ≫ p = c ⟨y, hy⟩) : |
| 86 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.dualClosedPoint ≫ AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x.val u p = c x := |
| 87 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint_value x.val u p).trans (hp.self_of_nhds x.property) |
| 88 | |
| 89 | theorem periodGerm_firstOrder_comp |
| 90 | (Ω : TopologicalSpace.Opens LinearTheta.BallCoordinates) {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsSeparated Y.hom] |
| 91 | (f : X ⟶ Y) (c : Ω → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (d : Ω → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 92 | (hcd : ∀ z, c z ≫ f = d z) (x : Ω) (u : LinearTheta.BallCoordinates) |
| 93 | (p : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x.val) ⟶ X) |
| 94 | (q : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (DifferentialNaturality.periodTest x.val) ⟶ Y) |
| 95 | (hp : ∀ᶠ y in 𝓝 x.val, ∀ hy : y ∈ Ω, TestDensity.periodEvaluationPoint x.val y ≫ p = c ⟨y, hy⟩) |
| 96 | (hq : ∀ᶠ y in 𝓝 x.val, ∀ hy : y ∈ Ω, TestDensity.periodEvaluationPoint x.val y ≫ q = d ⟨y, hy⟩) : |
| 97 | AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x.val u p ≫ f = AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJet.firstOrderPoint x.val u q := by |
| 98 | have h : (fun y => TestDensity.periodEvaluationPoint x.val y ≫ (p ≫ f)) =ᶠ[𝓝 x.val] |
| 99 | (fun y => TestDensity.periodEvaluationPoint x.val y ≫ q) := by |
| 100 | filter_upwards [hp, hq, Ω.isOpen.mem_nhds x.property] with y hpy hqy hy |
| 101 | exact (Category.assoc _ p f).symm.trans |
| 102 | ((congrArg (· ≫ f) (hpy hy)).trans ((hcd ⟨y, hy⟩).trans (hqy hy).symm)) |
| 103 | exact (Category.assoc _ p f).trans (firstOrderPoint_germ x.val u (p ≫ f) q h) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.RepresentationTheory.Theta.Geometric.Period.ChartGerm |