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.AbelianScheme.TateComparison.AffineFormFaithfulness |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FormsAffineLocality |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AffineEvaluation |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.KaehlerGluing |
| 5 | import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.FormNaturality |
| 6 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenDifferential |
| 7 | import OAI.Topology.Euclidean.OpenCoordinateTransport |
| 8 | |
| 9 | /-! # Global Form Faithfulness -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GlobalFormFaithfulness |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The genuine smooth realization detects all affine-test one-forms. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.Comparison.Betti.Smooth.FormNaturality |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | attribute [local instance] Comparison.Betti.Algebraic.Sheaves.sectionAlgebra |
| 21 | |
| 22 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (U : X.left.Opens) (hU : IsAffineOpen U) |
| 23 | |
| 24 | def affineOpenAnalyticMap : |
| 25 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) → Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U := |
| 26 | fun x => ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU x, by |
| 27 | have h : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU x ∈ |
| 28 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU) := ⟨x, rfl⟩ |
| 29 | rwa [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] at h⟩ |
| 30 | |
| 31 | theorem affineOpenAnalyticMap_evaluation |
| 32 | (a : Γ(X.left, U)) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) : |
| 33 | x a = Comparison.Betti.Open.AffineIsoEvaluation.sectionEvaluationOn X U a (affineOpenAnalyticMap X U hU x) := by |
| 34 | have : IsOpenImmersion (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU).left := by |
| 35 | change IsOpenImmersion hU.fromSpec |
| 36 | infer_instance |
| 37 | have he : HodgeConjecture.CMExtraction.AffineEvaluation.Kaehler.affineOpenCharacter X U hU (affineOpenAnalyticMap X U hU x) = x := |
| 38 | (ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap _ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU)).injective |
| 39 | (HodgeConjecture.CMExtraction.AffineEvaluation.Kaehler.affineOpenCharacter_point X U hU _) |
| 40 | exact (congrArg (fun y => y a) he).symm.trans |
| 41 | (HodgeConjecture.CMExtraction.AffineEvaluation.Kaehler.affineOpenCharacter_evaluation X U hU _ a) |
| 42 | |
| 43 | variable [IsIntegral X.left] [Smooth X.hom] [Nonempty U] |
| 44 | |
| 45 | variable [Algebra.Smooth ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)] |
| 46 | |
| 47 | theorem affineOpenAnalyticMap_smooth : |
| 48 | ContMDiff |
| 49 | 𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) → ℂ) |
| 50 | 𝓘(ℝ, Comparison.Betti.RegularSmoothness.NativeModel X) ∞ (affineOpenAnalyticMap X U hU) := by |
| 51 | apply (Topology.Euclidean.OpenCoordinateTransport.Globalization.contMDiff_subtypeVal_comp_iff_order (Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U) _).mp |
| 52 | exact ComplexPoints.Analytic.AffineOpenDifferential.real_contMDiff_affinePointMap _ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) ∞ |
| 53 | |
| 54 | theorem affineOpenRealization_pullback (form : FormConstants.OneForms X) : |
| 55 | AffineFormFaithfulness.affineKaehlerRealization (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 56 | (form.val _ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU)) = |
| 57 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (affineOpenAnalyticMap X U hU) (affineOpenAnalyticMap_smooth X U hU) |
| 58 | (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv (Comparison.Betti.RegularSmoothness.NativeModel X) (Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U) 1 |
| 59 | (HodgeConjecture.CMExtraction.Kaehler.affineSmoothForm X U hU form)) := by |
| 60 | let R := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U |
| 61 | have hopen : Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv (Comparison.Betti.RegularSmoothness.NativeModel X) (Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U) 1 |
| 62 | (HodgeConjecture.CMExtraction.Kaehler.affineSmoothForm X U hU form) = |
| 63 | Comparison.Betti.Smooth.FormRealization.oneFormMap (Comparison.Betti.Open.AffineIsoEvaluation.sectionEvaluationOn X U) (Comparison.Betti.Open.SmoothEvaluation.sectionEvaluationOn_smooth X U) |
| 64 | (HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form) := by |
| 65 | change (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv (Comparison.Betti.RegularSmoothness.NativeModel X) (Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U) 1) |
| 66 | ((Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv (Comparison.Betti.RegularSmoothness.NativeModel X) (Comparison.Betti.Open.AffineIsoEvaluation.analyticOpen X U) 1).symm |
| 67 | (Comparison.Betti.Smooth.CochainMap.smoothFormMap (Comparison.Betti.Open.AffineIsoEvaluation.sectionEvaluationOn X U) (Comparison.Betti.Open.SmoothEvaluation.sectionEvaluationOn_smooth X U) 1 |
| 68 | (HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form))) = _ |
| 69 | rw [LinearEquiv.apply_symm_apply, Comparison.Betti.Smooth.CochainMap.smoothFormMap_one] |
| 70 | rw [hopen] |
| 71 | have hn := Comparison.Betti.Smooth.FormNaturality.oneFormMap_naturality (AffineFormFaithfulness.affineEvaluation R) (AffineFormFaithfulness.affineEvaluation_smooth R) |
| 72 | (Comparison.Betti.Open.AffineIsoEvaluation.sectionEvaluationOn X U) (Comparison.Betti.Open.SmoothEvaluation.sectionEvaluationOn_smooth X U) (AlgHom.id ℂ R) |
| 73 | (affineOpenAnalyticMap X U hU) (affineOpenAnalyticMap_smooth X U hU) |
| 74 | (affineOpenAnalyticMap_evaluation X U hU) (HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form) |
| 75 | have hid : Comparison.Betti.Algebraic.Forms.pullback (AlgHom.id ℂ R) 1 (HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form) = |
| 76 | HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form := |
| 77 | congrArg (fun L : Comparison.Betti.Algebraic.Forms.Form R 1 →ₗ[ℂ] Comparison.Betti.Algebraic.Forms.Form R 1 => |
| 78 | L (HodgeConjecture.CMExtraction.Kaehler.affineForm X U hU form)) (Comparison.Betti.Algebraic.Forms.pullback_id (A := R) 1) |
| 79 | exact (congrArg (Comparison.Betti.Smooth.FormRealization.oneFormMap (AffineFormFaithfulness.affineEvaluation R) (AffineFormFaithfulness.affineEvaluation_smooth R)) hid).symm.trans hn |
| 80 | |
| 81 | omit [Nonempty U] [Algebra.Smooth ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)] in |
| 82 | theorem globalSmoothForm_eq_zero [X.left.IsSeparated] (form : FormConstants.OneForms X) |
| 83 | (hform : HodgeConjecture.CMExtraction.KaehlerGluing.globalSmoothForm X form = 0) : form = 0 := by |
| 84 | apply FormsAffineLocality.oneForm_eq_zero_of_affineOpens form |
| 85 | intro V hV |
| 86 | classical |
| 87 | by_cases hVn : Nonempty V |
| 88 | · let : Nonempty V := hVn |
| 89 | let : Algebra.Smooth ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) := |
| 90 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_smooth X V hV |
| 91 | apply (AffineFormFaithfulness.affineKaehlerRealization_injective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V)) |
| 92 | rw [map_zero, affineOpenRealization_pullback X V hV] |
| 93 | have ha : HodgeConjecture.CMExtraction.Kaehler.affineSmoothForm X V hV form = 0 := by |
| 94 | rw [← HodgeConjecture.CMExtraction.KaehlerGluing.globalSmoothForm_onAffine, hform, map_zero] |
| 95 | rw [ha, map_zero, map_zero] |
| 96 | · have hV0 : V = ⊥ := by |
| 97 | apply le_antisymm _ bot_le |
| 98 | intro p hp |
| 99 | exact (hVn ⟨⟨p, hp⟩⟩).elim |
| 100 | subst V |
| 101 | have : Subsingleton (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X ⊥) := |
| 102 | inferInstanceAs (Subsingleton Γ(X.left, ⊥)) |
| 103 | exact Subsingleton.elim _ _ |
| 104 | |
| 105 | omit [Nonempty U] [Algebra.Smooth ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)] in |
| 106 | theorem globalSmoothForm_injective [X.left.IsSeparated] : Function.Injective (HodgeConjecture.CMExtraction.KaehlerGluing.globalSmoothForm X) := by |
| 107 | intro form η h |
| 108 | apply sub_eq_zero.mp |
| 109 | apply globalSmoothForm_eq_zero X (form - η) |
| 110 | rw [map_sub, h, sub_self] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GlobalFormFaithfulness |