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.RationalFunctionBoundary |
| 2 | |
| 3 | /-! # Global Section Unit Representative -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A nonzero global regular section has an actual rational unit |
| 10 | representative on its full basic open of invertibility. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (X : Scheme) [IsIntegral X] |
| 20 | |
| 21 | local instance : Nonempty (⊤ : X.Opens) := ⟨⟨genericPoint X, Opens.mem_top _⟩⟩ |
| 22 | |
| 23 | variable (s : Γ(X, ⊤)) (hs : X.germToFunctionField ⊤ s ≠ 0) |
| 24 | |
| 25 | include hs in |
| 26 | theorem basicOpen_nonempty : Nonempty (X.basicOpen s) := by |
| 27 | refine ⟨⟨genericPoint X, ?_⟩⟩ |
| 28 | rw [X.mem_basicOpen s (genericPoint X) (Opens.mem_top _)] |
| 29 | change IsUnit (X.germToFunctionField ⊤ s) |
| 30 | exact isUnit_iff_ne_zero.mpr hs |
| 31 | |
| 32 | def sectionUnitRepresentative : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X (X.germToFunctionField ⊤ s) where |
| 33 | domain := X.basicOpen s |
| 34 | nonempty_domain := basicOpen_nonempty X s hs |
| 35 | unit := (X.toRingedSpace.isUnit_res_basicOpen s).unit |
| 36 | represents := by |
| 37 | let : Nonempty (X.basicOpen s) := basicOpen_nonempty X s hs |
| 38 | rw [(X.toRingedSpace.isUnit_res_basicOpen s).unit_spec] |
| 39 | exact RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict (X := X) (X.basicOpen_le s) s |
| 40 | |
| 41 | theorem sectionUnitRepresentative_domain : (sectionUnitRepresentative X s hs).domain = X.basicOpen s := rfl |
| 42 | |
| 43 | theorem sectionUnitRepresentative_unit : |
| 44 | (sectionUnitRepresentative X s hs).unit.val = |
| 45 | X.presheaf.map (X.basicOpen_le s).hom.op s := |
| 46 | (X.toRingedSpace.isUnit_res_basicOpen s).unit_spec |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions |