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.AugmentedCech.CoefficientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TotalProjectionNaturality |
| 3 | |
| 4 | /-! # Coefficient Forget -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientForget |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient change preserves the literal support-forgetting map, |
| 11 | including the actual empty-intersection identification. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 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 vA uA vB uB |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientTotal |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{u} A] |
| 21 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{u} B] |
| 22 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] |
| 23 | |
| 24 | omit [Preadditive A] [Preadditive B] [G.Additive] in |
| 25 | theorem zero (P : Cᵒᵖ ⥤ A) : |
| 26 | (CoefficientChange.objectIso U G P 0).hom ≫ (AugmentedOrdered.CechZero.zeroIso U (P ⋙ G)).hom = |
| 27 | G.map (AugmentedOrdered.CechZero.zeroIso U P).hom := by |
| 28 | change piComparison G (fun a : AugmentedOrdered.Cech.Index ι 0 => P.obj (op ((AugmentedOrdered.Cech.formal U 0).obj a))) ≫ |
| 29 | (Pi.π (fun a : AugmentedOrdered.Cech.Index ι 0 => G.obj (P.obj (op ((AugmentedOrdered.Cech.formal U 0).obj a)))) AugmentedOrdered.CechZero.emptyIndex ≫ |
| 30 | G.map (P.map (AugmentedOrdered.CechZero.emptyProductMap U AugmentedOrdered.CechZero.emptyIndex).op)) = _ |
| 31 | rw [← Category.assoc, piComparison_comp_π, ← G.map_comp] |
| 32 | rfl |
| 33 | |
| 34 | variable [HasCoproducts.{0} A] [HasCoproducts.{0} B] |
| 35 | |
| 36 | omit [HasProducts A] [HasProducts B] [PreservesLimitsOfSize.{u, u, vA, vB, uA, uB} G] in |
| 37 | theorem projection (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) (p q n : ℕ) : |
| 38 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent G K n ≫ G.map ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q n) = |
| 39 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G K)) p q n := by |
| 40 | apply HomologicalComplex₂.total.hom_ext |
| 41 | intro a b hab |
| 42 | rw [← Category.assoc, AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.ι_totalComparisonComponent, ← G.map_comp, |
| 43 | AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_πTotalUpNat, AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_πTotalUpNat] |
| 44 | by_cases ha : a = p |
| 45 | · subst a |
| 46 | by_cases hb : b = q |
| 47 | · subst b |
| 48 | simp [HomologicalComplex₂.XXIsoOfEq] |
| 49 | rfl |
| 50 | · simp [hb] |
| 51 | · simp [ha] |
| 52 | |
| 53 | variable [HasFiniteBiproducts A] (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 54 | |
| 55 | theorem comparison : (CoefficientTotal.totalIso U G K).hom ≫ AugmentedOrdered.CechForget.forgetSupport U (CoefficientTotal.mapped G K) = |
| 56 | (G.mapHomologicalComplex (.up ℕ)).map (AugmentedOrdered.CechForget.forgetSupport U K) := by |
| 57 | let T := AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U K) |
| 58 | apply (cancel_epi T.hom).mp |
| 59 | change T.hom ≫ ((T.inv ≫ (HomologicalComplex₂.total.map (CoefficientTotal.bicomplexIso U G K).hom (.up ℕ))) ≫ |
| 60 | AugmentedOrdered.CechForget.forgetSupport U (CoefficientTotal.mapped G K)) = _ |
| 61 | simp only [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 62 | apply HomologicalComplex.Hom.ext |
| 63 | funext n |
| 64 | change (HomologicalComplex₂.total.map (CoefficientTotal.bicomplexIso U G K).hom (.up ℕ)).f n ≫ |
| 65 | ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AugmentedOrdered.CechFunctor.bicomplex U (CoefficientTotal.mapped G K))) n 0 n ≫ (AugmentedOrdered.CechZero.zeroIso U ((CoefficientTotal.mapped G K).X n)).hom) = |
| 66 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent G (AugmentedOrdered.CechFunctor.bicomplex U K) n ≫ |
| 67 | G.map ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AugmentedOrdered.CechFunctor.bicomplex U K)) n 0 n ≫ (AugmentedOrdered.CechZero.zeroIso U (K.X n)).hom) |
| 68 | rw [← Category.assoc, TotalProjectionNaturality.map, Category.assoc, |
| 69 | G.map_comp, ← Category.assoc (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.totalComparisonComponent G (AugmentedOrdered.CechFunctor.bicomplex U K) n), |
| 70 | projection] |
| 71 | exact congrArg (fun a => (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G (AugmentedOrdered.CechFunctor.bicomplex U K))) n 0 n ≫ a) |
| 72 | (zero U G (K.X n)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientForget |