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.ProjectiveCoefficient.PointKoszulMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFraction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedCoefficientCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientIdentity |
| 5 | |
| 6 | /-! # Point Fraction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.PointFraction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual projective coefficient maps evaluated on a normal-quotient |
| 13 | vector give the mixed fraction with the unchanged fixed-point scalar. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 24 | [IsClosedImmersion f] (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 25 | (hbase : s₀ ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 26 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 27 | [M.IsQuasicoherent] [M.IsFiniteType] |
| 28 | (v : M ⟶ ProjectivePoint.KoszulMap.point s₀ f) |
| 29 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 30 | (hcontains : ⊤ ≤ (s₀ ≫ f) ⁻¹ᵁ U) |
| 31 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 32 | (e : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (ProjectivePoint.Survivor.chart (R := R)) (n+2), U) ≃ₗ[ |
| 33 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 34 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 35 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 36 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 37 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 38 | (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 39 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 40 | (List.ofFn s)) |
| 41 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 42 | (List.ofFn (Fin.append s t))) |
| 43 | (T : ModuleCat.{u} Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 44 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ T) (PM : ProjectiveResolution T) |
| 45 | |
| 46 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 47 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 48 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 49 | |
| 50 | local instance line_qc : (ProjectivePoint.ScalarFraction.line (R := R) (n := n)).IsQuasicoherent := |
| 51 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible (ProjectivePoint.Survivor.chart (R := R)) (n+2)) |
| 53 | |
| 54 | abbrev coefficient := PointKoszulMap.coefficient s₀ f M v U hU s t hst T eM |
| 55 | abbrev pointLift := PointKoszulMap.pointLift s₀ f M v U hU s t hst hregst T eM PM |
| 56 | |
| 57 | abbrev rightCoordinates := PointKoszulMap.rightCoordinates |
| 58 | s₀ f M v U hU i hi (ProjectivePoint.Survivor.chart (R := R)) B |
| 59 | (ProjectivePoint.ScalarFraction.line (R := R) (n := n)) e s t hst hregst T eM PM |
| 60 | |
| 61 | abbrev leftCoordinates := by |
| 62 | let h := PointKoszulMap.leftHomotopy s₀ f M v U hU i hi |
| 63 | (ProjectivePoint.Survivor.chart (R := R)) B (ProjectivePoint.ScalarFraction.line (R := R) (n := n)) e T eM PM |
| 64 | exact HomCoefficientIdentity.Functor.identityHomotopy |
| 65 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.LineFrame.scalars U hU) |
| 66 | PM.complex _ _ _ h |
| 67 | |
| 68 | variable (β : ModuleCat.of Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 69 | (Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) ⧸ KoszulPartial.Resolution.normalIdeal _ s) ⟶ T) |
| 70 | (w : Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 71 | (hw : β ≫ coefficient f s₀ M v U hU s t hst T eM = w • KoszulPartial.Resolution.quotient _ s t) |
| 72 | |
| 73 | abbrev vectorLift := ProjectiveResolution.lift β (KoszulPartial.Resolution.normalResolution _ s hreg) PM |
| 74 | |
| 75 | abbrev evaluation := Koszul.CoefficientEvaluationHomotopy.evaluation |
| 76 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) s hreg T PM |
| 77 | (vectorLift U s hreg T PM β) |
| 78 | |
| 79 | abbrev evaluationHomotopy := Koszul.CoefficientEvaluationHomotopy.homotopy |
| 80 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) s t hreg hregst T PM |
| 81 | (coefficient f s₀ M v U hU s t hst T eM) β |
| 82 | (pointLift f s₀ M v U hU s t hst hregst T eM PM) (vectorLift U s hreg T PM β) |
| 83 | (ProjectiveResolution.lift_commutes (coefficient f s₀ M v U hU s t hst T eM) |
| 84 | PM (KoszulPartial.Resolution.pointResolution _ s t hregst)) |
| 85 | (ProjectiveResolution.lift_commutes β (KoszulPartial.Resolution.normalResolution _ s hreg) PM) w hw |
| 86 | |
| 87 | abbrev comparison := Koszul.RefinedCoefficientCoordinates.comparison |
| 88 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) |
| 89 | (PrincipalPoint.Fraction.family U t) s t (PrincipalPoint.Fraction.units U hU t) |
| 90 | _ _ _ _ _ _ (evaluation U hU s hreg T PM β) |
| 91 | (rightCoordinates f s₀ B M v U hU i hi e s t hst hregst T eM PM) |
| 92 | (leftCoordinates f s₀ B M v U hU i hi e T eM PM) |
| 93 | w (evaluationHomotopy f s₀ M v U hU s t hst hreg hregst T eM PM β w hw) |
| 94 | R (Principal.TerminalScalars.bijective U hU) (n+1) |
| 95 | (ProjectivePoint.ScalarFraction.pure f s₀ hbase B hB U hU) |
| 96 | (ProjectivePoint.ScalarFraction.zero f s₀ hbase B hB U hU s t hst) |
| 97 | (ProjectivePoint.ScalarFraction.pointQuotient f s₀ hbase U hU hcontains s t hst) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.PointFraction |