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.Albanese.Construction.ReducedFactor |
| 2 | import Mathlib.AlgebraicGeometry.IdealSheaf.Subscheme |
| 3 | import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial |
| 4 | import Lean.Util.CollectAxioms |
| 5 | |
| 6 | /-! # Reduction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The reduction used by IntegralModel is the actual subscheme cut out by the nilradical. |
| 14 | Its reduced-test-scheme universal property is proved from algebraic |
| 15 | factorization through closed immersions. No classifying property is added |
| 16 | as a field of a model. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | abbrev reduction {B : Scheme.{u}} (X : Over B) : Over B := |
| 24 | Over.mk (X.left.nilradical.subschemeι ≫ X.hom) |
| 25 | |
| 26 | abbrev reductionι {B : Scheme.{u}} (X : Over B) : reduction X ⟶ X := |
| 27 | Over.homMk X.left.nilradical.subschemeι rfl |
| 28 | |
| 29 | instance reduction_closed {B : Scheme.{u}} (X : Over B) : |
| 30 | IsClosedImmersion (reductionι X).left := |
| 31 | inferInstanceAs (IsClosedImmersion X.left.nilradical.subschemeι) |
| 32 | |
| 33 | instance reduction_mono {B : Scheme.{u}} (X : Over B) : Mono (reductionι X) := |
| 34 | Over.mono_of_mono_left _ |
| 35 | |
| 36 | @[simp] theorem reduction_range {B : Scheme.{u}} (X : Over B) : |
| 37 | Set.range (reductionι X).left = Set.univ := by |
| 38 | change Set.range X.left.nilradical.subschemeι = _ |
| 39 | rw [Scheme.IdealSheafData.range_subschemeι, Scheme.support_nilradical] |
| 40 | rfl |
| 41 | |
| 42 | instance reduction_reduced {B : Scheme.{u}} (X : Over B) : |
| 43 | IsReduced (reduction X).left := by |
| 44 | let I := X.left.nilradical |
| 45 | change IsReduced I.subscheme |
| 46 | apply (IsReduced.iff_of_openCover I.subscheme I.subschemeCover.openCover).mpr |
| 47 | intro U |
| 48 | change X.left.affineOpens at U |
| 49 | change IsReduced (Spec (.of (Γ(X.left, U) ⧸ I.ideal U))) |
| 50 | apply (affine_isReduced_iff _).mpr |
| 51 | apply (Ideal.isRadical_iff_quotient_reduced _).mp |
| 52 | change (Ideal.radical (⊥ : Ideal Γ(X.left, U))).IsRadical |
| 53 | exact Ideal.radical_isRadical _ |
| 54 | |
| 55 | def factorToReduction {B : Scheme.{u}} {Y X : Over B} [IsReduced Y.left] |
| 56 | (f : Y ⟶ X) : Y ⟶ reduction X := |
| 57 | Over.homMk |
| 58 | (Albanese.Construction.ReducedFactor.factorThroughClosed (reductionι X).left f.left (by |
| 59 | rw [reduction_range] |
| 60 | exact Set.subset_univ _)) (by |
| 61 | change Albanese.Construction.ReducedFactor.factorThroughClosed _ _ _ ≫ |
| 62 | ((reductionι X).left ≫ X.hom) = Y.hom |
| 63 | rw [← Category.assoc, Albanese.Construction.ReducedFactor.factorThroughClosed_comp] |
| 64 | exact f.w) |
| 65 | |
| 66 | @[reassoc (attr := simp)] theorem factorToReduction_ι |
| 67 | {B : Scheme.{u}} {Y X : Over B} [IsReduced Y.left] (f : Y ⟶ X) : |
| 68 | factorToReduction f ≫ reductionι X = f := by |
| 69 | ext1 |
| 70 | exact Albanese.Construction.ReducedFactor.factorThroughClosed_comp (reductionι X).left f.left |
| 71 | (by rw [reduction_range]; exact Set.subset_univ _) |
| 72 | |
| 73 | /-- Passing to the reduction preserves all morphisms from reduced test schemes. -/ |
| 74 | def reductionHomEquiv {B : Scheme.{u}} (Y X : Over B) [IsReduced Y.left] : |
| 75 | (Y ⟶ reduction X) ≃ (Y ⟶ X) where |
| 76 | toFun f := f ≫ reductionι X |
| 77 | invFun f := factorToReduction f |
| 78 | left_inv f := by |
| 79 | apply (cancel_mono (reductionι X)).mp |
| 80 | exact factorToReduction_ι _ |
| 81 | right_inv f := factorToReduction_ι f |
| 82 | |
| 83 | /-- Naturality makes this the reduced-test-scheme moduli comparison. -/ |
| 84 | theorem reductionHomEquiv_naturality |
| 85 | {B : Scheme.{u}} {Y Z X : Over B} [IsReduced Y.left] [IsReduced Z.left] |
| 86 | (f : Y ⟶ Z) (g : Z ⟶ reduction X) : |
| 87 | reductionHomEquiv Y X (f ≫ g) = f ≫ reductionHomEquiv Z X g := by |
| 88 | change (f ≫ g) ≫ reductionι X = f ≫ g ≫ reductionι X |
| 89 | exact Category.assoc _ _ _ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduction |