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.FiniteCoefficient.ResidueAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientEvaluation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueLocalAdjunction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.FormCoherence |
| 5 | |
| 6 | /-! # Coefficient Residue Adjunction Data -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunctionData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On a genuine projective parameter chart, every finite coefficient |
| 13 | section evaluates the original adjunction by the original coefficient residue. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module |
| 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.Projective.IntrinsicOverlap.Intrinsic |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | Projective.ParameterNeighborhood.sectionAlgebra Projective.ParameterChart.coordinateOrder |
| 24 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 25 | Finite.FlatCoefficientSections.coefficientAlgebra |
| 26 | Finite.FlatCoefficientSections.ambientAlgebra |
| 27 | attribute [local instance] ProjectiveCoefficient.HomLocal.scalar_terms |
| 28 | ProjectiveCoefficient.HomLocal.coefficient_terms |
| 29 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 30 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 31 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (c+g)) [IsClosedImmersion i.left] |
| 32 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 33 | (j : Fin (c+g+1)) (B : ℕ) (hB : c+g+1≤B) |
| 34 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (c+g)).Opens) (hU : IsAffineOpen U) |
| 35 | (k : Fin (c+g+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 36 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 37 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 38 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (List.ofFn s)) |
| 39 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 40 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 41 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 42 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 43 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 44 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 45 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 46 | (b : Basis (Fin (c+g)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) |
| 47 | (hb : (b : Fin (c+g) → Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) = |
| 48 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (s a)) |
| 49 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (t a))) |
| 50 | (τ : Type u) [Fintype τ] |
| 51 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 52 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 53 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 54 | |
| 55 | def resolution : ProjectiveResolution |
| 56 | (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U)) := by |
| 57 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 58 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType f i.left |
| 59 | letI (q : ℕ) : ((ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B).X q).IsQuasicoherent := |
| 60 | ProjectiveCoefficient.HomLocal.coefficient_terms X f i j B q |
| 61 | letI (q : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 62 | exact Principal.Resolution.Comparison.resolution U hU (ProjectiveCoefficient.HomLocal.coefficient X f i) |
| 63 | (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) |
| 64 | (Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.coefficient X f i) j B) |
| 65 | (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U)) (Finite.FlatCoefficientSections.chartIso f i.left U hU) |
| 66 | |
| 67 | def homMap : |
| 68 | (Principal.ModuleFunctor.functor U hU).obj ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c) ⟶ |
| 69 | (Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.targetSheaf X f i g) := |
| 70 | (Principal.ModuleFunctor.functor U hU).map |
| 71 | (ProjectiveCoefficient.HomDegreeCoordinates.iso X f i g c |
| 72 | (Nat.add_sub_cancel c g).symm j B hB (Nat.le_add_left g c)).hom |
| 73 | |
| 74 | def evaluation (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 75 | (Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.targetSheaf X f i g) ⟶ |
| 76 | (Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.formSheaf X i g) := |
| 77 | Principal.HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) x |
| 78 | |
| 79 | def survivor |
| 80 | (P : ProjectiveResolution (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U))) |
| 81 | (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 82 | (Principal.ModuleFunctor.functor U hU).obj ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c) ⟶ |
| 83 | Principal.ClosedKoszulResidue.target i.left U hU := by |
| 84 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 85 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType f i.left |
| 86 | letI : (ProjectiveCoefficient.HomLocal.canonical (R := R) j).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 87 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (c+g+1)) |
| 88 | letI (q : ℕ) : ((ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B).X q).IsQuasicoherent := |
| 89 | ProjectiveCoefficient.HomLocal.coefficient_terms X f i j B q |
| 90 | letI (q : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_dual_terms X f i j B hB q |
| 91 | letI (q : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 92 | letI : Algebra |
| 93 | (Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s) |
| 94 | (Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 95 | FiniteCoefficient.QuotientAction.algebra f i.left U hU s hs |
| 96 | letI : IsScalarTower Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) |
| 97 | (Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s) |
| 98 | (Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 99 | FiniteCoefficient.QuotientAction.tower f i.left U hU s hs |
| 100 | exact Principal.CoefficientResidueSurvivor.survivor U hU (ProjectiveCoefficient.HomLocal.canonical j) |
| 101 | (Projective.PrincipalResidueCoordinates.scalarFrame j U hU k hUk b) |
| 102 | (ProjectiveCoefficient.HomLocal.coefficient X f i) (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) |
| 103 | (Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.coefficient X f i) j B) |
| 104 | (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Finite.FlatCoefficientSections.coefficientRing f i.left U)) |
| 105 | (Finite.FlatCoefficientSections.chartIso f i.left U hU) P i.left s hs hreg |
| 106 | (Koszul.CoefficientPointFraction.vector Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s (Finite.FlatCoefficientSections.coefficientRing f i.left U) x) |
| 107 | |
| 108 | def symbol : Principal.ClosedKoszulResidue.target i.left U hU ⟶ |
| 109 | (Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.formSheaf X i g) := |
| 110 | Principal.DifferentialSymbol.map R X (Projective.IntrinsicOverlap.Intrinsic.model R (c+g)) i U hU g (fun a => i.left.app U (t a)) |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunctionData |