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.IntersectionTheory.ProjectionFormula.Parameter.Polynomial |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.ClosedSupport |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.StalkDimension |
| 4 | |
| 5 | /-! # Family Regularity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyRegularity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The moving integral subscheme model is exactly the prescribed |
| 14 | closed support family, with its actual flat parameter morphism. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | open scoped _root_.Polynomial |
| 21 | |
| 22 | namespace IntegralFamilySupport |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Polynomial.ProjectiveSubschemeFamily |
| 25 | |
| 26 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 27 | |
| 28 | def parameterLine : MatrixFamily.Family.space A ⟶ Spec (.of ℂ[X]) := |
| 29 | Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n ≫ Parameter.Polynomial.IntegralProduct.toLine A |
| 30 | |
| 31 | instance flat_ambient : Flat (parameterLine A) := by |
| 32 | let : Flat (Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n) := |
| 33 | MorphismProperty.of_isPullback |
| 34 | (Relative.ProjectivePullback.isPullback (FamilySupport.Family.coefficients A) n) |
| 35 | inferInstance |
| 36 | unfold parameterLine |
| 37 | infer_instance |
| 38 | |
| 39 | variable {Z : Scheme} [IsIntegral Z] [IsLocallyNoetherian Z] |
| 40 | (i : Z ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) [IsClosedImmersion i] |
| 41 | |
| 42 | def support : IrreducibleCloseds (MatrixFamily.Family.space A) := |
| 43 | Closed.ImmersionSupport.support (Parameter.Polynomial.ProjectiveSubschemeFamily.moving A i) |
| 44 | |
| 45 | theorem support_eq : (support A i : Set (MatrixFamily.Family.space A)) = |
| 46 | (FamilySupport.Family.support A |
| 47 | ⟨(Closed.ImmersionSupport.support i : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)), |
| 48 | (Closed.ImmersionSupport.support i).isClosed⟩ : |
| 49 | Set (MatrixFamily.Family.space A)) := by |
| 50 | rw [support, ProjectionFormula.Flat.ClosedSupport.support_range] |
| 51 | change Set.range ((MatrixFamily.Family.automorphism A).hom ∘ Parameter.Polynomial.ProjectiveSubschemeFamily.toAmbient A i) = |
| 52 | (MatrixFamily.Family.automorphism A).inv ⁻¹' |
| 53 | (FamilySupport.Family.projection A ⁻¹' |
| 54 | (Closed.ImmersionSupport.support i : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n))) |
| 55 | rw [Set.range_comp, FamilySupport.Family.inverse_preimage, |
| 56 | ProjectionFormula.Flat.ClosedSupport.support_range] |
| 57 | exact congrArg ((MatrixFamily.Family.automorphism A).hom '' ·) |
| 58 | (Scheme.Pullback.range_fst (FamilySupport.Family.projection A) i) |
| 59 | |
| 60 | instance flat_moving : Flat (Parameter.Polynomial.ProjectiveSubschemeFamily.moving A i ≫ parameterLine A) := by |
| 61 | rw [parameterLine, ← Category.assoc, Parameter.Polynomial.ProjectiveSubschemeFamily.moving_parameter] |
| 62 | infer_instance |
| 63 | |
| 64 | instance flat_support : Flat (CycleClass.Geometric.GenericPoint.reducedSupportι (support A i) ≫ parameterLine A) := |
| 65 | ProjectionFormula.Flat.ClosedSupport.flat (Parameter.Polynomial.ProjectiveSubschemeFamily.moving A i) (parameterLine A) |
| 66 | |
| 67 | end IntegralFamilySupport |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! The actual matrix-family ambient scheme is integral and smooth |
| 72 | of total dimension n+1, giving native finite projective resolutions at its stalks. -/ |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false |
| 75 | set_option backward.isDefEq.respectTransparency.types false |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 78 | |
| 79 | namespace Family |
| 80 | |
| 81 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 82 | |
| 83 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 84 | |
| 85 | instance parameterDimension : |
| 86 | SmoothOfRelativeDimension 1 (Parameter.Polynomial.IntegralProduct.parameterBase A) := by |
| 87 | rw [← Parameter.Polynomial.IntegralProduct.over_base] |
| 88 | exact smoothOfRelativeDimension_comp (Parameter.Polynomial.IntegralProduct.toLine A) |
| 89 | Parameter.Polynomial.Line.base (n := 0) (m := 1) |
| 90 | |
| 91 | instance relativeDimension : |
| 92 | SmoothOfRelativeDimension n (Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n) := by |
| 93 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension n) := |
| 94 | smoothOfRelativeDimension_isStableUnderBaseChange n |
| 95 | let : SmoothOfRelativeDimension n (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := |
| 96 | Dimension.projective_relativeDimension n |
| 97 | exact MorphismProperty.of_isPullback |
| 98 | (Relative.ProjectivePullback.isPullback (FamilySupport.Family.coefficients A) n) |
| 99 | (inferInstanceAs (SmoothOfRelativeDimension n (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))) |
| 100 | |
| 101 | def base : MatrixFamily.Family.space A ⟶ Foundations.Scheme.ProjectiveSpace.complexBase := |
| 102 | Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n ≫ Parameter.Polynomial.IntegralProduct.parameterBase A |
| 103 | |
| 104 | instance totalDimension : SmoothOfRelativeDimension (n + 1) (base A) := |
| 105 | smoothOfRelativeDimension_comp (Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n) |
| 106 | (Parameter.Polynomial.IntegralProduct.parameterBase A) (n := n) (m := 1) |
| 107 | |
| 108 | instance integral : IsIntegral (MatrixFamily.Family.space A) := by |
| 109 | let : IsIntegral (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := Dimension.projective_integral n |
| 110 | let : IsIso (Parameter.Polynomial.ProjectiveSubschemeFamily.toAmbient A (𝟙 (Foundations.Scheme.ProjectiveSpace.projectiveSpace n))) := |
| 111 | inferInstanceAs (IsIso (pullback.fst (FamilySupport.Family.projection A) (𝟙 (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)))) |
| 112 | exact IsIntegral.of_isIso (Parameter.Polynomial.ProjectiveSubschemeFamily.toAmbient A (𝟙 (Foundations.Scheme.ProjectiveSpace.projectiveSpace n))) |
| 113 | |
| 114 | theorem stalk_bound (x : MatrixFamily.Family.space A) : |
| 115 | Polynomial.DimensionBound.GlobalBound ((MatrixFamily.Family.space A).presheaf.stalk x) (n + 1) := |
| 116 | Smooth.StalkDimension.stalk_bound (base A) (n + 1) x |
| 117 | |
| 118 | end Family |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyRegularity |