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.Parameter.LocalMap |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IntegralModelLift |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveOrder |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ModelImage |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FunctionDivisor |
| 6 | |
| 7 | /-! # Zero Cover -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ZeroCover |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every zero on a normal scheme is covered by the normalized zero |
| 14 | parameter model, whenever that model has its prescribed birational map. |
| 15 | The proof constructs the actual coordinate-ring map into the zero's stalk. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.Place OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Branches OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FunctionDivisor |
| 22 | Normalization.Scheme |
| 23 | |
| 24 | theorem positive_mem_range {k : Type} [Field k] {X : Scheme.{0}} [IsIntegral X] |
| 25 | [IsLocallyNoetherian X] [X.IsSeparated] (f : X ⟶ Spec (.of k)) (g : X.functionField) : |
| 26 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 27 | ∀ hg : Transcendental k g, |
| 28 | letI := Branches.localAlgebra k X.functionField g hg |
| 29 | ∀ (i : Spec (.of (integralClosure (Polynomial.Place.localRing k) X.functionField)) ⟶ X), |
| 30 | Spec.map (CommRingCat.ofHom (algebraMap (integralClosure (Polynomial.Place.localRing k) X.functionField) |
| 31 | X.functionField)) ≫ i = Normalization.Scheme.genericMap X → |
| 32 | ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x) → 0 < X.ord g x → x ∈ Set.range i := by |
| 33 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 34 | intro hg |
| 35 | let := Branches.localAlgebra k X.functionField g hg |
| 36 | intro i hi x hn hp |
| 37 | let := hn |
| 38 | let B := X.presheaf.stalk x |
| 39 | let D := integralClosure (Polynomial.Place.localRing k) X.functionField |
| 40 | let := FunctionDivisor.stalkScalarAlgebra f x |
| 41 | let := FunctionDivisor.stalkScalarTower f x |
| 42 | have hg0 : g ≠ 0 := fun h => hg (h ▸ isAlgebraic_zero) |
| 43 | obtain ⟨b, hb, hbg⟩ := PositiveOrder.exists_stalk_element x g hg0 hp |
| 44 | let j₀ := LocalMap.localMap k B b hb |
| 45 | let : Algebra (Polynomial.Place.localRing k) B := j₀.toAlgebra |
| 46 | let : IsScalarTower (Polynomial.Place.localRing k) B X.functionField := |
| 47 | IsScalarTower.of_algebraMap_eq' |
| 48 | (LocalMap.localMap_field k B b hb X.functionField g hg hbg).symm |
| 49 | let j := Local.IntegralModelLift.lift (Polynomial.Place.localRing k) D B X.functionField |
| 50 | apply ModelImage.mem_range_of_stalk_lift D i hi x j |
| 51 | ext a |
| 52 | exact Local.IntegralModelLift.algebraMap_lift (Polynomial.Place.localRing k) D B X.functionField a |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ZeroCover |