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.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 2 | import Mathlib.CategoryTheory.Sites.Sheaf |
| 3 | |
| 4 | /-! # Cover Family -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.CoverFamily.Family |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: compatible sections on full subsites give matching families on their covering sieves |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 17 | |
| 18 | universe u v w z |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 21 | (M : ModuleCat.{w} R) {ι : Type z} (P : ι → ObjectProperty C) |
| 22 | (hP : ∀ i {U V : C}, (U ⟶ V) → P i V → P i U) |
| 23 | |
| 24 | def sieve (T : C) : Sieve T where |
| 25 | arrows U _ := ∃ i, P i U |
| 26 | downward_closed := by |
| 27 | intro U V α h β |
| 28 | obtain ⟨i, hi⟩ := h |
| 29 | exact ⟨i, hP i β hi⟩ |
| 30 | |
| 31 | variable (F : Cᵒᵖ ⥤ ModuleCat.{w} R) (a : ∀ i, SectionRestriction.Sections R M (P i) F) |
| 32 | |
| 33 | def Compatible : Prop := ∀ i j (T : C) (hi : P i T) (hj : P j T), |
| 34 | (a i).app (op ⟨T, hi⟩) = (a j).app (op ⟨T, hj⟩) |
| 35 | |
| 36 | def value (T : C) (hT : ∃ i, P i T) : M ⟶ F.obj (op T) := |
| 37 | (a hT.choose).app (op ⟨T, hT.choose_spec⟩) |
| 38 | |
| 39 | variable (ha : Family.Compatible R M P F a) |
| 40 | |
| 41 | include ha in |
| 42 | theorem value_eq (T : C) (hT : ∃ i, P i T) (i : ι) (hi : P i T) : |
| 43 | value R M P F a T hT = (a i).app (op ⟨T, hi⟩) := |
| 44 | ha hT.choose i T hT.choose_spec hi |
| 45 | |
| 46 | include ha hP in |
| 47 | theorem value_natural {U T : C} (α : U ⟶ T) (hT : ∃ i, P i T) (hU : ∃ i, P i U) : |
| 48 | value R M P F a T hT ≫ F.map α.op = value R M P F a U hU := by |
| 49 | obtain ⟨i, hi⟩ := hT |
| 50 | have hUi := hP i α hi |
| 51 | rw [value_eq R M P F a ha T _ i hi, value_eq R M P F a ha U _ i hUi] |
| 52 | have h := (a i).naturality (ObjectProperty.homMk α : |
| 53 | (⟨U, hUi⟩ : (P i).FullSubcategory) ⟶ ⟨T, hi⟩).op |
| 54 | exact h.symm.trans (Category.id_comp _) |
| 55 | |
| 56 | def family (T : C) : Presieve.FamilyOfElements (F ⋙ coyoneda.obj (op M)) (sieve P hP T).arrows := |
| 57 | fun U _ hU => value R M P F a U hU |
| 58 | |
| 59 | include ha in |
| 60 | theorem family_compatible (T : C) : (family R M P hP F a T).Compatible := by |
| 61 | apply (Presieve.compatible_iff_sieveCompatible _).mpr |
| 62 | intro U W α β hα |
| 63 | exact (value_natural R M P hP F a ha β hα ((sieve P hP T).downward_closed hα β)).symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.CoverFamily.Family |