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.ComplexMultiplication.HomologyFunctorCoherence |
| 2 | import OAI.Algebra.Homology.MapExtend |
| 3 | import Mathlib.Algebra.Homology.Embedding.ExtendHomology |
| 4 | |
| 5 | /-! # Scalar Extend Homology Coherence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ScalarExtendHomologyCoherence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Exact coefficient functors commute with the canonical extension homology isomorphism -/ |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory Limits _root_.HomologicalComplex |
| 17 | |
| 18 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 19 | variable (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 20 | (K : CochainComplex C ℕ) (n : ℕ) |
| 21 | local notation "e" => ComplexShape.embeddingUpNat |
| 22 | local notation "KN" => Functor.obj (F.mapHomologicalComplex (ComplexShape.up ℕ)) K |
| 23 | local notation "KI" => Functor.obj (F.mapHomologicalComplex (ComplexShape.up ℤ)) (K.extend (e)) |
| 24 | |
| 25 | theorem scalarExtendCyclesCoherence : |
| 26 | cyclesMap (OAI.Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K (e)).hom ((e).f n) ≫ |
| 27 | ((KN).extendCyclesIso (e) rfl).hom ≫ ((K.sc n).mapCyclesIso F).hom = |
| 28 | (((K.extend (e)).sc ((e).f n)).mapCyclesIso F).hom ≫ |
| 29 | F.map (K.extendCyclesIso (e) rfl).hom := by |
| 30 | apply (cancel_mono (F.map (K.iCycles n))).mp |
| 31 | have hN : ((K.sc n).mapCyclesIso F).hom ≫ F.map (K.iCycles n) = (KN).iCycles n := |
| 32 | ShortComplex.mapCyclesIso_hom_iCycles (K.sc n) F |
| 33 | have hI : (((K.extend (e)).sc ((e).f n)).mapCyclesIso F).hom ≫ |
| 34 | F.map ((K.extend (e)).iCycles ((e).f n)) = (KI).iCycles ((e).f n) := |
| 35 | ShortComplex.mapCyclesIso_hom_iCycles ((K.extend (e)).sc ((e).f n)) F |
| 36 | simp only [Category.assoc] |
| 37 | rw [hN, HomologicalComplex.extendCyclesIso_hom_iCycles] |
| 38 | rw [← F.map_comp, HomologicalComplex.extendCyclesIso_hom_iCycles, F.map_comp] |
| 39 | rw [← Category.assoc (((K.extend (e)).sc ((e).f n)).mapCyclesIso F).hom, |
| 40 | hI, HomologicalComplex.cyclesMap_i_assoc, |
| 41 | OAI.Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso_hom_f F K (e) rfl] |
| 42 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 43 | |
| 44 | theorem scalarExtendHomologyCoherence : |
| 45 | homologyMap (OAI.Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K (e)).hom ((e).f n) ≫ |
| 46 | ((KN).extendHomologyIso (e) rfl).hom ≫ ((K.sc n).mapHomologyIso F).hom = |
| 47 | (((K.extend (e)).sc ((e).f n)).mapHomologyIso F).hom ≫ |
| 48 | F.map (K.extendHomologyIso (e) rfl).hom := by |
| 49 | apply (cancel_epi ((KI).homologyπ ((e).f n))).mp |
| 50 | rw [HomologicalComplex.homologyπ_naturality_assoc, |
| 51 | HomologicalComplex.homologyπ_extendHomologyIso_hom_assoc] |
| 52 | have hN := HomologyFunctorCoherence.homologyComparison_cycles (K.sc n) F |
| 53 | have hI := HomologyFunctorCoherence.homologyComparison_cycles ((K.extend (e)).sc ((e).f n)) F |
| 54 | change (KN).homologyπ n ≫ ((K.sc n).mapHomologyIso F).hom = |
| 55 | ((K.sc n).mapCyclesIso F).hom ≫ F.map (K.homologyπ n) at hN |
| 56 | change (KI).homologyπ ((e).f n) ≫ |
| 57 | (((K.extend (e)).sc ((e).f n)).mapHomologyIso F).hom = |
| 58 | (((K.extend (e)).sc ((e).f n)).mapCyclesIso F).hom ≫ |
| 59 | F.map ((K.extend (e)).homologyπ ((e).f n)) at hI |
| 60 | rw [hN, ← Category.assoc ((KI).homologyπ ((e).f n)), hI] |
| 61 | simp only [Category.assoc, ← F.map_comp] |
| 62 | rw [HomologicalComplex.homologyπ_extendHomologyIso_hom, F.map_comp] |
| 63 | simpa only [Category.assoc] using! congrArg (fun f => f ≫ F.map (K.homologyπ n)) |
| 64 | (scalarExtendCyclesCoherence F K n) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.ComplexMultiplication.ScalarExtendHomologyCoherence |