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.BoundedSection.Limit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SequentialModuleDifference |
| 3 | |
| 4 | /-! # Difference -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Difference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: compatible bounded sections are the kernel of the sequential difference map |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveLinearSections |
| 17 | |
| 18 | universe u v w z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 21 | (P : ℕ → ObjectProperty C) (hP : Monotone P) (M : D) (F : Cᵒᵖ ⥤ D) |
| 22 | |
| 23 | theorem restrict_refl (n : ℕ) (a : ExhaustivePresheafSections.Stage P M F n) : ExhaustivePresheafSections.restrict P hP M F n n le_rfl a = a := by |
| 24 | apply NatTrans.ext |
| 25 | funext U |
| 26 | rfl |
| 27 | |
| 28 | theorem restrict_comp (n m l : ℕ) (hnm : n ≤ m) (hml : m ≤ l) (a : ExhaustivePresheafSections.Stage P M F l) : |
| 29 | ExhaustivePresheafSections.restrict P hP M F n m hnm (ExhaustivePresheafSections.restrict P hP M F m l hml a) = |
| 30 | ExhaustivePresheafSections.restrict P hP M F n l (hnm.trans hml) a := by |
| 31 | apply NatTrans.ext |
| 32 | funext U |
| 33 | rfl |
| 34 | |
| 35 | theorem compatible_iff_successor (a : ∀ n, ExhaustivePresheafSections.Stage P M F n) : ExhaustivePresheafSections.Compatible P hP M F a ↔ |
| 36 | ∀ n, ExhaustivePresheafSections.restrict P hP M F n (n + 1) (Nat.le_succ n) (a (n + 1)) = a n := by |
| 37 | refine ⟨fun h n => h n (n + 1) (Nat.le_succ n), ?_⟩ |
| 38 | intro h n m hnm |
| 39 | induction m, hnm using Nat.le_induction with |
| 40 | | base => exact restrict_refl P hP M F n (a n) |
| 41 | | succ m hnm ih => |
| 42 | exact (restrict_comp P hP M F n m (m + 1) hnm (Nat.le_succ m) (a (m + 1))).symm.trans |
| 43 | ((congrArg (ExhaustivePresheafSections.restrict P hP M F n m hnm) (h m)).trans ih) |
| 44 | |
| 45 | variable [Preadditive D] (R : Type t) [CommRing R] [Linear R D] |
| 46 | |
| 47 | def difference : (∀ n, ExhaustivePresheafSections.Stage P M F n) →ₗ[R] (∀ n, ExhaustivePresheafSections.Stage P M F n) := |
| 48 | SequentialModuleDifference.difference R (fun n => ExhaustivePresheafSections.Stage P M F n) |
| 49 | (fun n => ((Limit.diagram R P hP M F).map (homOfLE (Nat.le_succ n)).op).hom) |
| 50 | |
| 51 | theorem compatible_iff_difference_zero (a : ∀ n, ExhaustivePresheafSections.Stage P M F n) : |
| 52 | ExhaustivePresheafSections.Compatible P hP M F a ↔ difference P hP M F R a = 0 := |
| 53 | (compatible_iff_successor P hP M F a).trans |
| 54 | (SequentialModuleDifference.difference_eq_zero_iff R (fun n => ExhaustivePresheafSections.Stage P M F n) |
| 55 | (fun n => ((Limit.diagram R P hP M F).map (homOfLE (Nat.le_succ n)).op).hom) a).symm |
| 56 | |
| 57 | theorem compatibleSubmodule_eq_ker : ExhaustiveLinearSections.compatibleSubmodule R P hP M F = (difference P hP M F R).ker := by |
| 58 | apply Submodule.ext |
| 59 | intro a |
| 60 | exact compatible_iff_difference_zero P hP M F R a |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Difference |