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.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterExistence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterFrame |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TraceBasisRestriction |
| 4 | |
| 5 | /-! # Chart Existence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ChartExistence.Parameter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full parameter charts for a smooth projective section, optionally |
| 12 | refined inside an actual finite étale trace chart. All chart data are |
| 13 | derived from the original geometric hypotheses. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [IsArtinianRing R] [IsLocalRing R] |
| 21 | {N : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) |
| 24 | [IsClosedImmersion f.left] (z : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion z] |
| 25 | (hz : z ≫ X.hom = 𝟙 _) (g : ℕ) [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 26 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hcontains : ⊤ ≤ z ⁻¹ᵁ (f.left ⁻¹ᵁ U)) |
| 27 | |
| 28 | include hz hcontains in |
| 29 | theorem exists_chart : |
| 30 | ∃ (V : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hV : IsAffineOpen V), |
| 31 | V ≤ U ∧ Nonempty (PointParameterData.Chart.Data X f z g V hV) := by |
| 32 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 33 | obtain ⟨V,hV,hVU,⟨D⟩⟩ := ParameterExistence.Chart.exists_parameters X f z hz g U hcontains |
| 34 | obtain ⟨W,hW,hWV,_,⟨C⟩⟩ := PointParameterData.Chart.ParameterData.exists_frame X f z g V hV D |
| 35 | exact ⟨W,hW,hWV.trans hVU,⟨C⟩⟩ |
| 36 | |
| 37 | variable (Y : Over (Spec (CommRingCat.of R))) (a : Y ⟶ X) [IsFinite a.left] [Etale a.left] |
| 38 | |
| 39 | include hz hcontains in |
| 40 | theorem exists_finite_chart : |
| 41 | ∃ (V : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hV : IsAffineOpen V), V ≤ U ∧ |
| 42 | FiniteEtale.TraceBasis.Good R Y X a (f.left ⁻¹ᵁ V) ∧ Nonempty (PointParameterData.Chart.Data X f z g V hV) := by |
| 43 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 44 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 45 | let p : Spec (CommRingCat.of R) := Classical.ofNonempty |
| 46 | obtain ⟨W,hxW,_⟩ := FiniteEtale.TraceBasis.neighborhood R Y X a ⊤ (z p) trivial |
| 47 | have hxU : f.left (z p) ∈ U := hcontains (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 48 | obtain ⟨T,_,hxT,hTU,hTW⟩ := Closed.AffineNeighborhood.exists_subopen f.left U W.val (z p) hxU hxW |
| 49 | have hcontainsT : ⊤ ≤ z ⁻¹ᵁ (f.left ⁻¹ᵁ T) := by |
| 50 | intro q _ |
| 51 | have hqp : q=p := Subsingleton.elim _ _ |
| 52 | change f.left (z q) ∈ T |
| 53 | rw [hqp] |
| 54 | exact hxT |
| 55 | obtain ⟨V,hV,hVT,⟨D⟩⟩ := exists_chart X f z hz g T hcontainsT |
| 56 | have hVW : f.left ⁻¹ᵁ V ≤ W.val := (f.left.preimage_mono hVT).trans hTW |
| 57 | exact ⟨V,hV,hVT.trans hTU, |
| 58 | FiniteEtale.TraceBasisRestriction.good R Y X a W.val (f.left ⁻¹ᵁ V) |
| 59 | W.property (hV.preimage f.left) hVW,⟨D⟩⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ChartExistence.Parameter |