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.NegativeTwistPowerInclusion |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RestrictedUnitFrame |
| 3 | |
| 4 | /-! # Negative Twist Frame Normalization -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistFrameNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard negative-twist frame on its distinguished chart is the |
| 11 | restriction of the actual tensor power of the ideal inclusion. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite _root_.MvPolynomial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistPowerInclusion OAI.NumberTheory.PadicHodge.IntegralComparison.RestrictedUnitFrame |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | local instance (X : Scheme.{u}) : MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 22 | |
| 23 | theorem restrict_unitTensor_hom {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] : |
| 24 | (Scheme.Modules.restrictFunctor f).map (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso Y).hom ≫ |
| 25 | (Scheme.Modules.restrictUnitIso f).hom = |
| 26 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso f (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y)).hom ≫ |
| 27 | ((Scheme.Modules.restrictUnitIso f).hom ⊗ₘ (Scheme.Modules.restrictUnitIso f).hom) ≫ |
| 28 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso X).hom := by |
| 29 | let F := Scheme.Modules.restrictFunctor f |
| 30 | let r := Scheme.Modules.restrictUnitIso f |
| 31 | let d := AlgebraicGeometry.SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso f (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) |
| 32 | have he : r.symm ≪≫ F.mapIso (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso Y).symm ≪≫ d = |
| 33 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso X).symm ≪≫ (r.symm ⊗ᵢ r.symm) := by |
| 34 | apply Iso.ext |
| 35 | exact AlgebraicGeometry.SheafCohomology.Projective.TensorFrameSections.poleTensor_restrict_unitObjTensorIso_inv f |
| 36 | have hi := congrArg Iso.inv he |
| 37 | change d.inv ≫ F.map (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso Y).hom ≫ r.hom = |
| 38 | (r.hom ⊗ₘ r.hom) ≫ (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso X).hom at hi |
| 39 | apply (cancel_epi d.inv).mp |
| 40 | change d.inv ≫ F.map (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso Y).hom ≫ r.hom = |
| 41 | d.inv ≫ d.hom ≫ (r.hom ⊗ₘ r.hom) ≫ (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso X).hom |
| 42 | rw [d.inv_hom_id_assoc] |
| 43 | exact hi |
| 44 | |
| 45 | theorem restrict_tensorToUnit {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 46 | {M N : Y.Modules} (g : M ⟶ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) (h : N ⟶ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) : |
| 47 | (Scheme.Modules.restrictFunctor f).map ((g ⊗ₘ h) ≫ (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso Y).hom) ≫ |
| 48 | (Scheme.Modules.restrictUnitIso f).hom = |
| 49 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso f M N).hom ≫ |
| 50 | (((Scheme.Modules.restrictFunctor f).map g ≫ (Scheme.Modules.restrictUnitIso f).hom) ⊗ₘ |
| 51 | ((Scheme.Modules.restrictFunctor f).map h ≫ (Scheme.Modules.restrictUnitIso f).hom)) ≫ |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso X).hom := by |
| 53 | let F := Scheme.Modules.restrictFunctor f |
| 54 | let r := Scheme.Modules.restrictUnitIso f |
| 55 | let : (Scheme.Modules.pullback f).Monoidal := AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorGeneral.Scheme.Modules.pullbackMonoidal f |
| 56 | let : F.Monoidal := Functor.Monoidal.transport (Scheme.Modules.restrictFunctorIsoPullback f).symm |
| 57 | have hn := (Functor.OplaxMonoidal.δ_natural F g h).symm |
| 58 | change F.map (g ⊗ₘ h) ≫ |
| 59 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso f (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y)).hom = |
| 60 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.restrictMonoidalTensorIso f M N).hom ≫ (F.map g ⊗ₘ F.map h) at hn |
| 61 | rw [Functor.map_comp, Category.assoc, restrict_unitTensor_hom, reassoc_of% hn, |
| 62 | tensorHom_comp_tensorHom_assoc] |
| 63 | |
| 64 | variable {R : Type u} [CommRing R] {σ : Type} |
| 65 | |
| 66 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 67 | |
| 68 | theorem base_over (j : σ) : |
| 69 | (AlgebraicGeometry.SheafCohomology.Projective.IdealModule.idealModuleToUnit (AlgebraicGeometry.SheafCohomology.Projective.SpaceHyperplane.MvPolynomial.coordinateHyperplaneι (R := R) j)).over (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) = |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.HyperplaneCoordinateSection.MvPolynomial.coordinateHyperplaneIdealOverTrivialization (R := R) j j).hom := by |
| 71 | apply (cancel_epi (AlgebraicGeometry.SheafCohomology.Projective.HyperplaneCoordinateSection.MvPolynomial.coordinateHyperplaneIdealOverTrivialization (R := R) j j).inv).mp |
| 72 | rw [AlgebraicGeometry.SheafCohomology.Projective.HyperplaneCoordinateSection.MvPolynomial.coordinateHyperplaneIdealOverTrivialization_inv_comp, |
| 73 | AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self, Iso.inv_hom_id] |
| 74 | let : ∀ V, IsMulCommutative ((Proj (homogeneousSubmodule σ R)).ringCatSheaf.obj.obj V) := |
| 75 | fun V => by |
| 76 | change IsMulCommutative ((Proj (homogeneousSubmodule σ R)).presheaf.obj V) |
| 77 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 78 | exact (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEndRingHom |
| 79 | (Proj (homogeneousSubmodule σ R)).ringCatSheaf (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)).map_one |
| 80 | |
| 81 | theorem base_restriction (j : σ) : |
| 82 | (Scheme.Modules.restrictFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).map |
| 83 | (AlgebraicGeometry.SheafCohomology.Projective.IdealModule.idealModuleToUnit (AlgebraicGeometry.SheafCohomology.Projective.SpaceHyperplane.MvPolynomial.coordinateHyperplaneι (R := R) j)) ≫ |
| 84 | (Scheme.Modules.restrictUnitIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).hom = |
| 85 | (AlgebraicGeometry.SheafCohomology.Projective.HyperplaneFrames.MvPolynomial.coordinateHyperplaneIdealModuleTrivialization (R := R) j j).inv := |
| 86 | RestrictedUnitFrame.restriction_eq_of_over_eq (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) _ |
| 87 | (AlgebraicGeometry.SheafCohomology.Projective.HyperplaneFrames.MvPolynomial.coordinateHyperplaneIdealModuleTrivialization (R := R) j j).symm (base_over j) |
| 88 | |
| 89 | theorem inclusion_restriction (j : σ) (n : ℕ) : |
| 90 | (Scheme.Modules.restrictFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).map (NegativeTwistPowerInclusion.inclusion (R := R) j n) ≫ |
| 91 | (Scheme.Modules.restrictUnitIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).hom = |
| 92 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) j j n).hom := by |
| 93 | induction n with |
| 94 | | zero => |
| 95 | exact AlgebraicGeometry.SheafCohomology.Projective.TensorFrameSections.poleTensor_restrict_monoidalUnitObjIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι |
| 96 | | succ n ih => |
| 97 | change (Scheme.Modules.restrictFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).map |
| 98 | ((NegativeTwistPowerInclusion.inclusion (R := R) j n ⊗ₘ AlgebraicGeometry.SheafCohomology.Projective.IdealModule.idealModuleToUnit (AlgebraicGeometry.SheafCohomology.Projective.SpaceHyperplane.MvPolynomial.coordinateHyperplaneι (R := R) j)) ≫ |
| 99 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.unitObjTensorIso _).hom) ≫ (Scheme.Modules.restrictUnitIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).hom = _ |
| 100 | rw [restrict_tensorToUnit, ih, base_restriction] |
| 101 | rfl |
| 102 | |
| 103 | theorem inclusion_over (j : σ) (n : ℕ) : |
| 104 | (NegativeTwistPowerInclusion.inclusion (R := R) j n).over (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) = |
| 105 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistMaps.MvPolynomial.coordinateHyperplaneIdealModulePowerOverFrame (R := R) j j n).hom := |
| 106 | RestrictedUnitFrame.over_eq_of_restriction_eq (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) _ |
| 107 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) j j n) |
| 108 | (inclusion_restriction j n) |
| 109 | |
| 110 | theorem coefficient_eq_frame (j : σ) (n : ℕ) |
| 111 | (x : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n, AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)) : |
| 112 | AlgebraicGeometry.SheafCohomology.Projective.NegativeChartCoordinates.MvPolynomial.coordinateHyperplaneNegativeChartCoefficient j n x = |
| 113 | (AlgebraicGeometry.SheafCohomology.Projective.RankOneMapCoordinates.overFrameSectionEquiv (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n) |
| 114 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) (AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistMaps.MvPolynomial.coordinateHyperplaneIdealModulePowerOverFrame (R := R) j j n)).symm x := by |
| 115 | have h := congrArg (fun f => f.val.app (op (Over.mk (𝟙 (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j))))) |
| 116 | (inclusion_over (R := R) j n) |
| 117 | exact (NegativeTwistPowerInclusion.inclusion_eq_coefficient j n x).symm.trans (ConcreteCategory.congr_hom h x) |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistFrameNormalization |