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.PrincipalPoint.FrameScalar |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFraction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealQuotient |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 5 | |
| 6 | /-! # Scalar Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original projective point scalar in coordinates with the |
| 13 | fixed section ideal and its intrinsic quotient, independent of equations. -/ |
| 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.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Koszul.Comparison OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 24 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 25 | [IsClosedImmersion f] (z : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion z] |
| 26 | (hbase : z ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 27 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 28 | (hcontains : ⊤ ≤ (z ≫ f) ⁻¹ᵁ U) |
| 29 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 30 | |
| 31 | abbrev line := ScalarFraction.line (R := R) (n := n) |
| 32 | |
| 33 | local instance line_qc : (line (R := R) (n := n)).IsQuasicoherent := |
| 34 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 35 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible (Survivor.chart (R := R)) (n+2)) |
| 36 | include i hi in |
| 37 | theorem source_projective (q : ℕ) : |
| 38 | Projective ((AffineOpen.InternalHom.sections U hU).obj ((Survivor.complex f z B).X q)) := |
| 39 | Affine.ProjectiveResolutionTerms.term_projective U hU i hi (Survivor.coefficient f z) |
| 40 | (Survivor.chart (R := R)) B q |
| 41 | include hB in |
| 42 | theorem dual_qc (q : ℕ) : |
| 43 | ((Affine.LinearResolutionPurity.internalComplex |
| 44 | (line (R := R) (n := n)) (Survivor.complex f z B)).X q).IsQuasicoherent := |
| 45 | PrincipalConcentration.terms_qc f z B hB q |
| 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 | def quotientIso : (AffineOpen.InternalHom.sections U hU).obj (Survivor.coefficient f z) ≅ |
| 51 | ModuleCat.of Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 52 | (Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) ⧸ (z ≫ f).ker.ideal ⟨U,hU⟩) := |
| 53 | (AffineOpen.InternalHom.sections U hU).mapIso (Closed.PointQuotientSquare.pointIso z f) ≪≫ |
| 54 | Closed.QuotientSectionNormalization.chartIso (z ≫ f) U hU |
| 55 | |
| 56 | def quotient : |
| 57 | (Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) ⧸ (z ≫ f).ker.ideal ⟨U,hU⟩) ≃ₐ[R] R := |
| 58 | SectionIdealQuotient.equiv R |
| 59 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) (z ≫ f) |
| 60 | ((Category.assoc _ _ _).trans hbase) U hU hcontains |
| 61 | |
| 62 | variable (e : Γ(line (R := R) (n := n), U) ≃ₗ[ |
| 63 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 64 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 65 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 66 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 67 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 68 | (z ≫ f).ker.ideal ⟨U,hU⟩) |
| 69 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 70 | (List.ofFn (Fin.append s t))) |
| 71 | (y : (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) |
| 72 | (c+m)).obj (LocalCoordinates.principalDual f z B U hU)) |
| 73 | |
| 74 | omit [IsNoetherianRing R] in |
| 75 | theorem pointQuotient_factorization : |
| 76 | Closed.PointQuotientSquare.pointQuotient z f U hU s t hst = |
| 77 | quotientIso f z U hU ≪≫ |
| 78 | (Ideal.quotientEquivAlgOfEq Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 79 | hst.symm).toLinearEquiv.toModuleIso := by |
| 80 | simp only [Closed.PointQuotientSquare.pointQuotient, quotientIso, Iso.trans_assoc] |
| 81 | |
| 82 | omit [IsNoetherianRing R] in |
| 83 | theorem quotient_factorization : |
| 84 | ScalarFraction.pointQuotient f z hbase U hU hcontains s t hst = |
| 85 | (Ideal.quotientEquivAlgOfEq R |
| 86 | ((KoszulPoint.Resolution.Comparison.full_ideal |
| 87 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t).trans hst)).trans |
| 88 | (quotient f z hbase U hU hcontains) := |
| 89 | SectionIdealQuotient.equations R |
| 90 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) (z ≫ f) |
| 91 | ((Category.assoc _ _ _).trans hbase) U hU hcontains (Fin.append s t) |
| 92 | ((KoszulPoint.Resolution.Comparison.full_ideal |
| 93 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t).trans hst) |
| 94 | |
| 95 | def value : R := by |
| 96 | letI (q : ℕ) := source_projective f z B U hU i hi q |
| 97 | letI (q : ℕ) := dual_qc f z B hB q |
| 98 | exact PrincipalPoint.FrameScalar.value U hU |
| 99 | (line (R := R) (n := n)) (Survivor.coefficient f z) (Survivor.complex f z B) |
| 100 | (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 101 | ((z ≫ f).ker.ideal ⟨U,hU⟩) (quotientIso f z U hU) (quotient f z hbase U hU hcontains) |
| 102 | e s t hreg hst (PrincipalPoint.Fraction.family U t) (n+1) |
| 103 | (ScalarFraction.pure f z hbase B hB U hU) |
| 104 | (ScalarFraction.zero f z hbase B hB U hU s t hst) y |
| 105 | |
| 106 | def rawValue : R := by |
| 107 | letI (q : ℕ) := source_projective f z B U hU i hi q |
| 108 | letI (q : ℕ) := dual_qc f z B hB q |
| 109 | exact KoszulPoint.ScalarCoordinates.scalar R |
| 110 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) |
| 111 | (Principal.TerminalScalars.bijective U hU) (PrincipalPoint.Fraction.family U t) s t |
| 112 | (PrincipalPoint.Koszul.Comparison.productCoordinates U hU (line (R := R) (n := n)) e |
| 113 | (Survivor.coefficient f z) (Survivor.complex f z B) |
| 114 | (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 115 | s t hreg (Closed.PointQuotientSquare.pointQuotient z f U hU s t hst)) |
| 116 | (n+1) (ScalarFraction.pure f z hbase B hB U hU) |
| 117 | (ScalarFraction.zero f z hbase B hB U hU s t hst) |
| 118 | (ScalarFraction.pointQuotient f z hbase U hU hcontains s t hst) y |
| 119 | |
| 120 | theorem value_eq_raw : value f z hbase B hB U hU hcontains i hi e s t hst hreg y = |
| 121 | rawValue f z hbase B hB U hU hcontains i hi e s t hst hreg y := by |
| 122 | let (q : ℕ) := source_projective f z B U hU i hi q |
| 123 | let (q : ℕ) := dual_qc f z B hB q |
| 124 | exact congrArg₂ |
| 125 | (fun a b => KoszulPoint.ScalarCoordinates.scalar R |
| 126 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (Principal.SectionPresheaf.rings U hU) |
| 127 | (Principal.TerminalScalars.bijective U hU) (PrincipalPoint.Fraction.family U t) s t |
| 128 | (PrincipalPoint.Koszul.Comparison.productCoordinates U hU (line (R := R) (n := n)) e |
| 129 | (Survivor.coefficient f z) (Survivor.complex f z B) |
| 130 | (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 131 | s t hreg a) |
| 132 | (n+1) (ScalarFraction.pure f z hbase B hB U hU) |
| 133 | (ScalarFraction.zero f z hbase B hB U hU s t hst) b y) |
| 134 | (pointQuotient_factorization f z U hU s t hst).symm |
| 135 | (quotient_factorization f z hbase U hU hcontains s t hst).symm |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates |