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.Intrinsic.PointParameterGeometry |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CenteredParameterBasis |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivDifferentialBasis |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.DifferentialBasis |
| 5 | |
| 6 | /-! # Point Parameter Basis -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterBasis |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual parameters in a principal point neighborhood form the |
| 13 | quotient differential basis, with the same ambient lifts as its equations. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) [IsClosedImmersion f.left] |
| 21 | (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 22 | (U : Y.left.Opens) (hU : IsAffineOpen U) (hsU : ⊤ ≤ s ⁻¹ᵁ (f.left ⁻¹ᵁ U)) |
| 23 | (σ : Type u) [Fintype σ] [Algebra (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 24 | [IsScalarTower R (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 25 | [Algebra.Etale (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 26 | {m : ℕ} (e : Fin m ≃ σ) (r : Γ(Y.left, U)) |
| 27 | |
| 28 | def sourceBasis : Module.Basis (Fin m) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ Y.left.basicOpen r)) |
| 29 | Ω[SmoothClosedSections.ring R X (f.left ⁻¹ᵁ Y.left.basicOpen r)⁄R] := |
| 30 | AffineOpen.DifferentialBasis.basis R X |
| 31 | (PointParameterNeighborhood.preimageRestriction R X Y f U r) |
| 32 | (hU.preimage f.left) ((hU.basicOpen r).preimage f.left) |
| 33 | (IntegralComparison.Etale.CenteredParameterBasis.basis R (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) σ e) |
| 34 | |
| 35 | omit [Fintype σ] in |
| 36 | theorem sourceBasis_apply (i : Fin m) : sourceBasis R X Y f U hU σ e r i = |
| 37 | KaehlerDifferential.D R (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ Y.left.basicOpen r)) |
| 38 | (PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r i) := |
| 39 | AffineOpen.DifferentialBasis.basis_apply R X |
| 40 | (PointParameterNeighborhood.preimageRestriction R X Y f U r) |
| 41 | (hU.preimage f.left) ((hU.basicOpen r).preimage f.left) |
| 42 | (IntegralComparison.Etale.CenteredParameterBasis.basis R (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) σ e) |
| 43 | (fun i => IntegralComparison.Etale.CoordinateSectionKernel.parameter |
| 44 | (SectionEvaluation.evaluation R X s hs (f.left ⁻¹ᵁ U) hsU) (e i)) |
| 45 | (IntegralComparison.Etale.CenteredParameterBasis.basis_apply R (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) σ |
| 46 | (SectionEvaluation.evaluation R X s hs (f.left ⁻¹ᵁ U) hsU) e) i |
| 47 | |
| 48 | def quotientBasis : |
| 49 | Module.Basis (Fin m) (SmoothClosedSections.ring R Y (Y.left.basicOpen r) ⧸ |
| 50 | f.left.ker.ideal ⟨Y.left.basicOpen r, hU.basicOpen r⟩) |
| 51 | Ω[SmoothClosedSections.ring R Y (Y.left.basicOpen r) ⧸ |
| 52 | f.left.ker.ideal ⟨Y.left.basicOpen r, hU.basicOpen r⟩⁄R] := |
| 53 | AlgebraEquivDifferentialBasis.basis |
| 54 | (SmoothClosedSections.quotientEquiv R X Y f (Y.left.basicOpen r) (hU.basicOpen r)).symm |
| 55 | (sourceBasis R X Y f U hU σ e r) |
| 56 | |
| 57 | variable {c : ℕ} (a : Fin c → Γ(Y.left, U)) |
| 58 | (D : PointParameterNeighborhood.Data R X Y f s hs U hsU σ a e r) |
| 59 | |
| 60 | omit [Fintype σ] in |
| 61 | theorem quotientBasis_apply (i : Fin m) : quotientBasis R X Y f U hU σ e r i = |
| 62 | KaehlerDifferential.D R (SmoothClosedSections.ring R Y (Y.left.basicOpen r) ⧸ |
| 63 | f.left.ker.ideal ⟨Y.left.basicOpen r, hU.basicOpen r⟩) |
| 64 | (Ideal.Quotient.mk _ (D.parameter i)) := by |
| 65 | have h := AlgebraEquivDifferentialBasis.basis_apply |
| 66 | (SmoothClosedSections.quotientEquiv R X Y f (Y.left.basicOpen r) (hU.basicOpen r)).symm |
| 67 | (sourceBasis R X Y f U hU σ e r) |
| 68 | (PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r) |
| 69 | (sourceBasis_apply R X Y f s hs U hU hsU σ e r) i |
| 70 | have ht : (SmoothClosedSections.quotientEquiv R X Y f (Y.left.basicOpen r) (hU.basicOpen r)).symm |
| 71 | (PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r i) = |
| 72 | Ideal.Quotient.mk _ (D.parameter i) := by |
| 73 | apply (SmoothClosedSections.quotientEquiv R X Y f (Y.left.basicOpen r) (hU.basicOpen r)).injective |
| 74 | rw [AlgEquiv.apply_symm_apply, SmoothClosedSections.quotientEquiv_mk, D.lift] |
| 75 | exact h.trans (congrArg (KaehlerDifferential.D R _) ht) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterBasis |