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.Affine.ParameterFrameNeighborhood |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ConormalBasis |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.QuotientBasis |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.EtaleCoordinateRestriction |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SpaceSmooth |
| 7 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Ideal |
| 8 | |
| 9 | /-! # Parameter Frame -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterFrame.Chart |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! A genuine projective point parameter chart acquires its matching |
| 16 | ambient differential frame on a principal neighborhood, while its whole |
| 17 | closed chart and section are preserved. -/ |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | universe u |
| 23 | |
| 24 | private theorem sequence_append {Y : Scheme.{u}} (U : Y.Opens) (r : Γ(Y,U)) |
| 25 | {c g : ℕ} (s : Fin c → Γ(Y,U)) (t : Fin g → Γ(Y,U)) : |
| 26 | IdealSheafPrincipalEquations.sequence U r (Fin.append s t) = |
| 27 | Fin.append (IdealSheafPrincipalEquations.sequence U r s) |
| 28 | (IdealSheafPrincipalEquations.sequence U r t) := by |
| 29 | funext i |
| 30 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i <;> |
| 31 | simp only [IdealSheafPrincipalEquations.sequence, Fin.append_left, Fin.append_right] |
| 32 | |
| 33 | private theorem reindex_cast {A M : Type*} [CommRing A] [AddCommGroup M] [Module A M] |
| 34 | {r n : ℕ} (b : Module.Basis (Fin r) A M) (h : r=n) (i : Fin r) : |
| 35 | (b.reindex (finCongr h)) (Fin.cast h i) = b i := by |
| 36 | subst n |
| 37 | simp |
| 38 | |
| 39 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {N : ℕ} |
| 40 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 41 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) |
| 42 | [IsClosedImmersion f.left] (z : Spec (CommRingCat.of R) ⟶ X.left) |
| 43 | (g : ℕ) (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 44 | |
| 45 | attribute [local instance] PointParameterData.Chart.ambientAlgebra |
| 46 | |
| 47 | variable [Smooth X.hom] |
| 48 | |
| 49 | omit [IsNoetherianRing R] in |
| 50 | theorem _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.exists_frame (D : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 51 | ∃ (V : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hV : IsAffineOpen V), |
| 52 | V ≤ U ∧ f.left ⁻¹ᵁ V = f.left ⁻¹ᵁ U ∧ Nonempty (PointParameterData.Chart.Data X f z g V hV) := by |
| 53 | let : Smooth (Projective.IntrinsicOverlap.Intrinsic.model R N).hom := Projective.SpaceSmooth.smooth |
| 54 | let sI := ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) |
| 55 | (Projective.LocalAdjunction.ideal X f U hU) D.equations D.generates |
| 56 | let b0 : Module.Basis (Fin (D.codimension+g)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)⁄R] := |
| 57 | (Projective.AmbientAdjunction.differentialBasis D.coordinate U hU D.below_coordinate).reindex |
| 58 | (finCongr D.dimension.symm) |
| 59 | let r := Affine.ParameterFrameNeighborhood.determinant R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 60 | sI D.parameters b0 |
| 61 | let V := (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen r |
| 62 | let hV : IsAffineOpen V := hU.basicOpen r |
| 63 | have hVU : V ≤ U := (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen_le r |
| 64 | have hpre : f.left ⁻¹ᵁ V = f.left ⁻¹ᵁ U := |
| 65 | Affine.ParameterFrameNeighborhood.preimage R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 66 | sI D.parameters b0 D.conormalBasis D.conormalBasis_apply D.quotientBasis D.quotientBasis_apply |
| 67 | let s' := IdealSheafPrincipalEquations.sequence U r D.equations |
| 68 | let t' := IdealSheafPrincipalEquations.sequence U r D.parameters |
| 69 | let hs' : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) s' = Projective.LocalAdjunction.ideal X f V hV := |
| 70 | IdealSheafPrincipalEquations.generates f.left.ker U hU r D.equations D.generates |
| 71 | have hp0 : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) |
| 72 | (Fin.append D.equations D.parameters) = (z ≫ f.left).ker.ideal ⟨U,hU⟩ := by |
| 73 | simpa only [KoszulPoint.Ideal.append] using D.point_generates |
| 74 | have hp' : KoszulPartial.Resolution.pointIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) s' t' = |
| 75 | (z ≫ f.left).ker.ideal ⟨V,hV⟩ := by |
| 76 | rw [KoszulPoint.Ideal.append] |
| 77 | have hp := IdealSheafPrincipalEquations.generates (z ≫ f.left).ker U hU r |
| 78 | (Fin.append D.equations D.parameters) hp0 |
| 79 | change Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) |
| 80 | (IdealSheafPrincipalEquations.sequence U r (Fin.append D.equations D.parameters)) = |
| 81 | (z ≫ f.left).ker.ideal ⟨V,hV⟩ at hp |
| 82 | rw [sequence_append] at hp |
| 83 | exact hp |
| 84 | have hr' : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,V) (List.ofFn (Fin.append s' t')) := by |
| 85 | simpa only [sequence_append] using |
| 86 | IdealSheafPrincipalEquations.weaklyRegular U hU r |
| 87 | (Fin.append D.equations D.parameters) D.point_regular |
| 88 | let ρ : (f.left ⁻¹ᵁ V) ⟶ (f.left ⁻¹ᵁ U) := homOfLE (f.left.preimage_mono hVU) |
| 89 | let := D.finiteVariables |
| 90 | let := D.coordinates |
| 91 | let := D.coordinateTower |
| 92 | let := D.coordinateEtale |
| 93 | let P : PointParameterData.Chart.ParameterData X f z g V hV := |
| 94 | { coordinate := D.coordinate |
| 95 | below_coordinate := hVU.trans D.below_coordinate |
| 96 | contains := by rw [hpre]; exact D.contains |
| 97 | codimension := D.codimension |
| 98 | dimension := D.dimension |
| 99 | equations := s' |
| 100 | generates := hs' |
| 101 | regular := IdealSheafPrincipalEquations.weaklyRegular U hU r D.equations D.regular |
| 102 | conormalBasis := Principal.ConormalBasis.basis f.left.ker U hU r D.conormalBasis |
| 103 | conormalBasis_apply := Principal.ConormalBasis.basis_apply f.left.ker U hU r |
| 104 | D.conormalBasis D.equations D.generates D.conormalBasis_apply |
| 105 | parameters := t' |
| 106 | quotientBasis := Principal.QuotientBasis.basis R (Projective.IntrinsicOverlap.Intrinsic.model R N) f.left.ker U hU r D.quotientBasis |
| 107 | quotientBasis_apply := Principal.QuotientBasis.basis_apply R (Projective.IntrinsicOverlap.Intrinsic.model R N) f.left.ker U hU r |
| 108 | D.quotientBasis D.parameters D.quotientBasis_apply |
| 109 | point_generates := hp' |
| 110 | point_regular := hr' |
| 111 | coordinateIndex := D.coordinateIndex |
| 112 | finiteVariables := D.finiteVariables |
| 113 | coordinates := Affine.EtaleCoordinateRestriction.algebra R X ρ D.coordinateIndex |
| 114 | coordinateTower := Affine.EtaleCoordinateRestriction.tower R X ρ D.coordinateIndex |
| 115 | coordinateEtale := Affine.EtaleCoordinateRestriction.etale R X ρ D.coordinateIndex |
| 116 | (hU.preimage f.left) (hV.preimage f.left) } |
| 117 | let bV := Affine.ParameterFrameNeighborhood.basis R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU sI D.parameters b0 |
| 118 | have hbV := Affine.ParameterFrameNeighborhood.basis_eq R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU sI D.parameters b0 |
| 119 | refine ⟨V, hV, hVU, hpre, ⟨{ |
| 120 | toParameterData := P |
| 121 | ambientBasis := bV.reindex (finCongr D.dimension) |
| 122 | ambientBasis_apply := ?_ |
| 123 | }⟩⟩ |
| 124 | funext i |
| 125 | exact (reindex_cast bV D.dimension i).trans (congrFun hbV i) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterFrame.Chart |