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.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint |
| 3 | |
| 4 | /-! # Closure Chart Iff -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartIff.Constructions.ClosureChartPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: complex points of the native affine closure charts -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set |
| 13 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure OAI.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 14 | |
| 15 | variable {n : ℕ} |
| 16 | |
| 17 | def evaluation (i : Fin (n + 1)) (a : {j : Fin (n + 1) // j ≠ i} → ℂ) : |
| 18 | Over.mk (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) := |
| 19 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv _ (MvPolynomial.aeval a) |
| 20 | |
| 21 | theorem evaluation_left (i : Fin (n + 1)) (a : {j : Fin (n + 1) // j ≠ i} → ℂ) : |
| 22 | (evaluation i a).left = Spec.map (CommRingCat.ofHom (MvPolynomial.eval a)) := by |
| 23 | rw [evaluation, AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv_left] |
| 24 | rfl |
| 25 | |
| 26 | set_option backward.isDefEq.respectTransparency false in |
| 27 | theorem evaluation_projective (i : Fin (n + 1)) (a : {j : Fin (n + 1) // j ≠ i} → ℂ) : |
| 28 | (evaluation i a).left ≫ AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i = |
| 29 | (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n (.mk ℂ (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i a) (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.insertOne_ne_zero n i a))).left := by |
| 30 | rw [evaluation_left, AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffineChartMap_eval_eq_vectorPoint] |
| 31 | exact (AlgebraicGeometry.Foundations.Scheme.ProjectiveVectorScale.projectivizationPoint_mk _ _).symm |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | theorem exists_native_point_iff |
| 35 | {S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))} |
| 36 | (Q : Finset (MvPolynomial (Fin (n + 1)) ℂ)) (hQ : ∀ q ∈ Q, ∃ d, q.IsHomogeneous d) |
| 37 | (hS : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone S = {v | ∀ q ∈ Q, MvPolynomial.eval v q = 0}) |
| 38 | (i : Fin (n + 1)) (a : {j : Fin (n + 1) // j ≠ i} → ℂ) : |
| 39 | (∃ q : Over.mk (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ ClosureChartF.Constructions.ClosureAffineChart.over S i, q ≫ ClosureChartF.Constructions.ClosureAffineChart.embedding S i = evaluation i a) ↔ |
| 40 | a ∈ ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone S) i := by |
| 41 | let p : Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 42 | .mk ℂ (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i a) (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.insertOne_ne_zero n i a) |
| 43 | have hmem : a ∈ ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone S) i ↔ p ∈ S := |
| 44 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.mem_projectiveCone_iff S (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i a) (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.insertOne_ne_zero n i a) |
| 45 | rw [hmem] |
| 46 | constructor |
| 47 | · rintro ⟨q, hq⟩ |
| 48 | have he : q.left ≫ ClosureChartF.Constructions.ClosureAffineChart.toAffine S i = (evaluation i a).left := congrArg Over.Hom.left hq |
| 49 | have hp : q.left ≫ ClosureChartF.Constructions.ClosureAffineChart.toClosure S i ≫ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S = (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left := by |
| 50 | rw [show ClosureChartF.Constructions.ClosureAffineChart.toClosure S i ≫ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S = ClosureChartF.Constructions.ClosureAffineChart.toAffine S i ≫ AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i |
| 51 | from pullback.condition.symm, ← Category.assoc, he] |
| 52 | exact evaluation_projective i a |
| 53 | apply (ExactProjective.Constructions.ExactProjectiveClosure.underlying_mem_support_iff Q hQ hS p).mp |
| 54 | have hpoint := congrArg (fun f : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n => |
| 55 | f (IsLocalRing.closedPoint ℂ)) hp |
| 56 | change ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S ((ClosureChartF.Constructions.ClosureAffineChart.toClosure S i) (q.left (IsLocalRing.closedPoint ℂ))) = |
| 57 | ProjectiveClosureIs.Constructions.ProjectiveClosure.underlyingPoint p at hpoint |
| 58 | rw [← hpoint] |
| 59 | exact (ProjectiveClosureIs.Constructions.ProjectiveClosure.inclusion_range S).subset ⟨(ClosureChartF.Constructions.ClosureAffineChart.toClosure S i) (q.left (IsLocalRing.closedPoint ℂ)), rfl⟩ |
| 60 | · intro hp |
| 61 | let r := ProjectiveClosureIs.Constructions.ProjectiveClosure.liftedPoint S p (ProjectiveClosureIs.Constructions.ProjectiveClosure.underlying_mem_support S hp) |
| 62 | have hr : r.left ≫ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S = (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left := |
| 63 | congrArg Over.Hom.left (ProjectiveClosureIs.Constructions.ProjectiveClosure.liftedPoint_inclusion S p (ProjectiveClosureIs.Constructions.ProjectiveClosure.underlying_mem_support S hp)) |
| 64 | have he : (evaluation i a).left ≫ AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i = |
| 65 | r.left ≫ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S := (evaluation_projective i a).trans hr.symm |
| 66 | let q₀ : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ ClosureChartF.Constructions.ClosureAffineChart.scheme S i := pullback.lift (evaluation i a).left r.left he |
| 67 | have hq₀ : q₀ ≫ (ClosureChartF.Constructions.ClosureAffineChart.over S i).hom = 𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := by |
| 68 | change q₀ ≫ ClosureChartF.Constructions.ClosureAffineChart.toAffine S i ≫ AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i = _ |
| 69 | rw [← Category.assoc] |
| 70 | change (pullback.lift _ _ he ≫ pullback.fst _ _) ≫ _ = _ |
| 71 | rw [pullback.lift_fst] |
| 72 | exact (evaluation i a).w |
| 73 | refine ⟨Over.homMk q₀ hq₀, ?_⟩ |
| 74 | apply Over.OverMorphism.ext |
| 75 | exact pullback.lift_fst _ _ he |
| 76 | |
| 77 | theorem coordinate_range |
| 78 | {S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))} |
| 79 | (Q : Finset (MvPolynomial (Fin (n + 1)) ℂ)) (hQ : ∀ q ∈ Q, ∃ d, q.IsHomogeneous d) |
| 80 | (hS : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone S = {v | ∀ q ∈ Q, MvPolynomial.eval v q = 0}) |
| 81 | (i : Fin (n + 1)) : |
| 82 | range (AffineImageAlgebraEq.Constructions.AffineImageAlgebra.coordinates (AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra.coordinateHom (ClosureChartF.Constructions.ClosureAffineChart.over S i) (ClosureChartF.Constructions.ClosureAffineChart.embedding S i))) = |
| 83 | ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone S) i := by |
| 84 | let X := ClosureChartF.Constructions.ClosureAffineChart.over S i |
| 85 | let j := ClosureChartF.Constructions.ClosureAffineChart.embedding S i |
| 86 | let f := AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra.coordinateHom X j |
| 87 | ext a |
| 88 | rw [← exists_native_point_iff Q hQ hS i a] |
| 89 | constructor |
| 90 | · rintro ⟨q, hq⟩ |
| 91 | refine ⟨(AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X).symm q, ?_⟩ |
| 92 | rw [← AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra.coordinateHom_point] |
| 93 | apply (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv _).congr_arg |
| 94 | apply AlgHom.ext |
| 95 | intro p |
| 96 | exact (AffineImageAlgebraEq.Constructions.AffineImageAlgebra.eval_coordinates f q p).symm.trans |
| 97 | (congrArg (fun a => MvPolynomial.eval a p) hq) |
| 98 | · rintro ⟨q, hq⟩ |
| 99 | let r := AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X q |
| 100 | refine ⟨r, ?_⟩ |
| 101 | have he : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv _ (r.comp f) = evaluation i a := by |
| 102 | rw [AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra.coordinateHom_point] |
| 103 | simpa only [r, Equiv.symm_apply_apply] using hq |
| 104 | have hf : r.comp f = MvPolynomial.aeval a := (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv _).injective he |
| 105 | funext k |
| 106 | change r (f (MvPolynomial.X k)) = a k |
| 107 | simpa only [AlgHom.comp_apply, MvPolynomial.aeval_X] using |
| 108 | congrArg (fun f : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i →ₐ[ℂ] ℂ => f (MvPolynomial.X k)) hf |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartIff.Constructions.ClosureChartPoints |