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.HodgeConjecture.DegreeTwo.AffineOpenChartDimension |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AffineSectionCoordinates |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicParameterDifferential |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SubmersionCoordinates |
| 5 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineOpenSmooth |
| 6 | |
| 7 | /-! # Intrinsic Section Chart -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicSectionChart.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # DegreeTwo: native scheme charts with the actual divisor section as coordinate |
| 15 | |
| 16 | Regular affine charts of the fixed native dimension lift through the |
| 17 | actual affine-open map. The normal coordinate change therefore retains |
| 18 | complex differentiability on the scheme's native manifold. |
| 19 | -/ |
| 20 | |
| 21 | open scoped ContDiff _root_.Topology _root_.Manifold |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 25 | |
| 26 | local instance nativeSectionChartIntegral : IsIntegral X.toOver.left := inferInstanceAs (IsIntegral X.carrier) |
| 27 | local instance nativeSectionChartSmooth : Smooth X.toOver.hom := X.smooth |
| 28 | |
| 29 | /-- The actual section equation becomes a normal coordinate in a chart |
| 30 | of the native scheme manifold, contained in its original analytic open. -/ |
| 31 | theorem exists_native_section_chart_smooth (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 32 | (p b : Γ(X.carrier, U)) (hp : p ≠ 0) |
| 33 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 34 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 35 | (x : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U) (hxp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p x = 0) |
| 36 | (hxb : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U b x ≠ 0) : |
| 37 | ∃ (e : OpenPartialHomeomorph |
| 38 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) |
| 39 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ)) |
| 40 | (q : OpenPartialHomeomorph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 41 | (ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 42 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker)), |
| 43 | x.val ∈ q.source ∧ q x.val = 0 ∧ q.source ⊆ (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U : Set _) ∧ |
| 44 | (∀ z : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U, z.val ∈ q.source → (q z.val).1 = DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p z) ∧ |
| 45 | q.MDifferentiable 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 46 | 𝓘(ℂ, ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 47 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker) ∧ |
| 48 | ContMDiffOn 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 49 | 𝓘(ℂ, ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 50 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker) ∞ q q.source ∧ |
| 51 | ContMDiffOn 𝓘(ℂ, ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 52 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker) |
| 53 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) ∞ q.symm q.target := by |
| 54 | let : Nonempty U := ⟨⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val, x.property⟩⟩ |
| 55 | let A := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U |
| 56 | let hAdomain : IsDomain A := by |
| 57 | change IsDomain Γ(X.carrier, U) |
| 58 | infer_instance |
| 59 | let hAsmooth : Algebra.Smooth ℂ A := Foundations.Scheme.AffineOpenSmooth.specSectionScalarAlgebra_smooth X.structureMap U hU |
| 60 | let i := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X.toOver U hU |
| 61 | let : IsOpenImmersion i.left := by |
| 62 | change IsOpenImmersion hU.fromSpec |
| 63 | infer_instance |
| 64 | let E := AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU |
| 65 | let y := E.symm x |
| 66 | have hiy : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i y = x.val := by |
| 67 | rw [← AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph_val X U hU] |
| 68 | exact congrArg Subtype.val (E.apply_symm_apply x) |
| 69 | have heval (a : Γ(X.carrier, U)) : y a = DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U a x := by |
| 70 | have h := AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph_evaluation X U hU y a |
| 71 | change DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U a (E (E.symm x)) = y a at h |
| 72 | rw [E.apply_symm_apply] at h |
| 73 | exact h.symm |
| 74 | obtain ⟨e, he, hye⟩ := AffineOpenChartDimension.Constructions.exists_affineOpen_regularChart_nativeDimension A i y |
| 75 | have hyp : y p = 0 := (heval p).trans hxp |
| 76 | have hyb : y b ≠ 0 := by rwa [heval b] |
| 77 | have hs := @IntrinsicParameterDifferential.Constructions.parameter_fderiv_surjective_in_regularChart A inferInstance hAdomain |
| 78 | inferInstance hAsmooth p b hp hsm _ e he y hye hyp hyb |
| 79 | have hfp := (he.1 p).contDiffAt (e.open_target.mem_nhds (e.map_source hye)) |
| 80 | obtain ⟨r, hr, hry, hrf, hrc, hri⟩ := |
| 81 | SubmersionCoordinates.Constructions.exists_analytic_submersion_coordinates (fun z => e.symm z p) (e y) hfp hs |
| 82 | let c := ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme A i e |
| 83 | have hc : c ∈ ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.schemeRegularAtlas X.toOver |
| 84 | (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) := ⟨U, hU, e, he, rfl⟩ |
| 85 | have hxc : x.val ∈ c.source := ⟨y, hye, hiy⟩ |
| 86 | have hcx : c x.val = e y := by |
| 87 | rw [← hiy] |
| 88 | exact ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_apply A i e y |
| 89 | let q := c.trans r |
| 90 | have hxq : x.val ∈ q.source := by |
| 91 | refine ⟨hxc, ?_⟩ |
| 92 | change c x.val ∈ r.source |
| 93 | rwa [hcx] |
| 94 | refine ⟨e, q, hxq, ?_, ?_, ?_, ?_⟩ |
| 95 | · change r (c x.val) = 0 |
| 96 | rw [hcx, hry, e.left_inv hye, hyp] |
| 97 | rfl |
| 98 | · intro z hz |
| 99 | obtain ⟨w, _, hw⟩ := hz.1 |
| 100 | have hv := (E w).property |
| 101 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (E w).val ∈ U at hv |
| 102 | rw [AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph_val X U hU, hw] at hv |
| 103 | exact hv |
| 104 | · intro z hz |
| 105 | obtain ⟨w, hw, hwz⟩ := hz.1 |
| 106 | have hEz : E w = z := by |
| 107 | apply Subtype.ext |
| 108 | exact (AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph_val X U hU w).trans hwz |
| 109 | change (r (c z.val)).1 = _ |
| 110 | rw [hrf, ← hwz, ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_apply, e.left_inv hw] |
| 111 | rw [← hEz] |
| 112 | exact (AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph_evaluation X U hU w p).symm |
| 113 | · let I := 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 114 | let J := 𝓘(ℂ, ℂ × (fderiv ℂ (fun z => e.symm z p) (e y)).ker) |
| 115 | have hcc : ContMDiffOn I I ∞ c c.source := |
| 116 | contMDiffOn_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas hc) |
| 117 | have hci : ContMDiffOn I I ∞ c.symm c.target := |
| 118 | contMDiffOn_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas hc) |
| 119 | have hqf : ContMDiffOn I J ∞ q q.source := |
| 120 | (hrc.of_le (show (∞ : ℕ∞ω) ≤ ω from le_top)).contMDiffOn.comp |
| 121 | (hcc.mono Set.inter_subset_left) (fun _ hz => hz.2) |
| 122 | have hqi : ContMDiffOn J I ∞ q.symm q.target := |
| 123 | hci.comp ((hri.of_le (show (∞ : ℕ∞ω) ≤ ω from le_top)).contMDiffOn.mono |
| 124 | Set.inter_subset_left) (fun _ hz => hz.2) |
| 125 | exact ⟨⟨hqf.mdifferentiableOn (by simp), hqi.mdifferentiableOn (by simp)⟩, hqf, hqi⟩ |
| 126 | |
| 127 | /-- The native complex differentiability consequence of the actual smooth |
| 128 | normal-chart construction. -/ |
| 129 | theorem exists_native_section_chart (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 130 | (p b : Γ(X.carrier, U)) (hp : p ≠ 0) |
| 131 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 132 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 133 | (x : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U) (hxp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p x = 0) |
| 134 | (hxb : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U b x ≠ 0) : |
| 135 | ∃ (e : OpenPartialHomeomorph |
| 136 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X.toOver U)) |
| 137 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ)) |
| 138 | (q : OpenPartialHomeomorph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 139 | (ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 140 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker)), |
| 141 | x.val ∈ q.source ∧ q x.val = 0 ∧ q.source ⊆ (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U : Set _) ∧ |
| 142 | (∀ z : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U, z.val ∈ q.source → (q z.val).1 = DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p z) ∧ |
| 143 | q.MDifferentiable 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 144 | 𝓘(ℂ, ℂ × (fderiv ℂ (fun z => e.symm z p) |
| 145 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker) := by |
| 146 | obtain ⟨e, q, hxq, hqx, hqU, hq, hqd, _, _⟩ := |
| 147 | exists_native_section_chart_smooth X U hU p b hp hsm x hxp hxb |
| 148 | exact ⟨e, q, hxq, hqx, hqU, hq, hqd⟩ |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicSectionChart.Constructions |