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.PELModuli.IntegralModel.GeometricAmpleNeighborhood |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.BaseAmpleness |
| 3 | |
| 4 | /-! # Noetherian Model Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.NoetherianModelRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ampleness on the original family follows from ample fibers and an |
| 11 | actual proper flat Noetherian model of its line bundle. The coefficient |
| 12 | map is arbitrary affine; no flatness or reducedness is required of it. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem isAmple_of_noetherian_model |
| 17 | {S T X Y : Scheme.{0}} [IsAffine S] [IsAffine T] [IsNoetherianRing Γ(T, ⊤)] |
| 18 | (f : X ⟶ S) [IsProper f] (p : Y ⟶ T) [IsProper p] [Flat p] |
| 19 | (q : X ⟶ Y) (b : S ⟶ T) [IsAffineHom b] (H : IsPullback q f p b) |
| 20 | (L : Line.Bundles.LineBundle X) (K : Line.Bundles.LineBundle Y) |
| 21 | (e : (K.pullback q).sheaf ≅ L.sheaf) |
| 22 | (hL : ∀ x : S, (L.pullback (f.fiberι x)).IsAmple) : L.IsAmple := by |
| 23 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 24 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 25 | have hq : IsAffineHom q := |
| 26 | MorphismProperty.of_isPullback H.flip (inferInstance : IsAffineHom b) |
| 27 | apply PELModuli.IntegralModel.Affine.BaseAmpleness.isAmple_of_affine_base_neighborhoods f L |
| 28 | intro x |
| 29 | let a := f.fiberι x |
| 30 | let r := f.fiberToSpecResidueField x |
| 31 | let g := S.fromSpecResidueField x ≫ b |
| 32 | have hF : IsPullback (a ≫ q) r p g := |
| 33 | (IsPullback.of_hasPullback f (S.fromSpecResidueField x)).paste_horiz H |
| 34 | let eF : (K.pullback (a ≫ q)).sheaf ≅ (L.pullback a).sheaf := |
| 35 | (Scheme.Modules.pullbackComp a q).symm.app K.sheaf ≪≫ |
| 36 | (Scheme.Modules.pullback a).mapIso e |
| 37 | obtain ⟨U, hxU, _, hKU⟩ := |
| 38 | PELModuli.IntegralModel.GeometricAmpleNeighborhood.properFlat_exists_affine_ample_neighborhood_of_geometric_fiber |
| 39 | p K (a ≫ q) r g hF ((hL x).of_iso eF.symm) |
| 40 | let V := b ⁻¹ᵁ U |
| 41 | let W := p ⁻¹ᵁ U |
| 42 | have hx : x ∈ V := by |
| 43 | change b x ∈ U |
| 44 | have hg : g (IsLocalRing.closedPoint (S.residueField x)) = b x := |
| 45 | (Scheme.Hom.comp_apply (S.fromSpecResidueField x) b _).trans |
| 46 | (congrArg b (S.fromSpecResidueField_apply x _)) |
| 47 | exact hg ▸ hxU |
| 48 | have hpre : q ⁻¹ᵁ W = f ⁻¹ᵁ V := by |
| 49 | change q ⁻¹ᵁ (p ⁻¹ᵁ U) = f ⁻¹ᵁ (b ⁻¹ᵁ U) |
| 50 | rw [← Scheme.Hom.comp_preimage, H.w, Scheme.Hom.comp_preimage] |
| 51 | refine ⟨V, hx, ?_⟩ |
| 52 | rw [← hpre] |
| 53 | have : IsAffineHom (q ∣_ W) := |
| 54 | MorphismProperty.of_isPullback (isPullback_morphismRestrict q W).flip hq |
| 55 | have h := hKU.pullback_of_isAffineHom (q ∣_ W) |
| 56 | apply h.of_iso |
| 57 | exact (Scheme.Modules.pullbackComp (q ∣_ W) W.ι).app K.sheaf ≪≫ |
| 58 | (Scheme.Modules.pullbackCongr (morphismRestrict_ι q W)).app K.sheaf ≪≫ |
| 59 | (Scheme.Modules.pullbackComp (q ⁻¹ᵁ W).ι q).symm.app K.sheaf ≪≫ |
| 60 | (Scheme.Modules.pullback (q ⁻¹ᵁ W).ι).mapIso e |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.NoetherianModelRecovery |