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.ParameterRestriction |
| 2 | |
| 3 | /-! # Parameter Refinement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterRefinement.Chart |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A specified point parameter chart is refined by its actual |
| 10 | Jacobian determinant. Its equations and parameters remain literal |
| 11 | restrictions, and an existing second frame restricts to the same open. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | |
| 19 | private theorem frame_reindex {A M : Type*} [CommRing A] [AddCommGroup M] [Module A M] |
| 20 | {r n : ℕ} (b : Module.Basis (Fin r) A M) (h : r=n) (i : Fin r) : |
| 21 | (b.reindex (finCongr h)) (Fin.cast h i) = b i := by |
| 22 | subst n |
| 23 | simp |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {N : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra PointParameterData.Chart.ambientAlgebra |
| 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) |
| 29 | (g : ℕ) (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 30 | |
| 31 | abbrev _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.frameFunction (D : PointParameterData.Chart.ParameterData X f z g U hU) : Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) := |
| 32 | Affine.ParameterFrameNeighborhood.determinant R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 33 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) |
| 34 | (Projective.LocalAdjunction.ideal X f U hU) D.equations D.generates) D.parameters |
| 35 | ((Projective.AmbientAdjunction.differentialBasis D.coordinate U hU D.below_coordinate).reindex |
| 36 | (finCongr D.dimension.symm)) |
| 37 | |
| 38 | variable [Smooth X.hom] |
| 39 | |
| 40 | omit [IsNoetherianRing R] in |
| 41 | theorem _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.frame_preimage (D : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 42 | f.left ⁻¹ᵁ (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen (D.frameFunction X f z g U hU) = f.left ⁻¹ᵁ U := by |
| 43 | let : Smooth (Projective.IntrinsicOverlap.Intrinsic.model R N).hom := Projective.SpaceSmooth.smooth |
| 44 | exact Affine.ParameterFrameNeighborhood.preimage R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 45 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) |
| 46 | (Projective.LocalAdjunction.ideal X f U hU) D.equations D.generates) D.parameters |
| 47 | ((Projective.AmbientAdjunction.differentialBasis D.coordinate U hU D.below_coordinate).reindex |
| 48 | (finCongr D.dimension.symm)) |
| 49 | D.conormalBasis D.conormalBasis_apply D.quotientBasis D.quotientBasis_apply |
| 50 | |
| 51 | omit [IsNoetherianRing R] in |
| 52 | theorem _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.frame_contains (D : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 53 | ⊤ ≤ z ⁻¹ᵁ (f.left ⁻¹ᵁ (Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen (D.frameFunction X f z g U hU)) := by |
| 54 | rw [D.frame_preimage X f z g U hU] |
| 55 | exact D.contains |
| 56 | |
| 57 | def _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.framed (D : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 58 | PointParameterData.Chart.Data X f z g ((Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen (D.frameFunction X f z g U hU)) |
| 59 | (hU.basicOpen (D.frameFunction X f z g U hU)) := by |
| 60 | let sI := ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) |
| 61 | (Projective.LocalAdjunction.ideal X f U hU) D.equations D.generates |
| 62 | let b0 := (Projective.AmbientAdjunction.differentialBasis D.coordinate U hU D.below_coordinate).reindex |
| 63 | (finCongr D.dimension.symm) |
| 64 | let bV := Affine.ParameterFrameNeighborhood.basis R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU sI D.parameters b0 |
| 65 | have hbV := Affine.ParameterFrameNeighborhood.basis_eq R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU sI D.parameters b0 |
| 66 | refine { |
| 67 | toParameterData := D.principal X f z g U hU (D.frameFunction X f z g U hU) |
| 68 | (D.frame_contains X f z g U hU) |
| 69 | ambientBasis := bV.reindex (finCongr D.dimension) |
| 70 | ambientBasis_apply := ?_ } |
| 71 | funext i |
| 72 | exact (frame_reindex bV D.dimension i).trans (congrFun hbV i) |
| 73 | |
| 74 | omit [IsNoetherianRing R] in |
| 75 | theorem _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.ParameterData.framed_parameters (D : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 76 | (D.framed X f z g U hU).parameters = |
| 77 | IdealSheafPrincipalEquations.sequence U (D.frameFunction X f z g U hU) D.parameters := rfl |
| 78 | |
| 79 | def _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data.restrictFor (D : PointParameterData.Chart.Data X f z g U hU) (P : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 80 | PointParameterData.Chart.Data X f z g ((Projective.IntrinsicOverlap.Intrinsic.space R N).basicOpen (P.frameFunction X f z g U hU)) |
| 81 | (hU.basicOpen (P.frameFunction X f z g U hU)) := |
| 82 | D.principal X f z g U hU (P.frameFunction X f z g U hU) (P.frame_contains X f z g U hU) |
| 83 | |
| 84 | omit [IsNoetherianRing R] in |
| 85 | theorem _root_.OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data.restrictFor_parameters (D : PointParameterData.Chart.Data X f z g U hU) (P : PointParameterData.Chart.ParameterData X f z g U hU) : |
| 86 | (D.restrictFor X f z g U hU P).parameters = |
| 87 | IdealSheafPrincipalEquations.sequence U (P.frameFunction X f z g U hU) D.parameters := rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterRefinement.Chart |