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.CompositeSectionKernel |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionCompositeEvaluation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivDifferentialBasis |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Ideal |
| 6 | |
| 7 | /-! # Parameter Replacement -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Any regular parameter basis for the actual section on the closed |
| 14 | chart has ambient lifts giving genuine projective point parameter data. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe u |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {N : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra PointParameterData.Chart.ambientAlgebra |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) |
| 24 | [IsClosedImmersion f.left] (z : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion z] |
| 25 | (hz : z ≫ X.hom = 𝟙 _) (g : ℕ) (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 26 | (D : PointParameterData.Chart.ParameterData X f z g U hU) |
| 27 | (t : Fin g → Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 28 | (ht : Ideal.span (Set.range t) = z.ker.ideal ⟨f.left ⁻¹ᵁ U,hU.preimage f.left⟩) |
| 29 | (hreg : RingTheory.Sequence.IsWeaklyRegular |
| 30 | (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) (List.ofFn t)) |
| 31 | (b : Module.Basis (Fin g) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 32 | Ω[Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)⁄R]) |
| 33 | (hb : ∀ i, b i = KaehlerDifferential.D R _ (t i)) |
| 34 | |
| 35 | def PointParameterData.Chart.ParameterData.replace : PointParameterData.Chart.ParameterData X f z g U hU := by |
| 36 | let a := (f.left.app U).hom |
| 37 | let ha := f.left.app_surjective U hU |
| 38 | let t' := CompositeSectionKernel.lift a ha t |
| 39 | let e := Intrinsic.SmoothClosedSections.quotientEquiv R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 40 | let ε := Intrinsic.SectionEvaluation.evaluation R X z hz (f.left ⁻¹ᵁ U) D.contains |
| 41 | have hnormal : Ideal.span (Set.range D.equations) = RingHom.ker a := by |
| 42 | simpa only [a, Scheme.Hom.ker_apply] using D.generates |
| 43 | have htker : Ideal.span (Set.range t) = RingHom.ker ε.toRingHom := |
| 44 | ht.trans (Intrinsic.SectionEvaluation.kernel R X z hz (f.left ⁻¹ᵁ U) D.contains |
| 45 | (hU.preimage f.left)).symm |
| 46 | have hp : KoszulPartial.Resolution.pointIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U) D.equations t' = |
| 47 | (z ≫ f.left).ker.ideal ⟨U,hU⟩ := by |
| 48 | rw [KoszulPoint.Ideal.append] |
| 49 | exact (CompositeSectionKernel.lifted_kernel a ha ε.toRingHom D.equations t hnormal htker).trans |
| 50 | ((Intrinsic.SectionCompositeEvaluation.kernel R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f z hz U D.contains).trans |
| 51 | (Intrinsic.SectionEvaluation.kernel R (Projective.IntrinsicOverlap.Intrinsic.model R N) (z ≫ f.left) |
| 52 | (Intrinsic.SectionCompositeEvaluation.over_base R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f z hz) U D.contains hU)) |
| 53 | have hq (i : Fin g) : e.symm (t i) = Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (t' i) := by |
| 54 | apply e.injective |
| 55 | rw [AlgEquiv.apply_symm_apply] |
| 56 | exact (CompositeSectionKernel.lift_eq a ha t i).symm |
| 57 | exact { D with |
| 58 | parameters := t' |
| 59 | quotientBasis := AlgebraEquivDifferentialBasis.basis e.symm b |
| 60 | quotientBasis_apply := fun i => |
| 61 | (AlgebraEquivDifferentialBasis.basis_apply e.symm b t hb i).trans |
| 62 | (congrArg (KaehlerDifferential.D R _) (hq i)) |
| 63 | point_generates := hp |
| 64 | point_regular := CompositeSectionKernel.lifted_regular a ha D.equations t hnormal D.regular hreg } |
| 65 | |
| 66 | omit [IsNoetherianRing R] in |
| 67 | theorem PointParameterData.Chart.ParameterData.replace_lift (i : Fin g) : |
| 68 | f.left.app U ((D.replace X f z hz g U hU t ht hreg b hb).parameters i) = t i := |
| 69 | CompositeSectionKernel.lift_eq (f.left.app U).hom (f.left.app_surjective U hU) t i |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint |