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.Projective.RefinedPointFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedScalarCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionEquationQuotient |
| 5 | |
| 6 | /-! # Scalar Fraction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFraction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The unchanged fixed point resolution has a scalar-weighted mixed |
| 13 | fraction under its genuine projective common-refinement maps. The scalar |
| 14 | quotient is literal evaluation at the actual section. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 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 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 27 | (hcontains : ⊤ ≤ (s₀ ≫ f) ⁻¹ᵁ U) |
| 28 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 29 | (e : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (Survivor.chart (R := R)) (n+2), U) ≃ₗ[ |
| 30 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 31 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 32 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 33 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s = |
| 34 | f.ker.ideal ⟨U, hU⟩) |
| 35 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 36 | (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 37 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 38 | (List.ofFn s)) |
| 39 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 40 | (List.ofFn (Fin.append s t))) |
| 41 | |
| 42 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 44 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 45 | |
| 46 | abbrev pointQuotient := SectionEquationQuotient.equiv R |
| 47 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) (s₀ ≫ f) |
| 48 | (by change (s₀ ≫ f) ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = 𝟙 _; exact (Category.assoc _ _ _).trans hbase) U hU hcontains (Fin.append s t) |
| 49 | (SupportedLift.equations s₀ f U hU s t hst) |
| 50 | |
| 51 | abbrev line := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (Survivor.chart (R := R) (n := n)) (n+2) |
| 52 | |
| 53 | local instance line_qc : (line (R := R) (n := n)).IsQuasicoherent := |
| 54 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 55 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible (Survivor.chart (R := R)) (n+2)) |
| 56 | |
| 57 | include hB in |
| 58 | theorem dual_terms_qc (q : ℕ) : ((Survivor.dual f s₀ B).X q).IsQuasicoherent := |
| 59 | PrincipalConcentration.terms_qc f s₀ B hB q |
| 60 | |
| 61 | abbrev rightCoordinates := by |
| 62 | let hr := KoszulMap.rightHomotopy s₀ f U hU i hi (Survivor.chart (R := R)) B |
| 63 | (line (R := R) (n := n)) e s t hs hst hreg hregst |
| 64 | exact KoszulPoint.HomCoordinates.homotopy Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 65 | (Principal.SectionPresheaf.rings U hU) s t _ _ _ hr |
| 66 | |
| 67 | abbrev leftCoordinates := by |
| 68 | let hl := KoszulLeft.leftHomotopy s₀ f U hU i hi (Survivor.chart (R := R)) B |
| 69 | (line (R := R) (n := n)) e s hs hreg |
| 70 | exact Koszul.NormalHomCoordinates.homotopy Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 71 | (Principal.SectionPresheaf.rings U hU) s _ _ _ hl |
| 72 | |
| 73 | abbrev pure (q : ℕ) (hq : q ≠ n+1) := by |
| 74 | letI (k : ℕ) := dual_terms_qc f s₀ B hB k |
| 75 | exact Principal.ModuleHomology.exactAt U hU (Survivor.dual f s₀ B) q |
| 76 | (Survivor.exactAt f s₀ hbase B hB q hq) |
| 77 | |
| 78 | abbrev zero := by |
| 79 | letI (k : ℕ) := dual_terms_qc f s₀ B hB k |
| 80 | exact Principal.SupportedSurvivor.terms_zero (s₀ ≫ f) (Survivor.forms (R := R)) U hU |
| 81 | (PrincipalPoint.Fraction.family U t) |
| 82 | (PrincipalConcentration.parameters_outside f s₀ U hU s t hst) |
| 83 | (Survivor.dual f s₀ B) (n+1) (Survivor.adjunctionIso f s₀ hbase B hB) |
| 84 | |
| 85 | abbrev comparison := Koszul.RefinedScalarCoordinates.comparison |
| 86 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) |
| 87 | (PrincipalPoint.Fraction.family U t) s t (PrincipalPoint.Fraction.units U hU t) |
| 88 | _ _ _ _ _ (rightCoordinates f s₀ B U hU i hi e s t hs hst hreg hregst) |
| 89 | (leftCoordinates f s₀ B U hU i hi e s hs hreg) R |
| 90 | (Principal.TerminalScalars.bijective U hU) (n+1) |
| 91 | (pure f s₀ hbase B hB U hU) (zero f s₀ hbase B hB U hU s t hst) |
| 92 | (pointQuotient f s₀ hbase U hU hcontains s t hst) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFraction |