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 | /-! # Representable Point Topology -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RepresentablePointTopology |
| 6 | |
| 7 | /-! The topology in which every morphism from a fixed object belongs to each covering sieve. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {C : Type u} [Category.{v} C] (P : C) |
| 14 | |
| 15 | def topology : GrothendieckTopology C where |
| 16 | sieves X := {S | ∀ f : P ⟶ X, S f} |
| 17 | top_mem' _ _ := trivial |
| 18 | pullback_stable' := by |
| 19 | intro X Y S f h g |
| 20 | exact h (g ≫ f) |
| 21 | transitive' := by |
| 22 | intro X S hS R hR g |
| 23 | have h := hR (hS g) (𝟙 P) |
| 24 | simpa only [Sieve.pullback_apply, Category.id_comp] using h |
| 25 | |
| 26 | theorem covering_eq_top (J : GrothendieckTopology C) (hJ : J ≤ topology P) |
| 27 | (S : Sieve P) (hS : S ∈ J P) : S = ⊤ := |
| 28 | Sieve.id_mem_iff_eq_top.mp (hJ _ hS (𝟙 P)) |
| 29 | |
| 30 | theorem generated_le (K : Precoverage C) |
| 31 | (h : ∀ (X : C) (R : Presieve X), R ∈ K X → ∀ g : P ⟶ X, |
| 32 | ∃ (Y : C) (a : Y ⟶ X), R a ∧ ∃ b : P ⟶ Y, b ≫ a = g) : |
| 33 | K.toGrothendieck ≤ topology P := by |
| 34 | apply Precoverage.toGrothendieck_le_iff_le_toPrecoverage.mpr |
| 35 | intro X R hR |
| 36 | change ∀ g : P ⟶ X, Sieve.generate R g |
| 37 | intro g |
| 38 | obtain ⟨Y, a, ha, b, rfl⟩ := h X R hR g |
| 39 | exact (Sieve.generate R).downward_closed (Sieve.le_generate R _ _ ha) b |
| 40 | |
| 41 | theorem restricted_le {D : Type*} [Category D] (F : C ⥤ D) [F.Full] [F.Faithful] |
| 42 | (J : GrothendieckTopology D) (hJ : J ≤ topology (F.obj P)) : |
| 43 | F.restrictedTopology J ≤ topology P := by |
| 44 | apply Precoverage.toGrothendieck_le_iff_le_toPrecoverage.mpr |
| 45 | intro X R hR |
| 46 | change Sieve.generate (R.map F) ∈ J (F.obj X) at hR |
| 47 | change ∀ g : P ⟶ X, Sieve.generate R g |
| 48 | intro g |
| 49 | have hg := hJ _ hR (F.map g) |
| 50 | rw [Sieve.generate_map_eq_functorPushforward] at hg |
| 51 | change ((Sieve.generate R).functorPushforward F).functorPullback F g at hg |
| 52 | rwa [Sieve.functorPullback_functorPushforward_eq] at hg |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RepresentablePointTopology |