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.Koszul.ConcatenatedRegularityQuotient |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CompositeSectionKernelImage |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivRegularSequence |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivDifferentialBasis |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Ideal |
| 7 | |
| 8 | /-! # Parameter Source -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterSource |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The literal pullbacks of projective point parameters generate the |
| 15 | actual source section ideal and have their matching differential basis. -/ |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData.Chart |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | universe u |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {N : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) |
| 25 | [IsClosedImmersion f.left] (z : Spec (CommRingCat.of R) ⟶ X.left) |
| 26 | (g : ℕ) (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 27 | (D : PointParameterData.Chart.ParameterData X f z g U hU) |
| 28 | |
| 29 | local instance sourceAmbientAlgebra : Algebra R Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) := |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (Projective.IntrinsicOverlap.Intrinsic.model R N) U |
| 31 | |
| 32 | def parameters : Fin g → Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U) := |
| 33 | fun a => f.left.app U (D.parameters a) |
| 34 | |
| 35 | omit [IsNoetherianRing R] in |
| 36 | theorem quotient_parameters (j : Fin g) : |
| 37 | Intrinsic.SmoothClosedSections.quotientEquiv R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 38 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (D.parameters j)) = ParameterSource.parameters X f z g U hU D j := rfl |
| 39 | |
| 40 | theorem span : Ideal.span (Set.range (ParameterSource.parameters X f z g U hU D)) = |
| 41 | z.ker.ideal ⟨f.left ⁻¹ᵁ U, hU.preimage f.left⟩ := by |
| 42 | let a := (f.left.app U).hom |
| 43 | let b := (z.app (f.left ⁻¹ᵁ U)).hom |
| 44 | have hn : Ideal.span (Set.range D.equations) = RingHom.ker a := by |
| 45 | simpa only [a, Scheme.Hom.ker_apply] using D.generates |
| 46 | have hp : Ideal.span (Set.range (Fin.append D.equations D.parameters)) = |
| 47 | RingHom.ker (b.comp a) := by |
| 48 | simpa only [KoszulPoint.Ideal.append, Scheme.Hom.ker_apply, Scheme.Hom.comp_app, |
| 49 | CommRingCat.hom_comp, a, b] using D.point_generates |
| 50 | have hs := CompositeSectionKernelImage.image_kernel a (f.left.app_surjective U hU) |
| 51 | b D.equations D.parameters hn hp |
| 52 | change Ideal.span (Set.range (fun j => a (D.parameters j))) = _ |
| 53 | exact hs.trans (z.ker_apply ⟨f.left ⁻¹ᵁ U, hU.preimage f.left⟩).symm |
| 54 | |
| 55 | omit [IsNoetherianRing R] in |
| 56 | theorem regular : RingTheory.Sequence.IsWeaklyRegular |
| 57 | (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 58 | (List.ofFn (ParameterSource.parameters X f z g U hU D)) := by |
| 59 | let e := Intrinsic.SmoothClosedSections.quotientEquiv R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU |
| 60 | have hq := Koszul.ConcatenatedRegularityQuotient.quotient_of_append |
| 61 | (Projective.LocalAdjunction.ideal X f U hU) D.equations D.parameters D.generates D.point_regular |
| 62 | have ht := AlgebraEquivRegularSequence.regular e.toRingEquiv |
| 63 | (fun j => Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (D.parameters j)) hq |
| 64 | change RingTheory.Sequence.IsWeaklyRegular |
| 65 | (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 66 | (List.ofFn (fun j => e (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (D.parameters j)))) at ht |
| 67 | have heq : (fun j => e (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (D.parameters j))) = |
| 68 | ParameterSource.parameters X f z g U hU D := by |
| 69 | funext j |
| 70 | exact quotient_parameters X f z g U hU D j |
| 71 | rw [heq] at ht |
| 72 | exact ht |
| 73 | |
| 74 | def basis : Module.Basis (Fin g) |
| 75 | (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 76 | Ω[Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)⁄R] := |
| 77 | AlgebraEquivDifferentialBasis.basis |
| 78 | (Intrinsic.SmoothClosedSections.quotientEquiv R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU) D.quotientBasis |
| 79 | |
| 80 | omit [IsNoetherianRing R] in |
| 81 | theorem basis_apply (j : Fin g) : basis X f z g U hU D j = |
| 82 | KaehlerDifferential.D R (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 83 | (ParameterSource.parameters X f z g U hU D j) := by |
| 84 | have h := AlgebraEquivDifferentialBasis.basis_apply |
| 85 | (Intrinsic.SmoothClosedSections.quotientEquiv R X (Projective.IntrinsicOverlap.Intrinsic.model R N) f U hU) D.quotientBasis |
| 86 | (fun j => Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X f U hU) (D.parameters j)) D.quotientBasis_apply j |
| 87 | exact h.trans (congrArg (KaehlerDifferential.D R _) |
| 88 | (quotient_parameters X f z g U hU D j)) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterSource |