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.ProjectiveFinite.CoefficientResidueDimensionData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueClass |
| 3 | |
| 4 | /-! # Coefficient Residue Map Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueMapCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual finite adjunction residue uses the same principal |
| 11 | coefficient-resolution map as the fixed-point fraction formula. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n c g : ℕ} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | Projective.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 22 | Finite.FlatCoefficientSections.quotientAlgebra |
| 23 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 25 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 26 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 27 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 28 | (B : ℕ) (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 29 | (k : Fin (n+2)) (hUk : U ≤ OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 30 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U)) |
| 31 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 32 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U) (List.ofFn s)) |
| 33 | (b : Basis (Fin (n+1)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U)⁄R]) |
| 34 | |
| 35 | abbrev frame := Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 36 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) U hU k hUk b |
| 37 | |
| 38 | def raw (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 39 | Principal.Koszul.Comparison.nativeComplex U hU |
| 40 | (ProjectivePoint.ScalarFraction.line (R := R) (n := n)) |
| 41 | (CoefficientPointFraction.source f i.left B) ⟶ |
| 42 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ |
| 43 | ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1),U)) (.up ℕ) c).obj |
| 44 | (Principal.ClosedKoszulResidue.target i.left U hU) := |
| 45 | CoefficientResidueClass.residueMap f i.left B U hU k hUk |
| 46 | (frame U hU k hUk b) s hs hreg x |
| 47 | |
| 48 | omit [AlgebraicGeometry.Flat f] [Smooth X.hom] [IsProper X.hom] in |
| 49 | theorem native_eq (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 50 | CoefficientResidueDimensionData.residue X f i |
| 51 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B U hU k hUk s hs hreg b x = |
| 52 | Principal.IntrinsicDualCoordinates.Intrinsic.map U hU |
| 53 | (ProjectivePoint.ScalarFraction.line (R := R) (n := n)) |
| 54 | (CoefficientPointFraction.source f i.left B) |
| 55 | (raw X f i B U hU k hUk s hs hreg b x) := rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueMapCoordinates |