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.RelativeCech.Indices |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Projection |
| 3 | import Mathlib.Topology.Category.TopCat.Limits.Products |
| 4 | |
| 5 | /-! # Intersections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The distinguished-chart intersections in a relative ordered Čech |
| 12 | cover are precisely the intersections used by the local augmented complex. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u v |
| 21 | variable {X : TopCat.{u}} (U : Opens X) |
| 22 | {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 23 | |
| 24 | def cover : WithBot ι → Opens X := fun i => Option.elim i U V |
| 25 | |
| 26 | def intersect : Opens X ⥤ Opens X := |
| 27 | OrderHom.toFunctor { toFun := fun W => U ⊓ W, monotone' := fun _ _ h => inf_le_inf_left U h } |
| 28 | |
| 29 | def presheaf {D : Type v} [Category D] (P : X.Presheaf D) : X.Presheaf D := |
| 30 | (intersect U).op ⋙ P |
| 31 | |
| 32 | omit [LinearOrder ι] in |
| 33 | theorem cover_bot : cover U V ⊥ = U := rfl |
| 34 | |
| 35 | omit [LinearOrder ι] in |
| 36 | theorem cover_coe (i : ι) : cover U V (i : WithBot ι) = V i := rfl |
| 37 | |
| 38 | theorem cover_tail {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 39 | (h : a.val 0 = ⊥) (j : Fin n) : |
| 40 | cover U V (a.val j.succ) = V ((Indices.tail a h).val j) := by |
| 41 | rw [← Indices.coe_tail a h j] |
| 42 | rfl |
| 43 | |
| 44 | def intersectionHom {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 45 | (h : a.val 0 = ⊥) : |
| 46 | (AugmentedOrdered.Cech.formal (cover U V) (n + 1)).obj a ⟶ |
| 47 | U ⊓ (AugmentedOrdered.Cech.formal V n).obj (Indices.tail a h) := by |
| 48 | apply homOfLE |
| 49 | apply le_inf |
| 50 | · change (∏ᶜ fun j : Fin (n + 1) => cover U V (a.val j)) ≤ U |
| 51 | have hp := leOfHom (Pi.π (fun j : Fin (n + 1) => cover U V (a.val j)) 0) |
| 52 | exact hp.trans (by rw [h, cover_bot]) |
| 53 | · apply leOfHom |
| 54 | apply Pi.lift |
| 55 | intro j |
| 56 | have hp := leOfHom (Pi.π (fun j : Fin (n + 1) => cover U V (a.val j)) j.succ) |
| 57 | exact homOfLE ((cover_tail U V a h j) ▸ hp) |
| 58 | |
| 59 | def intersectionInv {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 60 | (h : a.val 0 = ⊥) : |
| 61 | U ⊓ (AugmentedOrdered.Cech.formal V n).obj (Indices.tail a h) ⟶ |
| 62 | (AugmentedOrdered.Cech.formal (cover U V) (n + 1)).obj a := by |
| 63 | apply Pi.lift |
| 64 | intro j |
| 65 | refine Fin.cases ?_ (fun i => ?_) j |
| 66 | · apply homOfLE |
| 67 | simpa only [h, cover_bot] using |
| 68 | (inf_le_left : U ⊓ (AugmentedOrdered.Cech.formal V n).obj (Indices.tail a h) ≤ U) |
| 69 | · apply homOfLE |
| 70 | rw [cover_tail U V a h i] |
| 71 | exact inf_le_right.trans (leOfHom (Pi.π (fun i : Fin n => V ((Indices.tail a h).val i)) i)) |
| 72 | |
| 73 | def intersectionIso {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 74 | (h : a.val 0 = ⊥) : |
| 75 | (AugmentedOrdered.Cech.formal (cover U V) (n + 1)).obj a ≅ |
| 76 | U ⊓ (AugmentedOrdered.Cech.formal V n).obj (Indices.tail a h) where |
| 77 | hom := intersectionHom U V a h |
| 78 | inv := intersectionInv U V a h |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |