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.LocalHolomorphicRetract |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Affine.ChartGermMap |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |
| 4 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 5 | |
| 6 | /-! # Closed Germ Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedGermQuotient.AnalyticLocal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! A genuine affine closed immersion pulls holomorphic germs back surjectively, compatibly with regular functions. -/ |
| 15 | |
| 16 | open Set Filter |
| 17 | open scoped _root_.Topology ContDiff |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |
| 20 | |
| 21 | variable {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] {n m : ℕ} |
| 22 | (h : A →ₐ[ℂ] B) |
| 23 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 24 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 25 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 26 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 27 | |
| 28 | def affineChartGermPullback : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f (x.comp h)) →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) := |
| 29 | LocalHolomorphicComposition.Analytic.localHolomorphicCompositionAt (fun z => f ((e.symm z).comp h)) (e x) |
| 30 | (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx) (f (x.comp h)) |
| 31 | (by rw [e.left_inv hx]) |
| 32 | |
| 33 | theorem affineChartGermPullback_regular : |
| 34 | (affineChartGermPullback h e f he hf x hx hfx).comp (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx) = |
| 35 | (ChartGermMap.AnalyticLocal.affineChartGermMap e he x hx).comp h.toRingHom := by |
| 36 | apply RingHom.ext |
| 37 | intro a |
| 38 | apply Subtype.ext |
| 39 | change (LocalHolomorphicComposition.Analytic.localHolomorphicCompositionAt (fun z => f ((e.symm z).comp h)) (e x) |
| 40 | (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx) (f (x.comp h)) |
| 41 | (by rw [e.left_inv hx]) (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx a)).val = |
| 42 | (ChartGermMap.AnalyticLocal.affineChartGermMap e he x hx (h a)).val |
| 43 | erw [LocalHolomorphicComposition.Analytic.localHolomorphicCompositionAt_val, ChartGermMap.AnalyticLocal.affineChartGermMap_val, ChartGermMap.AnalyticLocal.affineChartGermMap_val] |
| 44 | apply Germ.coe_eq.mpr |
| 45 | filter_upwards [ComplexPoints.Analytic.SmoothClosedImmersion.affineChartComap_neighborhood h e f x hx hfx] with z hz |
| 46 | change f.symm (f ((e.symm z).comp h)) a = e.symm z (h a) |
| 47 | rw [f.left_inv hz.2] |
| 48 | rfl |
| 49 | |
| 50 | theorem affineChartGermPullback_surjective (hh : Function.Surjective h) : |
| 51 | Function.Surjective (affineChartGermPullback h e f he hf x hx hfx) := by |
| 52 | obtain ⟨g, hg, hgf⟩ := ComplexPoints.Analytic.SmoothClosedImmersion.exists_affineChartComap_localLeftInverse h hh e f he hf x hx hfx |
| 53 | exact LocalHolomorphicRetract.Analytic.localHolomorphicCompositionAt_surjective_of_leftInverse |
| 54 | (fun z => f ((e.symm z).comp h)) (e x) |
| 55 | (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx) (f (x.comp h)) |
| 56 | (by rw [e.left_inv hx]) g hg hgf |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! The actual closed-immersion germ map factors through the analytically extended algebraic ideal. -/ |
| 61 | |
| 62 | open Set Filter |
| 63 | open scoped _root_.Topology ContDiff |
| 64 | |
| 65 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |
| 66 | |
| 67 | variable {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] {n m : ℕ} |
| 68 | (h : A →ₐ[ℂ] B) |
| 69 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 70 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 71 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 72 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 73 | |
| 74 | def affineClosedGermIdeal : Ideal (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f (x.comp h))) := |
| 75 | Ideal.map (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx) (RingHom.ker h.toRingHom) |
| 76 | |
| 77 | theorem affineClosedGermIdeal_le_ker : |
| 78 | affineClosedGermIdeal h f hf x hfx ≤ RingHom.ker (affineChartGermPullback h e f he hf x hx hfx) := by |
| 79 | apply Ideal.map_le_iff_le_comap.mpr |
| 80 | intro a ha |
| 81 | change affineChartGermPullback h e f he hf x hx hfx (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx a) = 0 |
| 82 | have hs := RingHom.congr_fun (affineChartGermPullback_regular h e f he hf x hx hfx) a |
| 83 | change affineChartGermPullback h e f he hf x hx hfx (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx a) = |
| 84 | ChartGermMap.AnalyticLocal.affineChartGermMap e he x hx (h a) at hs |
| 85 | exact hs.trans ((congrArg (ChartGermMap.AnalyticLocal.affineChartGermMap e he x hx) ha).trans (map_zero _)) |
| 86 | |
| 87 | def affineClosedGermQuotientMap : |
| 88 | (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f (x.comp h)) ⧸ affineClosedGermIdeal h f hf x hfx) →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) := |
| 89 | Ideal.Quotient.lift _ (affineChartGermPullback h e f he hf x hx hfx) |
| 90 | (affineClosedGermIdeal_le_ker h e f he hf x hx hfx) |
| 91 | |
| 92 | theorem affineClosedGermQuotientMap_regular (a : A) : |
| 93 | affineClosedGermQuotientMap h e f he hf x hx hfx |
| 94 | (Ideal.Quotient.mk _ (ChartGermMap.AnalyticLocal.affineChartGermMap f hf (x.comp h) hfx a)) = |
| 95 | ChartGermMap.AnalyticLocal.affineChartGermMap e he x hx (h a) := |
| 96 | RingHom.congr_fun (affineChartGermPullback_regular h e f he hf x hx hfx) a |
| 97 | |
| 98 | theorem affineClosedGermQuotientMap_surjective (hh : Function.Surjective h) : |
| 99 | Function.Surjective (affineClosedGermQuotientMap h e f he hf x hx hfx) := by |
| 100 | intro b |
| 101 | obtain ⟨a, ha⟩ := affineChartGermPullback_surjective h e f he hf x hx hfx hh b |
| 102 | exact ⟨Ideal.Quotient.mk _ a, ha⟩ |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedGermQuotient.AnalyticLocal |