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.AbelianModuli.HilbertConstruction.HomologySpecifiedCycles |
| 2 | |
| 3 | /-! # Specified Cycles Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SpecifiedCyclesNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Naturality of homology computed with specified cycle kernels and cokernels. -/ |
| 10 | set_option backward.isDefEq.respectTransparency false |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | universe u v |
| 13 | variable {V : Type u} [Category.{v} V] [Abelian V] |
| 14 | |
| 15 | def homologySpecifiedCyclesData (S : ShortComplex V) |
| 16 | {Z : V} (i : Z ⟶ S.X₂) (wi : i ≫ S.g = 0) |
| 17 | (hi : IsLimit (KernelFork.ofι i wi)) (a : S.X₁ ⟶ Z) (ha : a ≫ i = S.f) : |
| 18 | S.LeftHomologyData := by |
| 19 | have hf : hi.lift (KernelFork.ofι S.f S.zero) = a := by |
| 20 | apply Fork.IsLimit.hom_ext hi |
| 21 | exact (Fork.IsLimit.lift_ι hi).trans ha.symm |
| 22 | exact { |
| 23 | K := Z |
| 24 | H := cokernel a |
| 25 | i := i |
| 26 | π := cokernel.π a |
| 27 | wi := wi |
| 28 | hi := hi |
| 29 | wπ := by rw [hf]; exact cokernel.condition a |
| 30 | hπ := by |
| 31 | subst a |
| 32 | exact cokernelIsCokernel _ } |
| 33 | |
| 34 | theorem homologySpecifiedCyclesData_f' (S : ShortComplex V) |
| 35 | {Z : V} (i : Z ⟶ S.X₂) (wi : i ≫ S.g = 0) |
| 36 | (hi : IsLimit (KernelFork.ofι i wi)) (a : S.X₁ ⟶ Z) (ha : a ≫ i = S.f) : |
| 37 | (homologySpecifiedCyclesData S i wi hi a ha).f' = a := by |
| 38 | change hi.lift (KernelFork.ofι S.f S.zero) = a |
| 39 | apply Fork.IsLimit.hom_ext hi |
| 40 | exact (Fork.IsLimit.lift_ι hi).trans ha.symm |
| 41 | |
| 42 | theorem homologySpecifiedCyclesData_iso (S : ShortComplex V) |
| 43 | {Z : V} (i : Z ⟶ S.X₂) (wi : i ≫ S.g = 0) |
| 44 | (hi : IsLimit (KernelFork.ofι i wi)) (a : S.X₁ ⟶ Z) (ha : a ≫ i = S.f) : |
| 45 | (homologySpecifiedCyclesData S i wi hi a ha).homologyIso = |
| 46 | HomologySpecifiedCycles.homologySpecifiedCyclesIso S i wi hi a ha := by |
| 47 | have hf : hi.lift (KernelFork.ofι S.f S.zero) = a := by |
| 48 | apply Fork.IsLimit.hom_ext hi |
| 49 | exact (Fork.IsLimit.lift_ι hi).trans ha.symm |
| 50 | subst a |
| 51 | rfl |
| 52 | |
| 53 | theorem homologySpecifiedCyclesIso_naturality |
| 54 | {S T : ShortComplex V} (φ : S ⟶ T) |
| 55 | {Z W : V} (i : Z ⟶ S.X₂) (wi : i ≫ S.g = 0) |
| 56 | (hi : IsLimit (KernelFork.ofι i wi)) (a : S.X₁ ⟶ Z) (ha : a ≫ i = S.f) |
| 57 | (j : W ⟶ T.X₂) (wj : j ≫ T.g = 0) |
| 58 | (hj : IsLimit (KernelFork.ofι j wj)) (b : T.X₁ ⟶ W) (hb : b ≫ j = T.f) |
| 59 | (z : Z ⟶ W) (hz : z ≫ j = i ≫ φ.τ₂) (hab : a ≫ z = φ.τ₁ ≫ b) : |
| 60 | ShortComplex.homologyMap φ ≫ (HomologySpecifiedCycles.homologySpecifiedCyclesIso T j wj hj b hb).hom = |
| 61 | (HomologySpecifiedCycles.homologySpecifiedCyclesIso S i wi hi a ha).hom ≫ |
| 62 | cokernel.map a b φ.τ₁ z hab := by |
| 63 | let hS := homologySpecifiedCyclesData S i wi hi a ha |
| 64 | let hT := homologySpecifiedCyclesData T j wj hj b hb |
| 65 | let γ : ShortComplex.LeftHomologyMapData φ hS hT := { |
| 66 | φK := z |
| 67 | φH := cokernel.map a b φ.τ₁ z hab |
| 68 | commi := hz |
| 69 | commf' := by |
| 70 | change (homologySpecifiedCyclesData S i wi hi a ha).f' ≫ z = |
| 71 | φ.τ₁ ≫ (homologySpecifiedCyclesData T j wj hj b hb).f' |
| 72 | rw [homologySpecifiedCyclesData_f', homologySpecifiedCyclesData_f'] |
| 73 | exact hab |
| 74 | commπ := cokernel.π_desc _ _ _ } |
| 75 | have hγ := γ.homologyMap_comm |
| 76 | change ShortComplex.homologyMap φ ≫ (homologySpecifiedCyclesData T j wj hj b hb).homologyIso.hom = |
| 77 | (homologySpecifiedCyclesData S i wi hi a ha).homologyIso.hom ≫ cokernel.map a b φ.τ₁ z hab at hγ |
| 78 | simpa only [homologySpecifiedCyclesData_iso] using hγ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SpecifiedCyclesNaturality |