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.IntrinsicOrdered.EdgeHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.EdgeNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.HomologyCoefficient |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.HomologyComposition |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.SheafGlobalCohomology |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass |
| 7 | |
| 8 | /-! # Survivor Cech Edge -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.SurvivorCechEdge |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual single-survivor global edge has the original |
| 15 | CechZeroSections normalization after every native/additive coordinate map. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex Opposite |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe u |
| 21 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 22 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 23 | (M : X.Modules) (c : ℕ) |
| 24 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.forgetScalars (S := S) |
| 25 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections.moduleSingle M c |
| 26 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechConcentration.coefficients K |
| 27 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.SupportedCoordinates.underlying AddCommGrpCat X |
| 28 | (Principal.SingleAdditiveSections.sheafSingle M c) |
| 29 | local notation "j" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass.singleCoefficientIso M c |
| 30 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Augmentation.sections π |
| 31 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsExcision.sections (D := AddCommGrpCat) (⊤ : X.Opens) |
| 32 | |
| 33 | def singleIso := homologyMapIso |
| 34 | (HomologicalComplex₂.total.mapIso |
| 35 | (((OrderedCech.Functor.Projection.functor U).mapHomologicalComplex (.up ℕ)).mapIso j) (.up ℕ)) c |
| 36 | |
| 37 | def sectionsIso := homologyMapIso |
| 38 | (((((evaluation X.Opensᵒᵖ AddCommGrpCat.{u}).obj (op (⊤ : X.Opens))).mapHomologicalComplex |
| 39 | (.up ℕ)).mapIso j)) c |
| 40 | |
| 41 | omit [X.IsSeparated] in |
| 42 | theorem single_edge : |
| 43 | homologyMap (Presheaf.OrderedCechEdge.edge U Q) c ≫ (singleIso U M c).inv = |
| 44 | (sectionsIso M c).inv ≫ homologyMap (Presheaf.OrderedCechEdge.edge U P) c := by |
| 45 | have h := congrArg (fun f => homologyMap f c) |
| 46 | (Ordered.EdgeNaturality.naturality U (j).hom) |
| 47 | rw [homologyMap_comp, homologyMap_comp] at h |
| 48 | apply (cancel_epi (sectionsIso M c).hom).mp |
| 49 | simp only [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 50 | exact (Category.assoc _ _ _).symm.trans |
| 51 | ((congrArg (· ≫ (singleIso U M c).inv) h.symm).trans |
| 52 | ((Category.assoc _ _ _).trans |
| 53 | ((congrArg (homologyMap (Presheaf.OrderedCechEdge.edge U P) c ≫ ·) |
| 54 | (singleIso U M c).hom_inv_id).trans (Category.comp_id _)))) |
| 55 | |
| 56 | omit [X.IsSeparated] in |
| 57 | theorem coefficient_edge : |
| 58 | homologyMap (Presheaf.OrderedCechEdge.edge U P) c ≫ |
| 59 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).inv = |
| 60 | (IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.sectionIso π K c).inv ≫ |
| 61 | (G).map (homologyMap (IntrinsicOrdered.SingleEdge.Intrinsic.edge π U hU M c) c) := by |
| 62 | apply (cancel_epi (IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.sectionIso π K c).hom).mp |
| 63 | simp only [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 64 | have h := IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.homology_coordinates π U hU K c |
| 65 | exact (congrArg (· ≫ (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).inv) h.symm).trans |
| 66 | ((Category.assoc _ _ _).trans |
| 67 | ((congrArg ((G).map (homologyMap (IntrinsicOrdered.SingleEdge.Intrinsic.edge π U hU M c) c) ≫ ·) |
| 68 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).hom_inv_id).trans (Category.comp_id _))) |
| 69 | |
| 70 | omit [X.IsSeparated] in |
| 71 | theorem source_coordinate : |
| 72 | (sectionsIso M c).inv ≫ (IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.sectionIso π K c).inv ≫ |
| 73 | (G).map (Functor.SingleEdge.sourceIso E M c).hom = |
| 74 | (Functor.SingleEdge.sourceIso T (Closed.SupportedSurvivor.sheaf M) c).hom := by |
| 75 | have hc := HomologyCoefficient.source G E M c |
| 76 | have hs := HomologyComposition.coordinate |
| 77 | (SheafOfModules.toSheaf X.ringCatSheaf) T M c |
| 78 | calc |
| 79 | _ = (sectionsIso M c).inv ≫ (Functor.SingleEdge.sourceIso (E ⋙ G) M c).hom := |
| 80 | congrArg ((sectionsIso M c).inv ≫ ·) hc |
| 81 | _ = _ := by |
| 82 | exact (congrArg ((sectionsIso M c).inv ≫ ·) hs.symm).trans |
| 83 | ((Category.assoc _ _ _).symm.trans |
| 84 | ((congrArg (· ≫ (Functor.SingleEdge.sourceIso T (Closed.SupportedSurvivor.sheaf M) c).hom) |
| 85 | (sectionsIso M c).inv_hom_id).trans (Category.id_comp _))) |
| 86 | |
| 87 | omit [X.IsSeparated] in |
| 88 | theorem normalization : |
| 89 | homologyMap (Presheaf.OrderedCechEdge.edge U Q) c ≫ |
| 90 | (singleIso U M c).inv ≫ |
| 91 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).inv ≫ |
| 92 | (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.columnIso π U M c).hom = |
| 93 | (SheafGlobalCohomology.iso π U hU M c).hom := by |
| 94 | have hn := congrArg (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.normalization π U hU M c) |
| 95 | rw [(G).map_comp, (G).map_comp] at hn |
| 96 | calc |
| 97 | _ = (sectionsIso M c).inv ≫ |
| 98 | (homologyMap (Presheaf.OrderedCechEdge.edge U P) c ≫ |
| 99 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).inv) ≫ |
| 100 | (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.columnIso π U M c).hom := by |
| 101 | simpa only [Category.assoc] using congrArg |
| 102 | (fun a => a ≫ (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π U K c).inv ≫ |
| 103 | (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.columnIso π U M c).hom) (single_edge U M c) |
| 104 | _ = ((sectionsIso M c).inv ≫ (IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.sectionIso π K c).inv) ≫ |
| 105 | ((G).map (homologyMap (IntrinsicOrdered.SingleEdge.Intrinsic.edge π U hU M c) c) ≫ |
| 106 | (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.columnIso π U M c).hom) := by |
| 107 | simpa only [Category.assoc] using congrArg (fun a => (sectionsIso M c).inv ≫ a ≫ |
| 108 | (G).map (IntrinsicOrdered.SingleEdge.Intrinsic.columnIso π U M c).hom) (coefficient_edge π U hU M c) |
| 109 | _ = ((sectionsIso M c).inv ≫ (IntrinsicOrdered.EdgeHomology.IntrinsicCoordinates.sectionIso π K c).inv) ≫ |
| 110 | ((G).map (Functor.SingleEdge.sourceIso E M c).hom ≫ |
| 111 | (G).map (Cech.ZeroSections.iso π U hU M).hom) := congrArg (_ ≫ ·) hn |
| 112 | _ = _ := by |
| 113 | exact (Category.assoc _ _ _).symm.trans |
| 114 | (congrArg (· ≫ (G).map (Cech.ZeroSections.iso π U hU M).hom) |
| 115 | (by simpa only [Category.assoc] using source_coordinate π M c)) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.SurvivorCechEdge |