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.RingSequenceInitialAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.FaithfullyFlatRingUnion |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleUnion |
| 4 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleRingHom |
| 5 | import Mathlib.RingTheory.RingHom.FaithfullyFlat |
| 6 | |
| 7 | /-! # Ring Sequence Cover Colimit -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.RingSequenceCoverColimit |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # Sequential colimits of faithfully flat weakly etale ring maps are covering maps -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits OAI.NumberTheory.PadicHodge.PeriodInvariants.RingSequenceInitialAlgebra |
| 16 | |
| 17 | attribute [local instance] RingSequenceInitialAlgebra.stageAlgebra |
| 18 | RingSequenceInitialAlgebra.limitAlgebra |
| 19 | |
| 20 | universe u |
| 21 | variable (F : ℕ ⥤ CommRingCat.{u}) [HasColimit F] |
| 22 | (hf : ∀ i j (h : i ≤ j), (F.map (homOfLE h)).hom.FaithfullyFlat) |
| 23 | |
| 24 | include hf |
| 25 | |
| 26 | theorem faithfullyFlat : (colimit.ι F 0).hom.FaithfullyFlat := by |
| 27 | have (n : ℕ) : Module.FaithfullyFlat (F.obj 0) (F.obj n) := hf 0 n (Nat.zero_le n) |
| 28 | change Module.FaithfullyFlat (F.obj 0) ↑(colimit F) |
| 29 | exact FaithfullyFlatRingUnion.faithfullyFlat (fun n => ↑(F.obj n)) (RingSequenceInitialAlgebra.inclusion F) |
| 30 | (RingSequenceInitialAlgebra.inclusion_injective F (fun i j h => (hf i j h).injective)) (RingSequenceInitialAlgebra.finite_representatives F) |
| 31 | |
| 32 | theorem weaklyEtale |
| 33 | (hw : ∀ n, WeaklyEtaleRingHom.Property (F.map (homOfLE (Nat.zero_le n))).hom) : |
| 34 | WeaklyEtaleRingHom.Property (colimit.ι F 0).hom := by |
| 35 | have : Module.FaithfullyFlat (F.obj 0) ↑(colimit F) := faithfullyFlat F hf |
| 36 | have (n : ℕ) : Algebra.WeaklyEtale (F.obj 0) (F.obj n) := hw n |
| 37 | change Algebra.WeaklyEtale (F.obj 0) ↑(colimit F) |
| 38 | exact WeaklyEtaleUnion.weaklyEtale (fun n => ↑(F.obj n)) (RingSequenceInitialAlgebra.inclusion F) (RingSequenceInitialAlgebra.transition F) |
| 39 | (RingSequenceInitialAlgebra.inclusion_transition F) (RingSequenceColimitElements.exists_rep F) |
| 40 | (RingSequenceInitialAlgebra.inclusion_injective F (fun i j h => (hf i j h).injective)) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.RingSequenceCoverColimit |