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 Mathlib |
| 2 | |
| 3 | /-! # Neighborhoods -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.Neighborhoods |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: filtered neighborhoods underlying the inverse image of incoming-section presheaves |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] {A : Type w} [SemilatticeInf A] [OrderTop A] |
| 18 | (P : A → ObjectProperty C) |
| 19 | |
| 20 | def property (T : C) : ObjectProperty A := fun V => P V T |
| 21 | |
| 22 | abbrev Objects (T : C) := (Neighborhoods.property P T).FullSubcategory |
| 23 | |
| 24 | def inclusion (T : C) : Objects P T ⥤ A := (Neighborhoods.property P T).ι |
| 25 | |
| 26 | variable (hTop : ∀ T, P ⊤ T) (hInf : ∀ U V T, P U T → P V T → P (U ⊓ V) T) |
| 27 | |
| 28 | include hTop hInf in |
| 29 | theorem cofiltered (T : C) : IsCofiltered (Objects P T) where |
| 30 | nonempty := ⟨⟨⊤, hTop T⟩⟩ |
| 31 | cone_objs U V := |
| 32 | ⟨⟨U.obj ⊓ V.obj, hInf U.obj V.obj T U.property V.property⟩, |
| 33 | ObjectProperty.homMk (homOfLE inf_le_left), ObjectProperty.homMk (homOfLE inf_le_right), trivial⟩ |
| 34 | cone_maps U V f g := ⟨U, 𝟙 U, by |
| 35 | apply (Neighborhoods.property P T).ι.map_injective |
| 36 | exact Subsingleton.elim _ _⟩ |
| 37 | |
| 38 | variable (hIncoming : ∀ V {T U : C}, (T ⟶ U) → P V U → P V T) |
| 39 | |
| 40 | def change {T U : C} (α : T ⟶ U) : Objects P U ⥤ Objects P T := |
| 41 | ObjectProperty.ιOfLE (fun V hV => hIncoming V α hV) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.Neighborhoods |