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.Functor.SingleEdge |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 3 | |
| 4 | /-! # Homology Coefficient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.HomologyCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact coefficient change preserves the literal coefficient |
| 11 | coordinate of the homology of a single complex. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v w z r t |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasCoproducts.{0} C] |
| 18 | {D : Type w} [Category.{z} D] [Abelian D] [HasCoproducts.{0} D] |
| 19 | (G : C ⥤ D) [G.Additive] [G.PreservesHomology] |
| 20 | |
| 21 | omit [HasCoproducts C] [HasCoproducts D] in |
| 22 | theorem homology_coordinate (S : ShortComplex C) : |
| 23 | (S.map G).homologyπ ≫ (S.mapHomologyIso G).hom = |
| 24 | (S.mapCyclesIso G).hom ≫ G.map S.homologyπ := by |
| 25 | let h := S.leftHomologyData |
| 26 | rw [h.mapHomologyIso_eq G, h.mapCyclesIso_eq G] |
| 27 | simp only [Iso.trans_hom, Functor.mapIso_hom, Iso.symm_hom, Category.assoc] |
| 28 | rw [← Category.assoc, h.map G |>.homologyπ_comp_homologyIso_hom] |
| 29 | change ((h.map G).cyclesIso.hom ≫ G.map h.π) ≫ G.map h.homologyIso.inv = _ |
| 30 | rw [Category.assoc, ← G.map_comp, h.π_comp_homologyIso_inv] |
| 31 | rw [G.map_comp] |
| 32 | |
| 33 | variable {B : Type r} [Category.{t} B] [Abelian B] |
| 34 | (E : B ⥤ C) [E.Additive] (M : B) (c : ℕ) |
| 35 | |
| 36 | omit [HasCoproducts C] [HasCoproducts D] in |
| 37 | theorem source : |
| 38 | (((IntegralComparison.Functor.SingleEdge.source E M c).sc c).mapHomologyIso G).hom ≫ |
| 39 | G.map (IntegralComparison.Functor.SingleEdge.sourceIso E M c).hom = |
| 40 | (IntegralComparison.Functor.SingleEdge.sourceIso (E ⋙ G) M c).hom := by |
| 41 | let K := IntegralComparison.Functor.SingleEdge.source E M c |
| 42 | let L := IntegralComparison.Functor.SingleEdge.source (E ⋙ G) M c |
| 43 | apply (cancel_epi (L.homologyπ c)).mp |
| 44 | have hp := homology_coordinate G (K.sc c) |
| 45 | have hi := ShortComplex.mapCyclesIso_hom_iCycles (K.sc c) G |
| 46 | have hs := IntegralComparison.Functor.SingleEdge.source_coordinate E M c |
| 47 | have ht := IntegralComparison.Functor.SingleEdge.source_coordinate (E ⋙ G) M c |
| 48 | calc |
| 49 | _ = ((K.sc c).mapCyclesIso G).hom ≫ G.map (K.homologyπ c) ≫ |
| 50 | G.map (IntegralComparison.Functor.SingleEdge.sourceIso E M c).hom := by |
| 51 | exact (Category.assoc _ _ _).symm.trans |
| 52 | ((congrArg (· ≫ G.map (IntegralComparison.Functor.SingleEdge.sourceIso E M c).hom) hp).trans |
| 53 | (Category.assoc _ _ _)) |
| 54 | _ = ((K.sc c).mapCyclesIso G).hom ≫ G.map (K.iCycles c) ≫ |
| 55 | G.map (E.map (singleObjXSelf (.up ℕ) c M).hom) := by |
| 56 | rw [← G.map_comp, hs, G.map_comp] |
| 57 | _ = L.iCycles c ≫ G.map (E.map (singleObjXSelf (.up ℕ) c M).hom) := by |
| 58 | exact (Category.assoc _ _ _).symm.trans (congrArg (· ≫ _) hi) |
| 59 | _ = _ := ht.symm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.HomologyCoefficient |