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.IntersectionTheory.ProjectionFormula.Integral.Height |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationCharts |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SemilocalNormalization |
| 4 | |
| 5 | /-! # Normalization Height -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationHeight.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Normalization of an integral scheme locally of finite type over a field |
| 12 | preserves every point's codimension. The affine proof uses prime-height |
| 13 | preservation under the actual integral extension. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.Order |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem normalizationMap_coheight {k : Type u} [Field k] |
| 22 | (X : Scheme.{u}) [IsIntegral X] (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f] |
| 23 | (y : IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X) : coheight (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X y) = coheight y := by |
| 24 | obtain ⟨U, hU, hxU, _⟩ := |
| 25 | exists_isAffineOpen_mem_and_subset (TopologicalSpace.Opens.mem_top (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X y)) |
| 26 | let : Nonempty U := ⟨⟨IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X y, hxU⟩⟩ |
| 27 | let A := Γ(X, U) |
| 28 | let B := integralClosure A X.functionField |
| 29 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 30 | let := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 31 | let := functionField_isFractionRing_of_isAffineOpen X U hU |
| 32 | have hinj : Function.Injective (algebraMap A B) := |
| 33 | IntersectionTheory.ProjectionFormula.SemilocalNormalization.algebraMap_injective A B X.functionField |
| 34 | have hyrange : y ∈ Set.range (NormalizationCharts.BundleCycles.normalizationChartMap X U hU) := by |
| 35 | rw [NormalizationCharts.BundleCycles.normalizationChartMap_range] |
| 36 | exact hxU |
| 37 | obtain ⟨q, hq⟩ := hyrange |
| 38 | have hpoint := congrArg (fun i : Spec (.of B) ⟶ X => i q) |
| 39 | (NormalizationCharts.BundleCycles.normalizationChartMap_comp X U hU) |
| 40 | change IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X (NormalizationCharts.BundleCycles.normalizationChartMap X U hU q) = |
| 41 | hU.fromSpec ((Spec.map (CommRingCat.ofHom (algebraMap A B))) q) at hpoint |
| 42 | rw [← hq, hpoint] |
| 43 | simp only [coheight_eq_of_isOpenImmersion] |
| 44 | rw [← idealHeight_eq_coheight, ← idealHeight_eq_coheight] |
| 45 | exact IntersectionTheory.ProjectionFormula.Integral.Height.integral_height_under k A B hinj q |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationHeight.BundleCycles |