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.AlgebraicGeometry.Divisors.LineBundles.ExactSequenceLength |
| 2 | |
| 3 | /-! # Cyclic Exact Length -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.CyclicExactLength.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: length cancellation in a cyclic six-term sequence |
| 11 | |
| 12 | Unlike a bounded six-term sequence, the last map here returns to the |
| 13 | first module. Splitting at all six images proves the alternating length |
| 14 | identity used by the homology sequence of a two-periodic complex. |
| 15 | -/ |
| 16 | |
| 17 | variable {R A B C D E F : Type*} [Ring R] |
| 18 | [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 19 | [AddCommGroup C] [Module R C] [AddCommGroup D] [Module R D] |
| 20 | [AddCommGroup E] [Module R E] [AddCommGroup F] [Module R F] |
| 21 | |
| 22 | theorem moduleLengthNat_cyclicSixTerm |
| 23 | (f : A →ₗ[R] B) (g : B →ₗ[R] C) (h : C →ₗ[R] D) |
| 24 | (i : D →ₗ[R] E) (j : E →ₗ[R] F) (k : F →ₗ[R] A) |
| 25 | (hfg : Function.Exact f g) (hgh : Function.Exact g h) |
| 26 | (hhi : Function.Exact h i) (hij : Function.Exact i j) |
| 27 | (hjk : Function.Exact j k) (hkf : Function.Exact k f) |
| 28 | (hA : Module.length R A ≠ ⊤) (hB : Module.length R B ≠ ⊤) |
| 29 | (hC : Module.length R C ≠ ⊤) (hD : Module.length R D ≠ ⊤) |
| 30 | (hE : Module.length R E ≠ ⊤) (hF : Module.length R F ≠ ⊤) : |
| 31 | ((Module.length R A).toNat : ℤ) - (Module.length R B).toNat + |
| 32 | (Module.length R C).toNat - (Module.length R D).toNat + |
| 33 | (Module.length R E).toNat - (Module.length R F).toNat = 0 := by |
| 34 | have h₁ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact k.range.subtype f.rangeRestrict |
| 35 | k.range.subtype_injective f.surjective_rangeRestrict hkf.linearMap_rangeRestrict hA |
| 36 | have h₂ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact f.range.subtype g.rangeRestrict |
| 37 | f.range.subtype_injective g.surjective_rangeRestrict hfg.linearMap_rangeRestrict hB |
| 38 | have h₃ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact g.range.subtype h.rangeRestrict |
| 39 | g.range.subtype_injective h.surjective_rangeRestrict hgh.linearMap_rangeRestrict hC |
| 40 | have h₄ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact h.range.subtype i.rangeRestrict |
| 41 | h.range.subtype_injective i.surjective_rangeRestrict hhi.linearMap_rangeRestrict hD |
| 42 | have h₅ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact i.range.subtype j.rangeRestrict |
| 43 | i.range.subtype_injective j.surjective_rangeRestrict hij.linearMap_rangeRestrict hE |
| 44 | have h₆ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact j.range.subtype k.rangeRestrict |
| 45 | j.range.subtype_injective k.surjective_rangeRestrict hjk.linearMap_rangeRestrict hF |
| 46 | omega |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Divisors.LineBundles.CyclicExactLength.BundleCycles |