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.PeriodInvariants.RingSequenceColimitElements |
| 2 | import Mathlib.Algebra.Category.CommAlgCat.Basic |
| 3 | |
| 4 | /-! # Ring Sequence Initial Algebra -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.RingSequenceInitialAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # A ring sequence and its colimit carry their canonical initial-ring coefficients -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | variable (F : ℕ ⥤ CommRingCat.{u}) [HasColimit F] |
| 16 | |
| 17 | @[instance_reducible] |
| 18 | def stageAlgebra (n : ℕ) : Algebra (F.obj 0) (F.obj n) := |
| 19 | (F.map (homOfLE (Nat.zero_le n))).hom.toAlgebra |
| 20 | |
| 21 | @[instance_reducible] |
| 22 | def limitAlgebra : Algebra (F.obj 0) ↑(colimit F) := (colimit.ι F 0).hom.toAlgebra |
| 23 | |
| 24 | attribute [local instance] stageAlgebra limitAlgebra |
| 25 | |
| 26 | def transition (i j : ℕ) (h : i ≤ j) : F.obj i →ₐ[F.obj 0] F.obj j where |
| 27 | __ := (F.map (homOfLE h)).hom |
| 28 | commutes' r := |
| 29 | (congrArg (fun q : F.obj 0 ⟶ F.obj j => q.hom r) |
| 30 | (F.map_comp (homOfLE (Nat.zero_le i)) (homOfLE h))).symm |
| 31 | |
| 32 | def inclusion (n : ℕ) : F.obj n →ₐ[F.obj 0] ↑(colimit F) where |
| 33 | __ := (colimit.ι F n).hom |
| 34 | commutes' r := congrArg (fun q : F.obj 0 ⟶ colimit F => q.hom r) |
| 35 | (colimit.w F (homOfLE (Nat.zero_le n))) |
| 36 | |
| 37 | theorem inclusion_transition (i j : ℕ) (h : i ≤ j) (a : F.obj i) : |
| 38 | inclusion F j (transition F i j h a) = inclusion F i a := |
| 39 | RingSequenceColimitElements.transition F i j h a |
| 40 | |
| 41 | theorem inclusion_injective |
| 42 | (hf : ∀ i j (h : i ≤ j), Function.Injective (F.map (homOfLE h)).hom) (n : ℕ) : |
| 43 | Function.Injective (inclusion F n) := RingSequenceColimitElements.inclusion_injective F hf n |
| 44 | |
| 45 | theorem finite_representatives (s : Finset ↑(colimit F)) : |
| 46 | ∃ i, ∃ y : s → F.obj i, ∀ j, inclusion F i (y j) = j.val := |
| 47 | RingSequenceColimitElements.exists_reps F (fun j : s => j.val) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.RingSequenceInitialAlgebra |