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.CoefficientResidueTotal |
| 2 | |
| 3 | /-! # Coefficient Residue Total Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueTotalCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Separate native concentration and evaluation squares for the |
| 10 | actual finite coefficient residue on the supported total. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module Opposite _root_.HomologicalComplex |
| 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.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 21 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 22 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 23 | attribute [local instance] ProjectiveCoefficient.HomLocal.scalar_terms |
| 24 | ProjectiveCoefficient.HomLocal.coefficient_terms |
| 25 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 26 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 27 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (c+g)) [IsClosedImmersion i.left] |
| 28 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 29 | (j : Fin (c+g+1)) (B : ℕ) (hB : c+g+1≤B) |
| 30 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (c+g)).Opens) (hU : IsAffineOpen U) |
| 31 | (k : Fin (c+g+1)) (hUk : U ≤ OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 32 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 33 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 34 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (List.ofFn s)) |
| 35 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 36 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 37 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 38 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 39 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)) |
| 40 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 41 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 42 | (b : Basis (Fin (c+g)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) |
| 43 | (hb : (b : Fin (c+g) → Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U)⁄R]) = |
| 44 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (s a)) |
| 45 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g), U) (t a))) |
| 46 | (τ : Type u) [Fintype τ] |
| 47 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 48 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 49 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 50 | |
| 51 | variable {ι : Type u} [LinearOrder ι] |
| 52 | (W : ι → Principal.SectionPresheaf.Index U) (q : ℕ) |
| 53 | |
| 54 | def survivor (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 55 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g),U)) (.up ℕ) c).map |
| 56 | (CoefficientResidueAdjunctionData.survivor |
| 57 | X f i j B hB U hU k hUk s hs hreg b |
| 58 | (CoefficientResidueAdjunctionData.resolution X f i j B U hU k hUk) x) |
| 59 | |
| 60 | def nativeSurvivor (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 61 | (Principal.ModuleFunctor.functor U hU).obj ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c) ⟶ |
| 62 | Principal.ClosedKoszulResidue.target i.left U hU := by |
| 63 | letI (r : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_dual_terms X f i j B hB r |
| 64 | exact (Principal.ModuleHomology.complexIso U hU (ProjectiveCoefficient.HomLocal.coefficientDual X f i j B) c).inv ≫ |
| 65 | homologyMap |
| 66 | (CoefficientResidueDimensionData.residue X f i j B U hU k hUk s hs hreg b x) c ≫ |
| 67 | (singleObjHomologySelfIso (.up ℕ) c (Principal.ClosedKoszulResidue.target i.left U hU)).hom |
| 68 | |
| 69 | omit [AlgebraicGeometry.Flat f] [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 70 | theorem survivor_coordinates (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 71 | survivor X f i j B hB U hU k hUk s hs hreg b x = |
| 72 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g),U)) (.up ℕ) c).map |
| 73 | (nativeSurvivor X f i j B hB U hU k hUk s hs hreg b x) := rfl |
| 74 | |
| 75 | omit [Smooth X.hom] [IsProper X.hom] in |
| 76 | theorem native_concentration (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 77 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 78 | (CoefficientResidueDimensionData.residue X f i j B U hU k hUk s hs hreg b x) = |
| 79 | (CoefficientResidueDimensionData.concentration rfl X f i j B hB U hU W q).hom ≫ |
| 80 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 81 | (CoefficientResidueDimensionData.homologyToPrincipal |
| 82 | (c := c) X f i j B U hU) ≫ |
| 83 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 84 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat Γ(Projective.IntrinsicOverlap.Intrinsic.space R (c+g),U)) (.up ℕ) c).map |
| 85 | (nativeSurvivor X f i j B hB U hU k hUk s hs hreg b x)) := by |
| 86 | let (r : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_dual_terms X f i j B hB r |
| 87 | exact Principal.ConcentrationSingle.map_to_single U hU W (ProjectiveCoefficient.HomLocal.coefficientDual X f i j B) c |
| 88 | (CoefficientResidueDimensionData.exactAt rfl X f i j B hB) |
| 89 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 90 | (CoefficientResidueDimensionData.residue X f i j B U hU k hUk s hs hreg b x) q |
| 91 | |
| 92 | omit [Smooth X.hom] [IsProper X.hom] in |
| 93 | theorem concentration (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 94 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 95 | (CoefficientResidueDimensionData.residue X f i j B U hU k hUk s hs hreg b x) = |
| 96 | (CoefficientResidueDimensionData.concentration rfl X f i j B hB U hU W q).hom ≫ |
| 97 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 98 | (CoefficientResidueDimensionData.homologyToPrincipal |
| 99 | (c := c) X f i j B U hU) ≫ |
| 100 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 101 | (survivor X f i j B hB U hU k hUk s hs hreg b x) := by |
| 102 | rw [survivor_coordinates] |
| 103 | exact native_concentration X f i j B hB U hU k hUk s hs hreg b W q x |
| 104 | |
| 105 | include hI ht hb τ in |
| 106 | theorem adjunction (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 107 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 108 | (CoefficientResidueDimensionData.homMap rfl X f i j B hB U hU) ≫ |
| 109 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 110 | (CoefficientResidueDimensionData.evaluation (c := c) (g := g) X f i U hU x) = |
| 111 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 112 | (survivor X f i j B hB U hU k hUk s hs hreg b x) ≫ |
| 113 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 114 | (CoefficientResidueDimensionData.symbol (c := c) X i U hU t) := |
| 115 | CoefficientResidueTotal.mappedAdjunction |
| 116 | X f i j B hB U hU k hUk s hs hreg bI hI bQ t ht b hb τ W q x |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueTotalCoordinates |