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.FormalGeometry.Completion.Affine.ModuleMono |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.TensorSectionRestriction |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Frame.CoefficientLinear |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FrameSectionComparison |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CanonicalAffineFrame |
| 6 | |
| 7 | /-! # Tensor Section Mono -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.TensorSectionMono |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A regular affine frame coefficient makes the actual restricted tensor-section map monic. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory Opposite |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | attribute [local instance] SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 24 | |
| 25 | theorem tensorSectionMap_restrict_mono_of_regular_coefficient |
| 26 | {X : Scheme.{u}} {P : X.Modules} (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P) (M : X.Modules) |
| 27 | [M.IsQuasicoherent] [(P ⊗ M).IsQuasicoherent] |
| 28 | (U : X.affineOpens) |
| 29 | (e : P.over U.1 ≅ SheafOfModules.unit (X.ringCatSheaf.over U.1)) |
| 30 | (hr : Function.Injective (fun x : Γ(M, U.1) => |
| 31 | Frame.CoefficientLinear.Construction.frameCoefficientLinear P U.1 e (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) • x)) : |
| 32 | Mono ((Scheme.Modules.restrictFunctor U.1.ι).map (TensorSectionMap.Construction.tensorSectionMap s M)) := by |
| 33 | have : IsAffine U.1.toScheme := U.2 |
| 34 | let F := Scheme.Modules.restrictFunctor U.1.ι |
| 35 | let sU := (Scheme.Modules.restrictUnitIso U.1.ι).inv ≫ F.map s |
| 36 | let eU := SheafCohomology.Projective.FrameSections.restrictTrivializationOfOverIso P U.1 e |
| 37 | let r := Frame.CoefficientLinear.Construction.frameCoefficientLinear P U.1 e (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) |
| 38 | have hs : SheafCohomology.Projective.TensorFrameSections.poleTopSectionHom P (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) = s := by |
| 39 | apply SheafCohomology.Projective.TensorFrameSections.poleUnitObj_hom_ext_top |
| 40 | rw [SheafCohomology.Projective.TensorFrameSections.poleTopSectionHom_app_top_apply_one] |
| 41 | rfl |
| 42 | have hsU : sU.app ⊤ (1 : Γ(U.1.toScheme, ⊤)) = |
| 43 | SheafCohomology.Projective.FrameSections.localTrivializationRestriction P U (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) := by |
| 44 | have hh := SheafCohomology.Projective.TensorFrameSections.poleTopSectionHom_localTrivializationRestriction P U (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) |
| 45 | rw [hs] at hh |
| 46 | have hh' := congrArg (fun a => a.app ⊤ (1 : Γ(U.1.toScheme, ⊤))) hh |
| 47 | exact hh'.symm.trans (SheafCohomology.Projective.TensorFrameSections.poleTopSectionHom_app_top_apply_one _ _) |
| 48 | have hc : (show Γ(U.1.toScheme, ⊤) from (sU ≫ eU.hom).app ⊤ (1 : Γ(U.1.toScheme, ⊤))) = |
| 49 | SheafCohomology.Projective.FrameSections.affineOpenTopSection U r := by |
| 50 | change eU.hom.app ⊤ (sU.app ⊤ (1 : Γ(U.1.toScheme, ⊤))) = _ |
| 51 | rw [hsU] |
| 52 | apply SheafCohomology.Projective.FrameSectionComparison.localTrivializationTopSection_unitHom_apply_one P U s e r |
| 53 | apply Quotients.FiniteDescent.OverSection.Construction.OverSectionLocus.coordinate_eq |
| 54 | exact (Frame.CoefficientLinear.Construction.frameCoefficientLinear_section s U.1 e).symm |
| 55 | have hrU : Function.Injective (fun x : Γ(M.restrict U.1.ι, ⊤) => |
| 56 | (show Γ(U.1.toScheme, ⊤) from (sU ≫ eU.hom).app ⊤ (1 : Γ(U.1.toScheme, ⊤))) • x) := by |
| 57 | intro x y h |
| 58 | apply (ConcreteCategory.bijective_of_isIso (SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso M U.1).hom).1 |
| 59 | apply hr |
| 60 | have hh := congrArg (SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso M U.1).hom h |
| 61 | rw [hc, SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso_smul, SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso_smul] at hh |
| 62 | have hring : U.1.topIso.hom (SheafCohomology.Projective.FrameSections.affineOpenTopSection U r) = r := by |
| 63 | have ht : SheafCohomology.Projective.FrameSections.affineOpenTopSection U r = U.1.topIso.inv r := by |
| 64 | unfold SheafCohomology.Projective.FrameSections.affineOpenTopSection |
| 65 | rw [Scheme.Opens.ι_appIso] |
| 66 | rfl |
| 67 | rw [ht, Iso.inv_hom_id_apply] |
| 68 | rw [hring] at hh |
| 69 | exact hh |
| 70 | have hi := TensorSectionMap.Construction.tensorSectionMap_globalSections_injective_of_frame sU (M.restrict U.1.ι) eU hrU |
| 71 | have hres := TensorSectionRestriction.Construction.restrict_tensorSectionMap U.1.ι s M |
| 72 | have : (F.obj M).IsQuasicoherent := Scheme.Modules.isQuasicoherent_restrictFunctor U.1.ι M |
| 73 | have : (F.obj (P ⊗ M)).IsQuasicoherent := Scheme.Modules.isQuasicoherent_restrictFunctor U.1.ι (P ⊗ M) |
| 74 | apply ModuleMono.Construction.affineModuleMap_mono_of_globalSections_injective |
| 75 | intro x y h |
| 76 | apply hi |
| 77 | have hh := congrArg (fun a => a.app ⊤) hres |
| 78 | have hx := ConcreteCategory.congr_hom hh x |
| 79 | have hy := ConcreteCategory.congr_hom hh y |
| 80 | exact hx.symm.trans ((congrArg ((SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso U.1.ι P M).hom.app ⊤) h).trans hy) |
| 81 | |
| 82 | end Construction |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.TensorSectionMono |