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.Projective.BasicOpen |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 3 | |
| 4 | /-! # Projection Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ProjectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restricting the constructed projective projection to a closed |
| 11 | subscheme avoiding its center gives an actual proper morphism, with |
| 12 | the expected homogeneous coordinate preimages. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection |
| 19 | |
| 20 | variable {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 21 | {X : Scheme} (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (hi : ∀ x, i x ∈ BasicOpen.RationalProjection.domain f) |
| 22 | |
| 23 | def lift : X ⟶ (BasicOpen.RationalProjection.domain f).toScheme := |
| 24 | IsOpenImmersion.lift (BasicOpen.RationalProjection.domain f).ι i (by |
| 25 | rw [Scheme.Opens.range_ι] |
| 26 | rintro _ ⟨x, rfl⟩ |
| 27 | exact hi x) |
| 28 | |
| 29 | theorem lift_fac : ProjectionRestriction.lift f i hi ≫ (BasicOpen.RationalProjection.domain f).ι = i := IsOpenImmersion.lift_fac _ _ _ |
| 30 | |
| 31 | def projection : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m := ProjectionRestriction.lift f i hi ≫ BasicOpen.RationalProjection.map f |
| 32 | |
| 33 | theorem over_base (hC : ∀ z : ℂ, f (MvPolynomial.C z) = MvPolynomial.C z) : |
| 34 | projection f i hi ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n := by |
| 35 | rw [projection, Category.assoc, BasicOpen.RationalProjection.over_base f hC, |
| 36 | ← Category.assoc, ProjectionRestriction.lift_fac] |
| 37 | |
| 38 | theorem preimage_basicOpen (t : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m) {e : ℕ} |
| 39 | (ht : t ∈ Foundations.Scheme.ProjectiveSpace.projectiveGrading m e) (he : 0 < e) : |
| 40 | projection f i hi ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading m) t = |
| 41 | i ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f t) := by |
| 42 | change ProjectionRestriction.lift f i hi ⁻¹ᵁ (BasicOpen.RationalProjection.map f ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading m) t) = _ |
| 43 | rw [BasicOpen.Projection.preimage_basicOpen f t ht he] |
| 44 | ext x |
| 45 | exact (congrArg (fun k => k x ∈ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f t)) (ProjectionRestriction.lift_fac f i hi)).to_iff |
| 46 | |
| 47 | theorem isProper [IsClosedImmersion i] |
| 48 | (hC : ∀ z : ℂ, f (MvPolynomial.C z) = MvPolynomial.C z) : IsProper (projection f i hi) := by |
| 49 | have hcomp : IsProper (projection f i hi ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) := by |
| 50 | rw [over_base f i hi hC] |
| 51 | infer_instance |
| 52 | exact @IsProper.of_comp X (Foundations.Scheme.ProjectiveSpace.projectiveSpace m) Foundations.Scheme.ProjectiveSpace.complexBase (projection f i hi) |
| 53 | (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) hcomp inferInstance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ProjectionRestriction |