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.Comparison.Betti.Affine.ClosedNormalCoordinates |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedGermQuotient |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.NormalEquationKernel |
| 4 | |
| 5 | /-! # Closed Germ Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedGermKernel.AnalyticLocal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual holomorphic restriction kernel is the extension of the original algebraic defining ideal. -/ |
| 14 | |
| 15 | open scoped ContDiff _root_.Topology |
| 16 | |
| 17 | open Filter |
| 18 | |
| 19 | variable {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 20 | [IsDomain B] [Algebra.Smooth ℂ B] {m : ℕ} |
| 21 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) |
| 22 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) |
| 23 | (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 24 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 25 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B)) |
| 26 | (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 27 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 28 | |
| 29 | include hh |
| 30 | |
| 31 | theorem affineChartGermPullback_ker_le_originalIdeal : |
| 32 | RingHom.ker (ClosedGermQuotient.AnalyticLocal.affineChartGermPullback h e f he hf x hx hfx) ≤ |
| 33 | ClosedGermQuotient.AnalyticLocal.affineClosedGermIdeal h f hf x hfx := by |
| 34 | obtain ⟨k, a, Ψ, hq, hbij, hcoords⟩ := |
| 35 | ClosedNormalCoordinates.affineClosed_exists_normalCoordinates h hh e f he hf x hx hfx |
| 36 | let q := fun w => (Ψ w, fun i => f.symm w (a i)) |
| 37 | have hnormal (i : Fin k) : Holomorphic.NormalEquationKernel.AnalyticLocal.normalEquationGerm q (f (x.comp h)) hq i = |
| 38 | ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx (a i) := by |
| 39 | apply Subtype.ext |
| 40 | rw [Holomorphic.NormalEquationKernel.AnalyticLocal.normalEquationGerm_val, ChartGermMap.AnalyticLocal.affineChartGermMap_val] |
| 41 | apply Germ.coe_eq.mpr |
| 42 | apply Eventually.of_forall |
| 43 | intro w |
| 44 | change f.symm w (a i) - f.symm (f (x.comp h)) (a i) = f.symm w (a i) |
| 45 | rw [f.left_inv hfx] |
| 46 | change f.symm w (a i) - x (h (a i)) = f.symm w (a i) |
| 47 | have hai : h (a i) = 0 := (a i).property |
| 48 | rw [hai, map_zero, sub_zero] |
| 49 | apply Holomorphic.NormalEquationKernel.AnalyticLocal.holomorphicNormalEquation_kernel_le |
| 50 | (fun z => f ((e.symm z).comp h)) (e x) |
| 51 | (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx) (f (x.comp h)) |
| 52 | (by rw [e.left_inv hx]) q hq hbij 0 hcoords |
| 53 | intro i |
| 54 | rw [hnormal] |
| 55 | exact Ideal.mem_map_of_mem (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx) (a i).property |
| 56 | |
| 57 | theorem affineChartGermPullback_ker : |
| 58 | RingHom.ker (ClosedGermQuotient.AnalyticLocal.affineChartGermPullback h e f he hf x hx hfx) = |
| 59 | ClosedGermQuotient.AnalyticLocal.affineClosedGermIdeal h f hf x hfx := |
| 60 | le_antisymm (affineChartGermPullback_ker_le_originalIdeal h hh e f he hf x hx hfx) |
| 61 | (ClosedGermQuotient.AnalyticLocal.affineClosedGermIdeal_le_ker h e f he hf x hx hfx) |
| 62 | |
| 63 | theorem affineClosedGermQuotientMap_bijective : |
| 64 | Function.Bijective (ClosedGermQuotient.AnalyticLocal.affineClosedGermQuotientMap h e f he hf x hx hfx) := by |
| 65 | constructor |
| 66 | · exact RingHom.lift_injective_of_ker_le_ideal _ |
| 67 | (ClosedGermQuotient.AnalyticLocal.affineClosedGermIdeal_le_ker h e f he hf x hx hfx) |
| 68 | (affineChartGermPullback_ker_le_originalIdeal h hh e f he hf x hx hfx) |
| 69 | · exact ClosedGermQuotient.AnalyticLocal.affineClosedGermQuotientMap_surjective h e f he hf x hx hfx hh |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! The exact affine germ kernel theorem in any regular chart of the proved native dimension. -/ |
| 74 | |
| 75 | theorem affineChartGermPullback_ker_of_dimension |
| 76 | {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 77 | [IsDomain B] [Algebra.Smooth ℂ B] {n m : ℕ} |
| 78 | (hn : Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B = n) |
| 79 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) |
| 80 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 81 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 82 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 83 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) : |
| 84 | RingHom.ker (ClosedGermQuotient.AnalyticLocal.affineChartGermPullback h e f he hf x hx hfx) = |
| 85 | ClosedGermQuotient.AnalyticLocal.affineClosedGermIdeal h f hf x hfx := by |
| 86 | subst n |
| 87 | exact affineChartGermPullback_ker h hh e f he hf x hx hfx |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedGermKernel.AnalyticLocal |