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.ValuativeCenterFields |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BirationalLocalSection |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.StalkIso |
| 4 | |
| 5 | /-! # Valuation Model -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ValuationModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Birational affine models preserve orders and residue degrees at |
| 12 | valuation-ring centers, without restricting the ambient scheme dimension. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ValuativeCenter OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ValuativeCenterFields OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FractionField |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} [IsIntegral X] |
| 23 | (A : Type u) [CommRing A] [IsDomain A] [Algebra A X.functionField] [IsFractionRing A X.functionField] |
| 24 | (i : Spec (.of A) ⟶ X) |
| 25 | (hi : Spec.map (CommRingCat.ofHom (algebraMap A X.functionField)) ≫ i = Normalization.Scheme.genericMap X) |
| 26 | (hval : ∀ a : Spec (.of A), ValuationRing (X.presheaf.stalk (i a))) |
| 27 | |
| 28 | include hi hval |
| 29 | |
| 30 | theorem residueDegree (a : Spec (.of A)) : i.residueDegree a = 1 := by |
| 31 | let := hval a |
| 32 | let := ValuativeCenterFields.lift_stalkMap_isIso A i hi a |
| 33 | exact Stalk.ResidueDegree.residueDegree_of_isIso_stalkMap i a |
| 34 | |
| 35 | theorem injective : Function.Injective i := by |
| 36 | let := ValuativeCenterFields.liftFieldMap_isIso A i hi |
| 37 | intro a b hab |
| 38 | let := hval a |
| 39 | exact BirationalLocalSection.valuationFiber_unique i (ValuativeCenter.lift_genericPoint A i hi) |
| 40 | (i a) a b rfl hab.symm |
| 41 | |
| 42 | theorem ord [IsNoetherianRing A] [IsLocallyNoetherian X] |
| 43 | (g : X.functionField) (a : Spec (.of A)) : |
| 44 | (Spec (.of A)).ord ((Affine.FractionField.fieldIso A X.functionField).inv g) a = X.ord g (i a) := by |
| 45 | let := hval a |
| 46 | let := ValuativeCenterFields.liftFieldMap_isIso A i hi |
| 47 | let := ValuativeCenterFields.lift_stalkMap_isIso A i hi a |
| 48 | have he : (Affine.FractionField.fieldIso A X.functionField).inv g = |
| 49 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i (ValuativeCenter.lift_genericPoint A i hi) g := by |
| 50 | apply (Affine.FractionField.fieldIso A X.functionField).commRingCatIsoToRingEquiv.injective |
| 51 | exact ((Affine.FractionField.fieldIso A X.functionField).commRingCatIsoToRingEquiv.apply_symm_apply g).trans |
| 52 | (ValuativeCenterFields.liftFieldMap_apply A i hi g).symm |
| 53 | rw [he] |
| 54 | exact Divisor.StalkIso.ord_eq_of_stalkMap_isIso i (ValuativeCenter.lift_genericPoint A i hi) a |
| 55 | (BirationalStalk.coheight_of_valuation i (ValuativeCenter.lift_genericPoint A i hi) a) g |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ValuationModel |