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.Ample.TranslationQuotient |
| 2 | |
| 3 | /-! # Killed Translation Kernel Quotient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KilledTranslationKernelQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An invertible exponent killing the actual translation kernel places |
| 10 | it inside finite etale torsion. Its original specialization property |
| 11 | makes an etale kernel finite and supplies the unchanged quotient. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | variable {S : Scheme} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 17 | (A : Abelian.Schemes.AbelianScheme g S) (L : Line.Bundles.LineBundle A.scheme.left) |
| 18 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 19 | |
| 20 | local instance killedKernel_sourceNoetherian : IsLocallyNoetherian A.scheme.left := |
| 21 | LocallyOfFiniteType.isLocallyNoetherian A.scheme.hom |
| 22 | |
| 23 | local instance killedKernel_group : GrpObj (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P) := |
| 24 | (Picard.ThetaConstruction.RelativeDifferenceGroup.Geometric.relativeDifferenceZeroGroup A L P).group |
| 25 | |
| 26 | local instance killedKernel_commutative : IsCommMonObj (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P) := |
| 27 | Picard.ThetaConstruction.RelativeDifferenceGroup.Geometric.relativeDifferenceZeroGroup_commutative A L P |
| 28 | |
| 29 | local instance killedKernel_inclusionMonHom : IsMonHom (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P) := |
| 30 | Picard.ThetaConstruction.RelativeDifferenceGroup.Geometric.relativeDifferenceZeroInclusion_isMonHom A L P |
| 31 | |
| 32 | omit [IsAffine S] in |
| 33 | theorem killedTranslationKernel_formallyUnramified |
| 34 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) |
| 35 | (hi : Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P ^ n = 1) : |
| 36 | FormallyUnramified (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom := by |
| 37 | let Z := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P |
| 38 | let i := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P |
| 39 | let T := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A.scheme n |
| 40 | let t := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A.scheme n |
| 41 | let j : Z ⟶ T := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n i hi |
| 42 | have hj : j.left ≫ t.left = i.left := |
| 43 | congrArg Over.Hom.left (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι n i hi) |
| 44 | have : Mono i.left := |
| 45 | Picard.ThetaConstruction.RelativeFiniteType.Geometric.RelativeRigidifiedCharts.zeroInclusion_left_mono P (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeRigidifiedDifference A L) |
| 46 | have : Mono j.left := mono_of_mono_fac hj |
| 47 | have : Etale T.hom := AbelianScheme.TorsionQuotient.Etale.TorsionEtale.torsion_etale A.scheme n hn |
| 48 | have h : FormallyUnramified (j.left ≫ T.hom) := |
| 49 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ inferInstance inferInstance |
| 50 | exact j.w ▸ h |
| 51 | |
| 52 | theorem killedTranslationKernel_isFinite |
| 53 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) |
| 54 | (hi : Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P ^ n = 1) |
| 55 | [Etale (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom] : |
| 56 | IsFinite (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom := by |
| 57 | let Z := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P |
| 58 | let i := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P |
| 59 | let T := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A.scheme n |
| 60 | let t := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A.scheme n |
| 61 | let j : Z ⟶ T := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n i hi |
| 62 | have hj : j ≫ t = i := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι n i hi |
| 63 | have hj' : j.left ≫ t.left = i.left := congrArg Over.Hom.left hj |
| 64 | obtain ⟨hfin, het⟩ := AbelianScheme.TorsionQuotient.Etale.TorsionEtale.torsion_finite_etale A.scheme n hn |
| 65 | let : IsFinite T.hom := hfin |
| 66 | let : Etale T.hom := het |
| 67 | let : IsClosedImmersion t.left := AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.torsion_closedImmersion A.scheme n |
| 68 | let : Mono i.left := |
| 69 | Picard.ThetaConstruction.RelativeFiniteType.Geometric.RelativeRigidifiedCharts.zeroInclusion_left_mono P (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeRigidifiedDifference A L) |
| 70 | let : Mono j.left := mono_of_mono_fac hj' |
| 71 | let : Etale (j.left ≫ T.hom) := by rw [j.w]; infer_instance |
| 72 | let : Etale j.left := Etale.of_comp j.left T.hom |
| 73 | let : IsOpenImmersion j.left := IsOpenImmersion.of_flat_of_mono j.left |
| 74 | have hs : StableUnderSpecialization (Set.range i.left) := by |
| 75 | change StableUnderSpecialization |
| 76 | (Set.range (Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeRigidifiedDifference A L) P).hom) |
| 77 | simpa only [Category.comp_id] using |
| 78 | Picard.ThetaConstruction.RelativeSpecialization.Geometric.RelativeRigidifiedCharts.zeroProjection_range_stableUnderSpecialization P |
| 79 | (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeRigidifiedDifference A L) (𝟙 A.scheme.left) |
| 80 | have hs' : StableUnderSpecialization (Set.range j.left) := by |
| 81 | intro x y hxy hx |
| 82 | obtain ⟨z, hz⟩ := hx |
| 83 | have hx' : t.left x ∈ Set.range i.left := |
| 84 | ⟨z, (congrArg (fun b : Z.left ⟶ A.scheme.left => b z) hj').symm.trans |
| 85 | (congrArg t.left hz)⟩ |
| 86 | obtain ⟨w, hw⟩ := hs (hxy.map t.left.continuous) hx' |
| 87 | refine ⟨w, t.left.isClosedEmbedding.injective ?_⟩ |
| 88 | exact (congrArg (fun b : Z.left ⟶ A.scheme.left => b w) hj').trans hw |
| 89 | let : IsLocallyNoetherian T.left := LocallyOfFiniteType.isLocallyNoetherian T.hom |
| 90 | let : CompactSpace T.left := QuasiCompact.compactSpace_of_compactSpace T.hom |
| 91 | let : IsNoetherian T.left := ⟨⟩ |
| 92 | have hclosed : IsClosed (Set.range j.left) := |
| 93 | Picard.ThetaConstruction.NoetherianSpecializationClosed.Geometric.isClosed_of_isOpen_stableUnderSpecialization j.left.isOpenEmbedding.isOpen_range hs' |
| 94 | let : IsClosedImmersion j.left := IsClosedImmersion.of_isPreimmersion j.left hclosed |
| 95 | have h : IsFinite (j.left ≫ T.hom) := inferInstance |
| 96 | exact j.w ▸ h |
| 97 | |
| 98 | theorem killedTranslationKernel_inclusion_closedImmersion |
| 99 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) |
| 100 | (hi : Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P ^ n = 1) |
| 101 | [Etale (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom] : |
| 102 | IsClosedImmersion (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P).left := by |
| 103 | let i := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P |
| 104 | have : IsFinite (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom := |
| 105 | killedTranslationKernel_isFinite A L P n hn hi |
| 106 | have : IsFinite (i.left ≫ A.scheme.hom) := by rw [i.w]; infer_instance |
| 107 | have : IsFinite i.left := IsFinite.of_comp i.left A.scheme.hom |
| 108 | have : Mono i.left := |
| 109 | Picard.ThetaConstruction.RelativeFiniteType.Geometric.RelativeRigidifiedCharts.zeroInclusion_left_mono P (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeRigidifiedDifference A L) |
| 110 | exact (IsClosedImmersion.iff_isFinite_and_mono i.left).mpr ⟨inferInstance, inferInstance⟩ |
| 111 | |
| 112 | theorem ampleTranslationQuotient_nonempty_of_killed |
| 113 | (n : ℕ) (hn : 0 < n) (hunit : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) |
| 114 | (hi : Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P ^ n = 1) |
| 115 | [Etale (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P).hom] : |
| 116 | Nonempty (Ample.TranslationQuotient.AmpleTranslationQuotient A L P) := by |
| 117 | let Z := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A L P |
| 118 | let i := Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroInclusion A L P |
| 119 | have : IsFinite Z.hom := killedTranslationKernel_isFinite A L P n hunit hi |
| 120 | obtain ⟨B, f, r, he, hr, hfr, hrf, hk, hu⟩ := AbelianScheme.IsogenyQuotient.Finite.EtaleGroup.Construction.finiteEtaleGroupQuotient_exists A Z i |
| 121 | (killedTranslationKernel_inclusion_closedImmersion A L P n hunit hi) n hi |
| 122 | exact ⟨⟨n, hn, B, f, r, he, hr, hfr, hrf, hk, hu⟩⟩ |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KilledTranslationKernelQuotient |