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.ScalarFrameValue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.AmbientCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PrincipalFrameNormalization |
| 4 | |
| 5 | /-! # Scalar Independence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarIndependence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The scalar extracted from the original projective point class is |
| 12 | independent of its full regular equations and their matching frame. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | |
| 19 | private theorem append_comp {A B : Type*} {c m : ℕ} (f : A → B) |
| 20 | (s : Fin c → A) (t : Fin m → A) : |
| 21 | Fin.append (fun i => f (s i)) (fun i => f (t i)) = |
| 22 | fun i => f (Fin.append s t i) := by |
| 23 | funext i |
| 24 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i <;> |
| 25 | simp only [Fin.append_left, Fin.append_right] |
| 26 | |
| 27 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 28 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 29 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] {n : ℕ} |
| 30 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 31 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 32 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 33 | [IsClosedImmersion f] (z : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion z] |
| 34 | (hbase : z ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 35 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 36 | (hcontains : ⊤ ≤ (z ≫ f) ⁻¹ᵁ U) |
| 37 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 38 | [IsArtinianRing R] [IsLocalRing R] |
| 39 | [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 40 | [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 41 | {c m : ℕ} (hcm : c+m=n+1) |
| 42 | |
| 43 | local instance line_qc : (ScalarCoordinates.line (R := R) (n := n)).IsQuasicoherent := |
| 44 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 45 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible (Survivor.chart (R := R)) (n+2)) |
| 46 | include i hi in |
| 47 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 48 | theorem source_projective (q : ℕ) : |
| 49 | Projective ((AffineOpen.InternalHom.sections U hU).obj ((Survivor.complex f z B).X q)) := |
| 50 | Affine.ProjectiveResolutionTerms.term_projective U hU i hi (Survivor.coefficient f z) |
| 51 | (Survivor.chart (R := R)) B q |
| 52 | include hB in |
| 53 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 54 | theorem dual_qc (q : ℕ) : |
| 55 | ((Affine.LinearResolutionPurity.internalComplex |
| 56 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B)).X q).IsQuasicoherent := |
| 57 | PrincipalConcentration.terms_qc f z B hB q |
| 58 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 59 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 60 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 61 | include hU in |
| 62 | omit [IsNoetherianRing R] [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 63 | theorem ambientSmooth : Algebra.Smooth R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := by |
| 64 | let : Smooth (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom := IntegralComparison.Projective.SpaceSmooth.smooth |
| 65 | exact Intrinsic.SmoothClosedSections.smooth_sections R (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) U hU |
| 66 | |
| 67 | variable (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 68 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 69 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 70 | (z ≫ f).ker.ideal ⟨U,hU⟩) |
| 71 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 72 | (List.ofFn (Fin.append s t))) |
| 73 | (b : Module.Basis (Fin (n+1)) Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 74 | Ω[Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)⁄R]) |
| 75 | (hb : (fun a : Fin (c+m) => b (Fin.cast hcm a)) = |
| 76 | Fin.append (fun a => KaehlerDifferential.D R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (s a)) |
| 77 | (fun a => KaehlerDifferential.D R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (t a))) |
| 78 | (s' : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 79 | (t' : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 80 | (hst' : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s' t' = |
| 81 | (z ≫ f).ker.ideal ⟨U,hU⟩) |
| 82 | (hreg' : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 83 | (List.ofFn (Fin.append s' t'))) |
| 84 | (bt : Module.Basis (Fin (n+1)) Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 85 | Ω[Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)⁄R]) |
| 86 | (hbt : (fun a : Fin (c+m) => bt (Fin.cast hcm a)) = |
| 87 | Fin.append (fun a => KaehlerDifferential.D R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (s' a)) |
| 88 | (fun a => KaehlerDifferential.D R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) (t' a))) |
| 89 | |
| 90 | attribute [local irreducible] IntegralComparison.Projective.AmbientAdjunction.chartLineExterior |
| 91 | ParameterLineAdjunction.frame Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame |
| 92 | PrincipalPoint.FrameScalar.value |
| 93 | |
| 94 | include hb hbt in |
| 95 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 96 | theorem value_independent |
| 97 | (y : (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) |
| 98 | (c+m)).obj (LocalCoordinates.principalDual f z B U hU)) |
| 99 | (y' : (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t') |
| 100 | (c+m)).obj (LocalCoordinates.principalDual f z B U hU)) |
| 101 | (hxy : homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t) |
| 102 | (LocalCoordinates.principalDual f z B U hU)) (c+m) y = |
| 103 | homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t') |
| 104 | (LocalCoordinates.principalDual f z B U hU)) (c+m) y') : |
| 105 | ScalarCoordinates.value f z hbase B hB U hU hcontains i hi |
| 106 | (IntegralComparison.Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 107 | (Survivor.chart (R := R)) U hU i hi b) s t hst hreg |
| 108 | y = |
| 109 | ScalarCoordinates.value f z hbase B hB U hU hcontains i hi |
| 110 | (IntegralComparison.Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 111 | (Survivor.chart (R := R)) U hU i hi bt) s' t' hst' hreg' |
| 112 | y' := by |
| 113 | let hprojective : ∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj ((Survivor.complex f z B).X q)) := |
| 114 | fun q => source_projective f z B U hU i hi q |
| 115 | let hterms : ∀ q, ((Affine.LinearResolutionPurity.internalComplex |
| 116 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B)).X q).IsQuasicoherent := |
| 117 | fun q => dual_qc f z B hB q |
| 118 | let hsmooth : Algebra.Smooth R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := ambientSmooth U hU |
| 119 | have hind := Affine.PointFrameDimension.independent U hU |
| 120 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B) |
| 121 | (Survivor.coefficient f z) |
| 122 | (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 123 | ((z ≫ f).ker.ideal ⟨U,hU⟩) (ScalarCoordinates.quotientIso f z U hU) |
| 124 | (ScalarCoordinates.quotient f z hbase U hU hcontains) hcm |
| 125 | (Fin.append s t) ((KoszulPoint.Resolution.Comparison.full_ideal |
| 126 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t).trans hst) |
| 127 | hreg b (hb.trans (append_comp (KaehlerDifferential.D R _) s t)) |
| 128 | (Fin.append s' t') ((KoszulPoint.Resolution.Comparison.full_ideal |
| 129 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s' t').trans hst') |
| 130 | hreg' bt (hbt.trans (append_comp (KaehlerDifferential.D R _) s' t')) |
| 131 | (IntegralComparison.Projective.AmbientAdjunction.chartLineExterior i U hU hi (Survivor.chart (R := R))) |
| 132 | have hframe : |
| 133 | ScalarFrameValue.frameCoordinate f z hbase B hB U hU hcontains i hi |
| 134 | s t hst hreg y b = |
| 135 | ScalarFrameValue.frameCoordinate f z hbase B hB U hU hcontains i hi |
| 136 | s' t' hst' hreg' y' bt := by |
| 137 | dsimp only [ScalarFrameValue.frameCoordinate, |
| 138 | ModuleFrame.coordinate, |
| 139 | ScalarFrameValue.frame] |
| 140 | exact congrArg₂ (fun a x => (ScalarCoordinates.quotient f z hbase U hU hcontains) |
| 141 | (a ((Principal.ProductPointCoordinates.sectionIso U hU |
| 142 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B) (c+m)).inv x))) |
| 143 | hind hxy |
| 144 | exact (ScalarFrameValue.value_eq f z hbase B hB U hU hcontains i hi |
| 145 | s t hst hreg y b).trans (hframe.trans |
| 146 | (ScalarFrameValue.value_eq f z hbase B hB U hU hcontains i hi |
| 147 | s' t' hst' hreg' y' bt).symm) |
| 148 | |
| 149 | include hb hbt in |
| 150 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 151 | theorem independent : |
| 152 | ScalarCoordinates.value f z hbase B hB U hU hcontains i hi |
| 153 | (IntegralComparison.Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 154 | (Survivor.chart (R := R)) U hU i hi b) s t hst hreg |
| 155 | (LocalCoordinates.pointAt f z hbase B hB U hU s t hst hcm) = |
| 156 | ScalarCoordinates.value f z hbase B hB U hU hcontains i hi |
| 157 | (IntegralComparison.Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 158 | (Survivor.chart (R := R)) U hU i hi bt) s' t' hst' hreg' |
| 159 | (LocalCoordinates.pointAt f z hbase B hB U hU s' t' hst' hcm) := by |
| 160 | exact value_independent f z hbase B hB U hU hcontains i hi hcm |
| 161 | s t hst hreg b hb s' t' hst' hreg' bt hbt |
| 162 | (LocalCoordinates.pointAt f z hbase B hB U hU s t hst hcm) |
| 163 | (LocalCoordinates.pointAt f z hbase B hB U hU s' t' hst' hcm) |
| 164 | (AmbientCoordinates.independent f z hbase B hB U hU hcm s t hst s' t' hst') |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarIndependence |