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.CMCanonicalSectionCycles |
| 2 | import OAI.AlgebraicTopology.Sheaf.OpenRestrictedLowestCohomology |
| 3 | |
| 4 | /-! # Open Restricted Section Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.OpenRestrictedSectionNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The original open-restricted lowest-degree comparison is the canonical class map -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | |
| 14 | variable (Y : TopCat.{0}) (U : Opens Y) |
| 15 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{0}) ℤ) |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true in |
| 18 | set_option backward.isDefEq.respectTransparency false in |
| 19 | set_option backward.isDefEq.respectTransparency.types false in |
| 20 | theorem openRestrictedLowestSectionCohomologyIso_normalization (N n : ℤ) [K.IsStrictlyGE N] |
| 21 | (hK : ∀ j, j < n → IsZero |
| 22 | ((((U.isOpenEmbedding.sheafPullback AddCommGrpCat.{0}).mapHomologicalComplex |
| 23 | ℤᵘᵖ).obj K).homology j)) |
| 24 | (hflasque : ∀ j, TopCat.Sheaf.IsFlasque (K.X j)) : |
| 25 | (AlgebraicTopology.Sheaf.OpenRestrictedLowestCohomology.TopCat.openRestrictedLowestSectionCohomologyIso Y U K N n hK hflasque).hom = |
| 26 | AlgebraicTopology.Sheaf.CohomologySection.TopCat.sectionCohomologyToSheafSection Y K n U := by |
| 27 | let R : Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{0} ⥤ |
| 28 | Sheaf (Opens.grothendieckTopology (TopCat.of U)) AddCommGrpCat.{0} := |
| 29 | U.isOpenEmbedding.sheafPullback AddCommGrpCat.{0} |
| 30 | let : R.Additive := AlgebraicTopology.Sheaf.OpenRestriction.TopCat.openSheafRestriction_additive Y U |
| 31 | let : PreservesFiniteLimits R := AlgebraicTopology.Sheaf.OpenRestriction.TopCat.openSheafRestriction_preservesFiniteLimits Y U |
| 32 | let : PreservesFiniteColimits R := AlgebraicTopology.Sheaf.OpenRestriction.TopCat.openSheafRestriction_preservesFiniteColimits Y U |
| 33 | let A : Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{0} ⥤ AddCommGrpCat.{0} := |
| 34 | AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y U |
| 35 | let B : Sheaf (Opens.grothendieckTopology (TopCat.of U)) AddCommGrpCat.{0} ⥤ |
| 36 | AddCommGrpCat.{0} := AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of U) ⊤ |
| 37 | let : A.Additive := { map_add := by intros; rfl } |
| 38 | let : B.Additive := { map_add := by intros; rfl } |
| 39 | let : PreservesFiniteLimits A := comp_preservesFiniteLimits |
| 40 | (sheafToPresheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{0}) |
| 41 | ((evaluation (Opens Y)ᵒᵖ AddCommGrpCat.{0}).obj (op U)) |
| 42 | let L := (R.mapHomologicalComplex ℤᵘᵖ).obj K |
| 43 | let AK := (A.mapHomologicalComplex ℤᵘᵖ).obj K |
| 44 | let BL := (B.mapHomologicalComplex ℤᵘᵖ).obj L |
| 45 | let q : R ⋙ B ≅ A := AlgebraicTopology.Sheaf.OpenRestrictedLowestCohomology.TopCat.openRestrictionTopSectionsIso Y U |
| 46 | let e : BL ≅ AK := AlgebraicTopology.Sheaf.OpenRestrictedLowestCohomology.TopCat.openRestrictionTopSectionComplexIso Y U K |
| 47 | let cr := (K.sc n).mapCyclesIso R |
| 48 | let hr := (K.sc n).mapHomologyIso R |
| 49 | let a := cyclesMap e.inv n ≫ CMCanonicalSectionCycles.openSectionCycleComparison (TopCat.of U) L n ⊤ ≫ |
| 50 | B.map cr.hom ≫ (q.app (K.cycles n)).hom |
| 51 | have hqi : B.map (R.map (K.iCycles n)) ≫ (q.app (K.X n)).hom = |
| 52 | (q.app (K.cycles n)).hom ≫ A.map (K.iCycles n) := by |
| 53 | exact q.hom.naturality (K.iCycles n) |
| 54 | have hri : cr.hom ≫ R.map (K.iCycles n) = L.iCycles n := by |
| 55 | exact ShortComplex.mapCyclesIso_hom_iCycles (K.sc n) R |
| 56 | have hgi : CMCanonicalSectionCycles.openSectionCycleComparison (TopCat.of U) L n ⊤ ≫ |
| 57 | B.map (L.iCycles n) = BL.iCycles n := by |
| 58 | exact CMCanonicalSectionCycles.openSectionCycleComparison_iCycles (TopCat.of U) L n ⊤ |
| 59 | have hei : cyclesMap e.inv n ≫ BL.iCycles n = AK.iCycles n ≫ e.inv.f n := by |
| 60 | exact cyclesMap_i e.inv n |
| 61 | have heq : e.inv.f n ≫ (q.app (K.X n)).hom = 𝟙 (AK.X n) := by |
| 62 | simpa only [HomologicalComplex.comp_f, HomologicalComplex.id_f] using! |
| 63 | congrArg (fun f => f.f n) e.inv_hom_id |
| 64 | have hai : a ≫ A.map (K.iCycles n) = AK.iCycles n := by |
| 65 | have hg : (cyclesMap e.inv n ≫ CMCanonicalSectionCycles.openSectionCycleComparison (TopCat.of U) L n ⊤) ≫ |
| 66 | B.map (L.iCycles n) ≫ (q.app (K.X n)).hom = |
| 67 | (cyclesMap e.inv n ≫ BL.iCycles n) ≫ (q.app (K.X n)).hom := by |
| 68 | simpa only [Category.assoc] using! congrArg |
| 69 | (fun f => cyclesMap e.inv n ≫ f ≫ (q.app (K.X n)).hom) hgi |
| 70 | dsimp only [a] |
| 71 | rw [Category.assoc, Category.assoc, Category.assoc, ← hqi, |
| 72 | ← B.map_comp_assoc, hri, |
| 73 | ← Category.assoc, ← Category.assoc] |
| 74 | change (cyclesMap e.inv n ≫ CMCanonicalSectionCycles.openSectionCycleComparison (TopCat.of U) L n ⊤) ≫ |
| 75 | B.map (L.iCycles n) ≫ (q.app (K.X n)).hom = _ |
| 76 | rw [hg, hei, Category.assoc, heq] |
| 77 | exact Category.comp_id _ |
| 78 | have ha : a = CMCanonicalSectionCycles.openSectionCycleComparison Y K n U := by |
| 79 | apply (cancel_mono (A.map (K.iCycles n))).mp |
| 80 | exact hai.trans (CMCanonicalSectionCycles.openSectionCycleComparison_iCycles Y K n U).symm |
| 81 | have hep : AK.homologyπ n ≫ homologyMap e.inv n = |
| 82 | cyclesMap e.inv n ≫ BL.homologyπ n := by |
| 83 | exact homologyπ_naturality e.inv n |
| 84 | have hgp : BL.homologyπ n ≫ |
| 85 | AlgebraicTopology.Sheaf.CohomologySection.TopCat.sectionCohomologyToSheafSection (TopCat.of U) L n ⊤ = |
| 86 | CMCanonicalSectionCycles.openSectionCycleComparison (TopCat.of U) L n ⊤ ≫ B.map (L.homologyπ n) := by |
| 87 | exact CMCanonicalSectionCycles.openSectionCohomology_cycles (TopCat.of U) L n ⊤ |
| 88 | have hrp : L.homologyπ n ≫ hr.hom = cr.hom ≫ R.map (K.homologyπ n) := by |
| 89 | exact HomologyFunctorCoherence.homologyComparison_cycles (K.sc n) R |
| 90 | have hqp : B.map (R.map (K.homologyπ n)) ≫ (q.app (K.homology n)).hom = |
| 91 | (q.app (K.cycles n)).hom ≫ A.map (K.homologyπ n) := by |
| 92 | exact q.hom.naturality (K.homologyπ n) |
| 93 | apply (cancel_epi (AK.homologyπ n)).mp |
| 94 | have hb : (AlgebraicTopology.Sheaf.OpenRestrictedLowestCohomology.TopCat.openRestrictedLowestSectionCohomologyIso Y U K N n hK hflasque).hom = |
| 95 | homologyMap e.inv n ≫ |
| 96 | AlgebraicTopology.Sheaf.CohomologySection.TopCat.sectionCohomologyToSheafSection (TopCat.of U) L n ⊤ ≫ |
| 97 | B.map hr.hom ≫ (q.app (K.homology n)).hom := by |
| 98 | rfl |
| 99 | rw [hb, ← Category.assoc, ← Category.assoc, ← Category.assoc, hep] |
| 100 | simp only [Category.assoc] |
| 101 | rw [← Category.assoc (BL.homologyπ n), hgp, Category.assoc, |
| 102 | ← B.map_comp_assoc, hrp, B.map_comp, |
| 103 | Category.assoc, hqp] |
| 104 | change a ≫ A.map (K.homologyπ n) = _ |
| 105 | rw [ha] |
| 106 | exact (CMCanonicalSectionCycles.openSectionCohomology_cycles Y K n U).symm |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.ComplexMultiplication.OpenRestrictedSectionNormalization |