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.CycleClass.Thom.Scheme.RegularOrder |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative |
| 3 | |
| 4 | /-! # Section Divisor Order -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SectionDivisorOrder.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero regular section has nonzero scheme order at every prime |
| 11 | divisor outside its full basic open of invertibility. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularOrder.Constructions |
| 16 | |
| 17 | variable (X : Scheme) [IsIntegral X] [IsLocallyNoetherian X] |
| 18 | |
| 19 | local instance : Nonempty (⊤ : X.Opens) := ⟨⟨genericPoint X, Opens.mem_top _⟩⟩ |
| 20 | |
| 21 | variable (s : Γ(X, ⊤)) (hs : X.germToFunctionField ⊤ s ≠ 0) |
| 22 | |
| 23 | include hs in |
| 24 | theorem ord_eq_zero_iff_mem_basicOpen (x : X) (hx : Order.coheight x = 1) : |
| 25 | X.ord (X.germToFunctionField ⊤ s) x = 0 ↔ x ∈ X.basicOpen s := by |
| 26 | have hsn : s ≠ 0 := fun h => hs (by rw [h, map_zero]) |
| 27 | have hgn : X.presheaf.germ ⊤ x (Opens.mem_top _) s ≠ 0 := |
| 28 | (map_ne_zero_iff _ (germ_injective_of_isIntegral X x (Opens.mem_top _))).mpr hsn |
| 29 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hx.le |
| 30 | have hfin := Ring.ord_ne_top (mem_nonZeroDivisors_of_ne_zero hgn) |
| 31 | rw [Thom.Scheme.RegularOrder.Constructions.ord_germToFunctionField X x hx ⊤ (Opens.mem_top _) s hsn, |
| 32 | Int.natCast_eq_zero, ENat.toNat_eq_zero, or_iff_left hfin, |
| 33 | Ring.ord, Module.length_eq_zero_iff, Submodule.Quotient.subsingleton_iff, |
| 34 | Ideal.span_singleton_eq_top, X.mem_basicOpen s x (Opens.mem_top _)] |
| 35 | |
| 36 | include hs in |
| 37 | theorem ord_ne_zero_of_not_mem_basicOpen (x : X) (hx : Order.coheight x = 1) |
| 38 | (hn : x ∉ X.basicOpen s) : X.ord (X.germToFunctionField ⊤ s) x ≠ 0 := |
| 39 | fun hz => hn ((ord_eq_zero_iff_mem_basicOpen X s hs x hx).mp hz) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SectionDivisorOrder.Constructions |