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.Quotients.FiniteDescent.DenominatorSheafEq |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SmoothStalk |
| 3 | |
| 4 | /-! # Denominator Stalk Is -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.DenominatorStalkIs.Construction.DenominatorStalk |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The denominator ideal at a stalk, and its principality on smooth integral schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} [IsIntegral X] |
| 17 | |
| 18 | theorem map_stalk (r : X.functionField) (U : X.affineOpens) (x : U.1) : |
| 19 | ((DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U).map (X.presheaf.germ U.1 x x.2).hom = |
| 20 | DenominatorIdealEq.Construction.DenominatorIdeal.ideal (R := X.presheaf.stalk x) r := by |
| 21 | have : Nonempty U.1 := ⟨x⟩ |
| 22 | change (DenominatorSheafEq.Construction.DenominatorSheaf.affineIdeal r U).map _ = _ |
| 23 | rw [DenominatorSheafEq.Construction.DenominatorSheaf.affineIdeal_eq] |
| 24 | let := X.presheaf.algebra_section_stalk x |
| 25 | have := U.2.isLocalization_stalk x |
| 26 | have := functionField_isFractionRing_of_isAffineOpen X U.1 U.2 |
| 27 | have : Module.Flat Γ(X, U) (X.presheaf.stalk x) := |
| 28 | IsLocalization.flat _ (U.2.primeIdealOf x).asIdeal.primeCompl |
| 29 | exact DenominatorBase.Construction.DenominatorBaseChange.map (R := Γ(X, U)) (S := X.presheaf.stalk x) |
| 30 | (F := X.functionField) r |
| 31 | |
| 32 | theorem isPrincipal {K : Type u} [Field K] [IsAlgClosed K] |
| 33 | (f : X ⟶ Spec (.of K)) [Smooth f] (r : X.functionField) (x : X) : |
| 34 | (DenominatorIdealEq.Construction.DenominatorIdeal.ideal (R := X.presheaf.stalk x) r).IsPrincipal := by |
| 35 | have := SmoothStalk.Construction.SmoothStalkFactorial.stalk f x |
| 36 | exact DenominatorIdealEq.Construction.DenominatorIdeal.isPrincipal r |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.DenominatorStalkIs.Construction.DenominatorStalk |