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.IntrinsicSectionChart |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportedNormalPair |
| 3 | |
| 4 | /-! # Intrinsic Section Normal Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicSectionNormalPair.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: native complex normal pairs for actual scheme divisors |
| 12 | |
| 13 | The support is the full zero locus on the original algebraic open, mapped |
| 14 | into the whole native analytic scheme. Its actual section is the normal |
| 15 | coordinate, and the chart is complex differentiable in both directions. |
| 16 | -/ |
| 17 | |
| 18 | open scoped ContDiff _root_.Topology _root_.Manifold |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 22 | |
| 23 | local instance nativeSectionNormalPairIntegral : IsIntegral X.toOver.left := inferInstanceAs (IsIntegral X.carrier) |
| 24 | local instance nativeSectionNormalPairSmooth : Smooth X.toOver.hom := X.smooth |
| 25 | |
| 26 | /-- Actual scheme-section divisors admit complex differentiable normal |
| 27 | pairs inside their original open, with the proved codimension one. -/ |
| 28 | theorem exists_native_section_normalPair_smooth (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 29 | (p b : Γ(X.carrier, U)) (hp : p ≠ 0) |
| 30 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 31 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 32 | (x : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U) (hxp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p x = 0) |
| 33 | (hxb : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U b x ≠ 0) : |
| 34 | ∃ (d : ℕ) (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) ℂ |
| 35 | (fun z : {y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U // DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p y = 0} => z.val.val) |
| 36 | ⟨x, hxp⟩), |
| 37 | ∃ hPU : P.neighborhood ⊆ (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U : Set _), |
| 38 | d + 1 = Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom ∧ |
| 39 | P.ambientChart.MDifferentiable |
| 40 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 41 | 𝓘(ℂ, (Fin d → ℂ) × ℂ) ∧ |
| 42 | ContMDiffOn 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 43 | 𝓘(ℂ, (Fin d → ℂ) × ℂ) ∞ P.ambientChart P.ambientChart.source ∧ |
| 44 | ContMDiffOn 𝓘(ℂ, (Fin d → ℂ) × ℂ) |
| 45 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 46 | ∞ P.ambientChart.symm P.ambientChart.target ∧ |
| 47 | ∀ y : P.neighborhood, P.normalCoordinate y = |
| 48 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p ⟨y.val, hPU y.property⟩ := by |
| 49 | obtain ⟨e, q, hxq, hqx, hqU, hq, hqd, hqf, hqi⟩ := |
| 50 | IntrinsicSectionChart.Constructions.exists_native_section_chart_smooth X U hU p b hp hsm x hxp hxb |
| 51 | let D := (fderiv ℂ (fun z => e.symm z p) |
| 52 | (e ((AffineSectionCoordinates.Constructions.affineSectionPointHomeomorph X U hU).symm x))).ker |
| 53 | let d := Module.finrank ℂ D |
| 54 | let c : D ≃L[ℂ] (Fin d → ℂ) := (Module.finBasis ℂ D).equivFun.toContinuousLinearEquiv |
| 55 | let k : (ℂ × D) ≃L[ℂ] ((Fin d → ℂ) × ℂ) := |
| 56 | ((LinearEquiv.prodComm ℂ ℂ D).trans |
| 57 | (c.toLinearEquiv.prodCongr (LinearEquiv.refl ℂ ℂ))).toContinuousLinearEquiv |
| 58 | let r := q.transHomeomorph k.toHomeomorph |
| 59 | have hrx : r x.val = 0 := by |
| 60 | change k (q x.val) = 0 |
| 61 | rw [hqx, map_zero] |
| 62 | have hkd : k.toHomeomorph.toOpenPartialHomeomorph.MDifferentiable |
| 63 | 𝓘(ℂ, ℂ × D) 𝓘(ℂ, (Fin d → ℂ) × ℂ) := |
| 64 | ⟨(k.contDiff (n := 1)).contMDiff.mdifferentiable one_ne_zero |>.mdifferentiableOn, |
| 65 | (k.symm.contDiff (n := 1)).contMDiff.mdifferentiable one_ne_zero |>.mdifferentiableOn⟩ |
| 66 | have hrd : r.MDifferentiable |
| 67 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 68 | 𝓘(ℂ, (Fin d → ℂ) × ℂ) := by |
| 69 | change (q.transHomeomorph k.toHomeomorph).MDifferentiable _ _ |
| 70 | rw [OpenPartialHomeomorph.transHomeomorph_eq_trans] |
| 71 | exact hqd.trans hkd |
| 72 | have hrf : ContMDiffOn |
| 73 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 74 | 𝓘(ℂ, (Fin d → ℂ) × ℂ) ∞ r r.source := |
| 75 | (k.contDiff (n := ∞)).contMDiff.comp_contMDiffOn hqf |
| 76 | have hri : ContMDiffOn 𝓘(ℂ, (Fin d → ℂ) × ℂ) |
| 77 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 78 | ∞ r.symm r.target := |
| 79 | hqi.comp (k.symm.contDiff (n := ∞)).contMDiff.contMDiffOn (fun _ hz => hz) |
| 80 | have hdim := (hqd.mfderiv hxq).toLinearEquiv.finrank_eq |
| 81 | change Module.finrank ℂ (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) = |
| 82 | Module.finrank ℂ (ℂ × D) at hdim |
| 83 | have hd : d + 1 = Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom := by |
| 84 | have hdim' : Module.finrank ℂ (ℂ × D) = |
| 85 | Module.finrank ℂ (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) := |
| 86 | hdim.symm |
| 87 | erw [Module.finrank_prod, Module.finrank_self, Module.finrank_fin_fun] at hdim' |
| 88 | change Module.finrank ℂ D + 1 = _ |
| 89 | omega |
| 90 | let j := fun z : {y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U // DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p y = 0} => z.val.val |
| 91 | have hrange : ∀ y ∈ r.source, y ∈ Set.range j ↔ (r y).2 = 0 := by |
| 92 | intro y hy |
| 93 | have hcoord := hq ⟨y, hqU hy⟩ hy |
| 94 | change (r y).2 = DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p ⟨y, hqU hy⟩ at hcoord |
| 95 | rw [hcoord] |
| 96 | constructor |
| 97 | · rintro ⟨z, rfl⟩ |
| 98 | exact z.property |
| 99 | · intro hpz |
| 100 | exact ⟨⟨⟨y, hqU hy⟩, hpz⟩, rfl⟩ |
| 101 | obtain ⟨P, hchart⟩ := SupportedNormalPair.Constructions.exists_supported_normalPair j ⟨x, hxp⟩ r hxq hrx hrange |
| 102 | have hPU : P.neighborhood ⊆ (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U : Set _) := by |
| 103 | intro y hy |
| 104 | have hs := P.neighborhood_subset_source hy |
| 105 | rw [hchart] at hs |
| 106 | exact hqU hs |
| 107 | refine ⟨d, P, hPU, hd, ?_, ?_, ?_, ?_⟩ |
| 108 | · rw [hchart] |
| 109 | exact hrd |
| 110 | · rw [hchart] |
| 111 | exact hrf |
| 112 | · rw [hchart] |
| 113 | exact hri |
| 114 | · intro y |
| 115 | have hs := P.neighborhood_subset_source y.property |
| 116 | rw [hchart] at hs |
| 117 | rw [P.normalCoordinate_apply, hchart] |
| 118 | exact hq ⟨y.val, hPU y.property⟩ hs |
| 119 | |
| 120 | /-- The native complex differentiability consequence of the proved |
| 121 | smooth normal-pair construction. -/ |
| 122 | theorem exists_native_section_normalPair (U : X.carrier.Opens) (hU : IsAffineOpen U) |
| 123 | (p b : Γ(X.carrier, U)) (hp : p ≠ 0) |
| 124 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 125 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 126 | (x : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U) (hxp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p x = 0) |
| 127 | (hxb : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U b x ≠ 0) : |
| 128 | ∃ (d : ℕ) (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) ℂ |
| 129 | (fun z : {y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U // DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p y = 0} => z.val.val) |
| 130 | ⟨x, hxp⟩), |
| 131 | ∃ hPU : P.neighborhood ⊆ (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X U : Set _), |
| 132 | d + 1 = Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom ∧ |
| 133 | P.ambientChart.MDifferentiable |
| 134 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.toOver.hom) → ℂ) |
| 135 | 𝓘(ℂ, (Fin d → ℂ) × ℂ) ∧ |
| 136 | ∀ y : P.neighborhood, P.normalCoordinate y = |
| 137 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U p ⟨y.val, hPU y.property⟩ := by |
| 138 | obtain ⟨d, P, hPU, hd, hmd, _, _, hcoord⟩ := |
| 139 | exists_native_section_normalPair_smooth X U hU p b hp hsm x hxp hxb |
| 140 | exact ⟨d, P, hPU, hd, hmd, hcoord⟩ |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicSectionNormalPair.Constructions |