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.SupportSectionGerm |
| 2 | |
| 3 | /-! # Stalk Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.StalkSections.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finitely many actual stalk elements admit simultaneous regular |
| 10 | section representatives on an arbitrarily small scheme neighborhood. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u v |
| 15 | variable (X : Scheme.{u}) (x : X) (B : X.Opens) (hxB : x ∈ B) |
| 16 | |
| 17 | include hxB in |
| 18 | theorem exists_finite_sections {ι : Type v} [Finite ι] (r : ι → X.presheaf.stalk x) : |
| 19 | ∃ C ≤ B, ∃ hxC : x ∈ C, ∃ s : ι → Γ(X, C), ∀ i, X.presheaf.germ C x hxC (s i) = r i := by |
| 20 | classical |
| 21 | choose U hUB hxU t ht using fun i : ι => X.presheaf.exists_le_germ_eq (r i) hxB |
| 22 | let C : X.Opens := B ⊓ iInf U |
| 23 | have hCU (i : ι) : C ≤ U i := inf_le_right.trans (iInf_le U i) |
| 24 | have hxC : x ∈ C := by |
| 25 | refine ⟨hxB, ?_⟩ |
| 26 | change x ∈ ((iInf U : X.Opens) : Set X) |
| 27 | rw [Opens.coe_iInf] |
| 28 | exact Set.mem_iInter.mpr hxU |
| 29 | refine ⟨C, inf_le_left, hxC, fun i => X.presheaf.map (homOfLE (hCU i)).op (t i), ?_⟩ |
| 30 | intro i |
| 31 | exact (X.presheaf.germ_res_apply (homOfLE (hCU i)) x hxC (t i)).trans (ht i) |
| 32 | |
| 33 | include hxB in |
| 34 | theorem exists_section_list (rs : List (X.presheaf.stalk x)) : |
| 35 | ∃ C ≤ B, ∃ hxC : x ∈ C, ∃ ss : List Γ(X, C), ss.map (X.presheaf.germ C x hxC) = rs := by |
| 36 | obtain ⟨C, hCB, hxC, s, hs⟩ := exists_finite_sections X x B hxB (fun i : Fin rs.length => rs.get i) |
| 37 | refine ⟨C, hCB, hxC, List.ofFn s, ?_⟩ |
| 38 | rw [List.map_ofFn] |
| 39 | exact (congrArg List.ofFn (funext hs)).trans (List.ofFn_get rs) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.StalkSections.Constructions |