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.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterBasis |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ConormalBasis |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.EtaleCoordinateRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedDimension |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Ideal |
| 7 | import Mathlib.RingTheory.Artinian.Ring |
| 8 | |
| 9 | /-! # Parameter Existence -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterExistence.Chart |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The regular point parameters, quotient bases and normal equations |
| 16 | needed by the residue comparison are supplied by the original smooth |
| 17 | projective geometry on an actual neighborhood of the entire section. -/ |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | universe u |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [IsArtinianRing R] [IsLocalRing R] |
| 25 | {N : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) |
| 28 | [IsClosedImmersion f.left] (z : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion z] |
| 29 | (hz : z ≫ X.hom = 𝟙 _) (g : ℕ) [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 30 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hcontains : ⊤ ≤ z ⁻¹ᵁ (f.left ⁻¹ᵁ U)) |
| 31 | |
| 32 | attribute [local instance] PointParameterData.Chart.ambientAlgebra |
| 33 | |
| 34 | include hcontains hz in |
| 35 | theorem exists_parameters : |
| 36 | ∃ (V : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hV : IsAffineOpen V), |
| 37 | V ≤ U ∧ Nonempty (PointParameterData.Chart.ParameterData X f z g V hV) := by |
| 38 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 39 | let p : Spec (CommRingCat.of R) := Classical.ofNonempty |
| 40 | let : Nonempty X.left := ⟨z p⟩ |
| 41 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 42 | let : SmoothOfRelativeDimension g (f.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 43 | change SmoothOfRelativeDimension g (f.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R N).hom) |
| 44 | rw [Over.w f] |
| 45 | infer_instance |
| 46 | have hg : g ≤ N := by |
| 47 | simpa only [Fintype.card_fin, Nat.add_sub_cancel] using |
| 48 | (IntegralComparison.Smooth.ClosedDimension.projective f.left g) |
| 49 | let : SmoothOfRelativeDimension N (Projective.IntrinsicOverlap.Intrinsic.model R N).hom := by |
| 50 | change SmoothOfRelativeDimension N (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (N+1))) |
| 51 | simpa only [Fintype.card_fin, Nat.add_sub_cancel] using |
| 52 | (Projective.RelativeDimension.smooth (R := R) (σ := Fin (N+1))) |
| 53 | let : LocallyOfFiniteType (Projective.IntrinsicOverlap.Intrinsic.model R N).hom := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ_locallyOfFiniteType |
| 54 | let : IsLocallyNoetherian (Projective.IntrinsicOverlap.Intrinsic.model R N).left := |
| 55 | LocallyOfFiniteType.isLocallyNoetherian (Projective.IntrinsicOverlap.Intrinsic.model R N).hom |
| 56 | have hxU : f.left (z p) ∈ U := hcontains (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 57 | have hcover : f.left (z p) ∈ ⨆ i : Fin (N+1), AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i := by |
| 58 | rw [AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top] |
| 59 | trivial |
| 60 | obtain ⟨i, hxi⟩ := TopologicalSpace.Opens.mem_iSup.mp hcover |
| 61 | obtain ⟨V₀, hV₀, hV₀U, hx₀, τ, hτ, a, hcoords, c, s, hs, hr, bI, hbI, hc, _⟩ := |
| 62 | IntegralComparison.Smooth.ClosedCoordinateNeighborhood.exists_neighborhood R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f N g |
| 63 | (U ⊓ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (z p) ⟨hxU,hxi⟩ |
| 64 | let := hτ |
| 65 | let := a |
| 66 | let := hcoords.1 |
| 67 | let := hcoords.2 |
| 68 | have hdim : c+g=N := by rw [hc, Nat.sub_add_cancel hg] |
| 69 | have hcontains₀ : ⊤ ≤ z ⁻¹ᵁ (f.left ⁻¹ᵁ V₀) := by |
| 70 | intro q _ |
| 71 | have hqp : q=p := Subsingleton.elim _ _ |
| 72 | change f.left (z q) ∈ V₀ |
| 73 | rw [hqp] |
| 74 | exact hx₀ |
| 75 | obtain ⟨e,r,⟨D⟩⟩ := Intrinsic.PointParameterGeometry.exists_principal R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f z hz |
| 76 | V₀ hV₀ hcontains₀ τ s g (z p) hx₀ hs hr.toIsWeaklyRegular |
| 77 | let V := (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen r |
| 78 | let hV : IsAffineOpen V := hV₀.basicOpen r |
| 79 | have hVV₀ : V ≤ V₀ := (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen_le r |
| 80 | let s' := IdealSheafPrincipalEquations.sequence V₀ r s |
| 81 | let hs' : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) s' = Projective.LocalAdjunction.ideal X f V hV := |
| 82 | IdealSheafPrincipalEquations.generates f.left.ker V₀ hV₀ r s hs |
| 83 | have hp : KoszulPartial.Resolution.pointIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) s' D.parameter = |
| 84 | (z ≫ f.left).ker.ideal ⟨V,hV⟩ := by |
| 85 | rw [KoszulPoint.Ideal.append] |
| 86 | exact Intrinsic.PointParameterGeometry.generates R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f z hz V₀ hV₀ hcontains₀ τ s e r D |
| 87 | let ρ : (f.left ⁻¹ᵁ V) ⟶ (f.left ⁻¹ᵁ V₀) := homOfLE (f.left.preimage_mono hVV₀) |
| 88 | refine ⟨V,hV,hVV₀.trans (hV₀U.trans inf_le_left),⟨{ |
| 89 | coordinate := i |
| 90 | below_coordinate := hVV₀.trans (hV₀U.trans inf_le_right) |
| 91 | contains := D.contains |
| 92 | codimension := c |
| 93 | dimension := hdim |
| 94 | equations := s' |
| 95 | generates := hs' |
| 96 | regular := IdealSheafPrincipalEquations.weaklyRegular V₀ hV₀ r s hr.toIsWeaklyRegular |
| 97 | conormalBasis := Principal.ConormalBasis.basis f.left.ker V₀ hV₀ r bI |
| 98 | conormalBasis_apply := Principal.ConormalBasis.basis_apply f.left.ker V₀ hV₀ r bI s hs hbI |
| 99 | parameters := D.parameter |
| 100 | quotientBasis := Intrinsic.PointParameterBasis.quotientBasis R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f V₀ hV₀ τ e r |
| 101 | quotientBasis_apply := Intrinsic.PointParameterBasis.quotientBasis_apply R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f z hz |
| 102 | V₀ hV₀ hcontains₀ τ e r s D |
| 103 | point_generates := hp |
| 104 | point_regular := D.regular |
| 105 | coordinateIndex := τ |
| 106 | finiteVariables := hτ |
| 107 | coordinates := Affine.EtaleCoordinateRestriction.algebra R X ρ τ |
| 108 | coordinateTower := Affine.EtaleCoordinateRestriction.tower R X ρ τ |
| 109 | coordinateEtale := Affine.EtaleCoordinateRestriction.etale R X ρ τ |
| 110 | (hV₀.preimage f.left) (hV.preimage f.left) |
| 111 | }⟩⟩ |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterExistence.Chart |