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 | /-! # Flat From Nonempty Limits -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FlatFromNonemptyLimits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: flatness from products, equalizers, and nonempty incoming maps |
| 11 | |
| 12 | This criterion does not require a terminal object in the source site. |
| 13 | It applies to crystalline sites whose nilpotence level has no fixed bound. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u v u' v' |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 21 | variable (F : C ⥤ D) [HasBinaryProducts C] [HasEqualizers C] |
| 22 | variable [PreservesLimitsOfShape (Discrete WalkingPair) F] |
| 23 | variable [PreservesLimitsOfShape WalkingParallelPair F] |
| 24 | |
| 25 | lemma cofilteredOrEmpty (X : D) : IsCofilteredOrEmpty (StructuredArrow X F) where |
| 26 | cone_objs U V := ⟨prod U V, prod.fst, prod.snd, trivial⟩ |
| 27 | cone_maps {_ _} f g := ⟨equalizer f g, equalizer.ι f g, equalizer.condition f g⟩ |
| 28 | |
| 29 | lemma flat (h : ∀ X : D, Nonempty (StructuredArrow X F)) : RepresentablyFlat F where |
| 30 | cofiltered X := |
| 31 | { cofilteredOrEmpty F X with |
| 32 | nonempty := h X } |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FlatFromNonemptyLimits |