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.DenominatorNeighborhoodLe |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.StalkIdealFrame |
| 3 | |
| 4 | /-! # Denominator Line -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.DenominatorLine.Construction.DenominatorLineBundle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual line bundle of denominators of a rational function on a smooth integral scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} [IsIntegral X] |
| 17 | |
| 18 | def stalkIdeals (r : X.functionField) (x : X) : Ideal (X.presheaf.stalk x) := |
| 19 | DenominatorIdealEq.Construction.DenominatorIdeal.ideal r |
| 20 | |
| 21 | theorem stalk_generator (r : X.functionField) (U : X.affineOpens) (a : Γ(X, U)) |
| 22 | (ha : (DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a}) (x : U.1) : |
| 23 | stalkIdeals r x = Ideal.span {X.presheaf.germ U.1 x x.2 a} := by |
| 24 | change DenominatorIdealEq.Construction.DenominatorIdeal.ideal (R := X.presheaf.stalk x) r = _ |
| 25 | rw [← DenominatorStalkIs.Construction.DenominatorStalk.map_stalk r U x, ha, Ideal.map_span, Set.image_singleton] |
| 26 | |
| 27 | theorem generator_mem (r : X.functionField) (U : X.affineOpens) (a : Γ(X, U)) |
| 28 | (ha : (DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a}) : |
| 29 | a ∈ StalkIdealIs.Construction.StalkIdealSheaf.ideal (stalkIdeals r) U.1 := by |
| 30 | apply (StalkIdealIs.Construction.StalkIdealSheaf.mem_ideal _ _ _).mpr |
| 31 | intro x |
| 32 | rw [stalk_generator r U a ha x] |
| 33 | exact Ideal.subset_span (Set.mem_singleton _) |
| 34 | |
| 35 | theorem generator_ne_zero (r : X.functionField) (U : X.affineOpens) [Nonempty U.1] |
| 36 | (a : Γ(X, U)) (ha : (DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a}) : a ≠ 0 := by |
| 37 | intro ha0 |
| 38 | have := functionField_isFractionRing_of_isAffineOpen X U.1 U.2 |
| 39 | apply DenominatorIdealEq.Construction.DenominatorIdeal.ne_bot (R := Γ(X, U)) r |
| 40 | change DenominatorSheafEq.Construction.DenominatorSheaf.affineIdeal r U = Ideal.span {a} at ha |
| 41 | rw [DenominatorSheafEq.Construction.DenominatorSheaf.affineIdeal_eq, ha0] at ha |
| 42 | simpa using ha |
| 43 | |
| 44 | def lineBundle {K : Type u} [Field K] [IsAlgClosed K] |
| 45 | (f : X ⟶ Spec (.of K)) [Smooth f] (r : X.functionField) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X where |
| 46 | sheaf := StalkIdealIs.Construction.StalkIdealSheaf.sheaf (stalkIdeals r) |
| 47 | locallyTrivial x := by |
| 48 | obtain ⟨U, hxU, a, ha⟩ := DenominatorNeighborhoodLe.Construction.DenominatorNeighborhood.exists_principal f r x |
| 49 | have : Nonempty U.1 := ⟨⟨x, hxU⟩⟩ |
| 50 | change (DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a} at ha |
| 51 | exact ⟨U.1, hxU, ⟨StalkIdealFrame.Construction.StalkIdealFrames.frameIso (stalkIdeals r) U.1 a |
| 52 | (generator_mem r U a ha) (generator_ne_zero r U a ha) (stalk_generator r U a ha)⟩⟩ |
| 53 | |
| 54 | def inclusion {K : Type u} [Field K] [IsAlgClosed K] |
| 55 | (f : X ⟶ Spec (.of K)) [Smooth f] (r : X.functionField) : |
| 56 | (lineBundle f r).sheaf ⟶ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 57 | StalkIdealIs.Construction.StalkIdealSheaf.inclusion (stalkIdeals r) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.DenominatorLine.Construction.DenominatorLineBundle |