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.CoefficientResidueAdjunctionData |
| 2 | |
| 3 | /-! # Coefficient Residue Adjunction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On a genuine projective parameter chart, every finite coefficient |
| 10 | section evaluates the original adjunction by the original coefficient residue. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | Projective.ParameterNeighborhood.sectionAlgebra Projective.ParameterChart.coordinateOrder |
| 21 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 22 | Finite.FlatCoefficientSections.coefficientAlgebra |
| 23 | Finite.FlatCoefficientSections.ambientAlgebra |
| 24 | attribute [local instance] ProjectiveCoefficient.HomLocal.scalar_terms |
| 25 | ProjectiveCoefficient.HomLocal.coefficient_terms |
| 26 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 27 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 28 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (c+g)) [IsClosedImmersion i.left] |
| 29 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 30 | (j : Fin (c+g+1)) (B : ℕ) (hB : c+g+1≤B) |
| 31 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (c+g)).Opens) (hU : IsAffineOpen U) |
| 32 | (k : Fin (c+g+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 33 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 34 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 35 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (List.ofFn s)) |
| 36 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 37 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 38 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 39 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 40 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 41 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 42 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 43 | (b : Basis (Fin (c+g)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) |
| 44 | (hb : (b : Fin (c+g) → Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) = |
| 45 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (s a)) |
| 46 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (t a))) |
| 47 | (τ : Type u) [Fintype τ] |
| 48 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 49 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 50 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 51 | |
| 52 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunctionData |
| 53 | |
| 54 | abbrev rawComparisonWith |
| 55 | (P : ProjectiveResolution (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U))) |
| 56 | (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) := by |
| 57 | let : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 58 | let : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType f i.left |
| 59 | let : (ProjectiveCoefficient.HomLocal.canonical (R := R) j).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 60 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (c+g+1)) |
| 61 | let (q : ℕ) : ((ProjectiveCoefficient.HomLocal.scalarComplex X i j B).X q).IsQuasicoherent := |
| 62 | ProjectiveCoefficient.HomLocal.scalar_terms X i j B q |
| 63 | let (q : ℕ) : ((ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B).X q).IsQuasicoherent := |
| 64 | ProjectiveCoefficient.HomLocal.coefficient_terms X f i j B q |
| 65 | let (q : ℕ) := ProjectiveCoefficient.HomLocal.scalar_dual_terms X i j B hB q |
| 66 | let (q : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_dual_terms X f i j B hB q |
| 67 | let (q : ℕ) := ProjectiveCoefficient.HomLocal.scalar_projective X i j B U hU k hUk q |
| 68 | let (q : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 69 | let := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 70 | let ε := Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.scalar X i) j B |
| 71 | let ε' := Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.coefficient X f i) j B |
| 72 | let : QuasiIso ε := |
| 73 | inferInstanceAs (QuasiIso (Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.scalar X i) j B)) |
| 74 | let : QuasiIso ε' := |
| 75 | inferInstanceAs (QuasiIso (Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.coefficient X f i) j B)) |
| 76 | exact FiniteCoefficient.ResidueAdjunction.comparison f i.left U hU |
| 77 | (ProjectiveCoefficient.HomLocal.scalarComplex X i j B) (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) ε ε' (ProjectiveCoefficient.HomLocal.canonical j) |
| 78 | (Projective.PrincipalResidueCoordinates.scalarFrame j U hU k hUk b) s hs hreg P |
| 79 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 80 | (Principal.DifferentialSymbol.generator R X (Projective.IntrinsicOverlap.Intrinsic.model R (c+g)) i U g |
| 81 | (fun a => i.left.app U (t a))) |
| 82 | (Projective.ParameterGlobalCoordinates.iso X i (Nat.add_sub_cancel c g).symm |
| 83 | j B hB (Nat.le_add_left g c)).hom |
| 84 | (ProjectiveCoefficient.HomDegreeCoordinates.iso X f i g c |
| 85 | (Nat.add_sub_cancel c g).symm j B hB (Nat.le_add_left g c)).hom x |
| 86 | (Projective.ResidueLocalAdjunction.comparison X i j B hB U hU k hUk |
| 87 | s hs hreg bI hI bQ t ht b hb τ) |
| 88 | (fun z => CoefficientEvaluation.evaluation X f i g c |
| 89 | (Nat.add_sub_cancel c g).symm j B hB (Nat.le_add_left g c) U hU k hUk z x) |
| 90 | |
| 91 | include hI ht hb τ in |
| 92 | theorem comparisonWith |
| 93 | (P : ProjectiveResolution (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U))) |
| 94 | (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 95 | CoefficientResidueAdjunctionData.homMap X f i j B hB U hU ≫ CoefficientResidueAdjunctionData.evaluation X f i U hU x = |
| 96 | CoefficientResidueAdjunctionData.survivor X f i j B hB U hU k hUk s hs hreg b P x ≫ CoefficientResidueAdjunctionData.symbol X i U hU t := |
| 97 | rawComparisonWith X f i j B hB U hU k hUk s hs hreg bI hI bQ t ht b hb τ P x |
| 98 | |
| 99 | abbrev comparison (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 100 | comparisonWith X f i j B hB U hU k hUk s hs hreg bI hI bQ t ht b hb τ |
| 101 | (CoefficientResidueAdjunctionData.resolution X f i j B U hU k hUk) x |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunction |