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.Section.SectionRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |
| 4 | |
| 5 | /-! # Open Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.OpenFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical native open frames supplied by generating sections. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace PolarizationEmbedding |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |
| 20 | universe u |
| 21 | variable {X : Scheme.{u}} {M : X.Modules} |
| 22 | |
| 23 | theorem restrictSection_isIso_of_le (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 24 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : IsIso (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s) := by |
| 25 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 26 | rw [AbelianModuli.HilbertConstruction.Section.SectionRestriction.sectionNonvanishing_restrictSection] |
| 27 | exact top_unique (fun x _ => hU x.property) |
| 28 | |
| 29 | theorem sectionOver_isIso_of_le (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 30 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : IsIso (s.over U) := by |
| 31 | let := restrictSection_isIso_of_le s U hU |
| 32 | have : IsIso ((Scheme.Modules.restrictFunctor U.ι).map s) := |
| 33 | (isIso_comp_left_iff (Scheme.Modules.restrictUnitIso U.ι).inv _).mp |
| 34 | (inferInstanceAs (IsIso (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s))) |
| 35 | apply (isIso_iff_of_reflects_iso (s.over U) (Scheme.Modules.overEquiv U).functor).mp |
| 36 | have he := (Scheme.Modules.overFunctorEquiv U).hom.naturality s |
| 37 | have ht : (Scheme.Modules.overEquiv U).functor.map (s.over U) = |
| 38 | ((Scheme.Modules.overFunctorEquiv U).app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)).hom ≫ |
| 39 | (Scheme.Modules.restrictFunctor U.ι).map s ≫ |
| 40 | ((Scheme.Modules.overFunctorEquiv U).app M).inv := by |
| 41 | apply (cancel_mono ((Scheme.Modules.overFunctorEquiv U).app M).hom).mp |
| 42 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 43 | exact he |
| 44 | rw [ht] |
| 45 | infer_instance |
| 46 | |
| 47 | def sectionOverFrame (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 48 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 49 | M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U) := by |
| 50 | let := sectionOver_isIso_of_le s U hU |
| 51 | exact (asIso (s.over U)).symm |
| 52 | |
| 53 | def sectionOpenFrame (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 54 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 55 | M.restrict U.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme := |
| 56 | SheafCohomology.Projective.FrameSections.restrictTrivializationOfOverIso M U (sectionOverFrame s U hU) |
| 57 | |
| 58 | theorem sectionOpenFrame_inv (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 59 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 60 | (sectionOpenFrame s U hU).inv = AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s := by |
| 61 | apply Scheme.Modules.hom_ext |
| 62 | intro V |
| 63 | ext x |
| 64 | change s.app (U.ι ''ᵁ V) x = s.app (U.ι ''ᵁ V) ((U.ι.appIso V).inv x) |
| 65 | rw [Scheme.Opens.ι_appIso] |
| 66 | rfl |
| 67 | |
| 68 | theorem sectionOverFrame_restrict (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 69 | {U V : X.Opens} (hVU : V ≤ U) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 70 | SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U |
| 71 | (sectionOverFrame s U hU) (Over.mk (homOfLE hVU)) = |
| 72 | sectionOverFrame s V (hVU.trans hU) := by |
| 73 | apply Iso.ext |
| 74 | apply (cancel_epi (sectionOverFrame s V (hVU.trans hU)).inv).mp |
| 75 | rw [Iso.inv_hom_id] |
| 76 | change (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U |
| 77 | (sectionOverFrame s U hU) (Over.mk (homOfLE hVU))).inv ≫ _ = _ |
| 78 | exact Iso.inv_hom_id _ |
| 79 | |
| 80 | theorem sectionOpenFrame_restrict (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 81 | {U V : X.Opens} (hVU : V ≤ U) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 82 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU (sectionOpenFrame s U hU) = |
| 83 | sectionOpenFrame s V (hVU.trans hU) := by |
| 84 | unfold SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization sectionOpenFrame |
| 85 | rw [SheafCohomology.Projective.OpenFrames.overTrivializationOfRestrictTrivializationOfOverIso, sectionOverFrame_restrict] |
| 86 | |
| 87 | theorem nativeSectionRatio (s t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 88 | (U : X.Opens) (hU : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 89 | letI := restrictSection_isIso_of_le s U hU |
| 90 | AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s) (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι t) = |
| 91 | (X.homOfLE hU).appTop (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t) := by |
| 92 | let := restrictSection_isIso_of_le s U hU |
| 93 | have hp : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) := by |
| 94 | exact (congrArg (fun f => IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)) (X.homOfLE_ι hU)).mp |
| 95 | (inferInstanceAs (IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection ((X.homOfLE hU) ≫ (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι) s))) |
| 96 | let := hp |
| 97 | have : IsIso ((Scheme.Modules.restrictUnitIso U.ι).inv ≫ |
| 98 | (Scheme.Modules.restrictFunctor U.ι).map s) := restrictSection_isIso_of_le s U hU |
| 99 | have : IsIso ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso U.ι).inv ≫ (Scheme.Modules.pullback U.ι).map s) := hp |
| 100 | have he := AbelianModuli.HilbertConstruction.Frame.Comparison.frameCoordinate_functorComparison (Scheme.Modules.restrictFunctor U.ι) |
| 101 | (Scheme.Modules.pullback U.ι) (Scheme.Modules.restrictFunctorIsoPullback U.ι) |
| 102 | (Scheme.Modules.restrictUnitIso U.ι) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso U.ι) s t |
| 103 | have hr := AbelianModuli.HilbertConstruction.Frame.PullbackCoherence.sectionRatio_restrict s t (X.homOfLE hU) |
| 104 | have hc := AbelianModuli.HilbertConstruction.Frame.PullbackCoherence.frameCoordinate_pullbackCongr (X.homOfLE_ι hU) s t |
| 105 | exact he.symm.trans (hc.symm.trans hr.symm) |
| 106 | |
| 107 | theorem sectionOpenFrame_transition (s t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 108 | (U : X.Opens) (hs : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (ht : U ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t) : |
| 109 | (sectionOpenFrame s U hs).hom = (sectionOpenFrame t U ht).hom ≫ |
| 110 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection ((X.homOfLE hs).appTop (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t)) := by |
| 111 | let := restrictSection_isIso_of_le s U hs |
| 112 | let e := sectionOpenFrame s U hs |
| 113 | let g := sectionOpenFrame t U ht |
| 114 | have hi : inv (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s) = e.hom := by |
| 115 | apply (cancel_epi (AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι s)).mp |
| 116 | rw [IsIso.hom_inv_id, ← sectionOpenFrame_inv s U hs] |
| 117 | exact e.inv_hom_id.symm |
| 118 | have hr : AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue U.toScheme (g.inv ≫ e.hom) = |
| 119 | (X.homOfLE hs).appTop (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t) := by |
| 120 | rw [show g.inv = AbelianModuli.HilbertConstruction.Section.SectionRestriction.restrictSection U.ι t from sectionOpenFrame_inv t U ht, ← hi] |
| 121 | exact nativeSectionRatio s t U hs |
| 122 | have he : SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection ((X.homOfLE hs).appTop (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t)) = |
| 123 | g.inv ≫ e.hom := by |
| 124 | apply AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndValue_injective U.toScheme |
| 125 | change 1 * U.toScheme.presheaf.map (𝟙 (.op ⊤)) |
| 126 | ((X.homOfLE hs).appTop (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t)) = _ |
| 127 | rw [U.toScheme.presheaf.map_id] |
| 128 | simp only [ConcreteCategory.id_apply, one_mul] |
| 129 | exact hr.symm |
| 130 | change e.hom = g.hom ≫ _ |
| 131 | rw [he, g.hom_inv_id_assoc] |
| 132 | |
| 133 | end PolarizationEmbedding |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.OpenFrames |