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.CoefficientResidueDimension |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdjunctionDegreeCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FiniteEtaleFormTensor |
| 4 | |
| 5 | /-! # Finite Etale Adjunction Pairing -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FiniteEtaleAdjunctionPairing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original finite adjunction followed by coefficient evaluation |
| 12 | is the actual coefficient residue followed by its differential symbol, |
| 13 | on the same supported total complex. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module 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.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 N : ℕ} (h : c+g=N) |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | Projective.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 24 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 25 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 26 | variable (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) |
| 27 | [IsFinite f.left] [Etale f.left] |
| 28 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) [IsClosedImmersion i.left] |
| 29 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 30 | (j : Fin (N+1)) (B : ℕ) (hB : N+1≤B) |
| 31 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 32 | {ι : Type u} [LinearOrder ι] (W : ι → SectionPresheaf.Index U) (q : ℕ) |
| 33 | |
| 34 | private abbrev sourceForms := (Scheme.Modules.pushforward i.left).obj |
| 35 | ((Scheme.Modules.pushforward f.left).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g)) |
| 36 | |
| 37 | private abbrev singleAt (d : ℕ) : |
| 38 | ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) ⥤ |
| 39 | CochainComplex ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) ℕ := |
| 40 | single _ (.up ℕ) d |
| 41 | |
| 42 | def finiteMap : |
| 43 | (Supported.CechHomotopyEquivalence.functor W q).obj |
| 44 | (ProjectiveFinite.CoefficientResidueDimensionData.sourceComplex X f.left i j B U hU) ⟶ |
| 45 | (Supported.CechHomotopyEquivalence.functor W q).obj |
| 46 | ((singleAt U c).obj ((ModuleFunctor.functor U hU).obj |
| 47 | (sourceForms (g := g) X Y f i))) := |
| 48 | (ProjectiveFinite.CoefficientResidueDimensionData.concentration h X f.left i j B hB U hU W q).hom ≫ |
| 49 | (Supported.CechHomotopyEquivalence.functor W q).map (ProjectiveFinite.CoefficientResidueDimensionData.homologyToPrincipal |
| 50 | (c := c) X f.left i j B U hU) ≫ |
| 51 | (Supported.CechHomotopyEquivalence.functor W q).map ((singleAt U c).map ((ModuleFunctor.functor U hU).map |
| 52 | (FiniteEtale.AdjunctionDegreeCoordinates.iso X Y f i g c (by omega) j B hB (by omega)).hom)) |
| 53 | |
| 54 | def pairing (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 55 | (ModuleFunctor.functor U hU).obj (sourceForms (g := g) X Y f i) ⟶ |
| 56 | (ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.formSheaf X i g) := |
| 57 | (ModuleFunctor.functor U hU).map (FiniteEtaleFormTensor.coefficientIso R X Y f i.left g).hom ≫ |
| 58 | HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) |
| 59 | (show Γ(ProjectiveCoefficient.HomLocal.coefficient X f.left i,U) from x) |
| 60 | |
| 61 | theorem hom_comparison : |
| 62 | (FiniteEtale.AdjunctionDegreeCoordinates.iso X Y f i g c (by omega) j B hB (by omega)).hom ≫ |
| 63 | (FiniteEtaleFormTensor.coefficientIso R X Y f i.left g).hom = |
| 64 | (ProjectiveCoefficient.HomDegreeCoordinates.iso X f.left i g c (by omega) j B hB (by omega)).hom := by |
| 65 | simpa only [FiniteEtaleFormTensor.coefficientIso, Iso.trans_hom, |
| 66 | Functor.mapIso_hom, Category.assoc] using |
| 67 | FiniteEtale.AdjunctionDegreeCoordinates.coefficient_map X Y f i g c |
| 68 | (by omega) j B hB (by omega) |
| 69 | |
| 70 | theorem pairing_comparison (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 71 | finiteMap h X Y f i j B hB U hU W q ≫ (Supported.CechHomotopyEquivalence.functor W q).map ((singleAt U c).map (pairing X Y f i U hU x)) = |
| 72 | ProjectiveFinite.CoefficientResidueDimensionData.rightMap h X f.left i j B hB U hU W q x := by |
| 73 | have he : |
| 74 | (ModuleFunctor.functor U hU).map (FiniteEtale.AdjunctionDegreeCoordinates.iso X Y f i g c |
| 75 | (by omega) j B hB (by omega)).hom ≫ pairing X Y f i U hU x = |
| 76 | (ModuleFunctor.functor U hU).map (ProjectiveCoefficient.HomDegreeCoordinates.iso X f.left i g c |
| 77 | (by omega) j B hB (by omega)).hom ≫ |
| 78 | HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) |
| 79 | (show Γ(ProjectiveCoefficient.HomLocal.coefficient X f.left i,U) from x) := by |
| 80 | rw [pairing, ← Category.assoc, ← Functor.map_comp, |
| 81 | hom_comparison h X Y f i j B hB] |
| 82 | have hh := congrArg (fun a => (Supported.CechHomotopyEquivalence.functor W q).map |
| 83 | ((singleAt U c).map a)) he |
| 84 | simp only [Functor.map_comp] at hh |
| 85 | simpa only [finiteMap, ProjectiveFinite.CoefficientResidueDimensionData.rightMap, |
| 86 | ProjectiveFinite.CoefficientResidueDimensionData.homMap, |
| 87 | ProjectiveFinite.CoefficientResidueDimensionData.evaluation, Category.assoc] using |
| 88 | congrArg (fun a => |
| 89 | (ProjectiveFinite.CoefficientResidueDimensionData.concentration h X f.left i j B hB U hU W q).hom ≫ |
| 90 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 91 | (ProjectiveFinite.CoefficientResidueDimensionData.homologyToPrincipal |
| 92 | (c := c) X f.left i j B U hU) ≫ a) hh |
| 93 | |
| 94 | variable (k : Fin (N+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 95 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) |
| 96 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 97 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (List.ofFn s)) |
| 98 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 99 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 100 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 101 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 102 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) |
| 103 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 104 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 105 | (b : Basis (Fin N) Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)⁄R]) |
| 106 | (hb : (fun a : Fin (c+g) => b (Fin.cast h a)) = |
| 107 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (s a)) |
| 108 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (t a))) |
| 109 | (τ : Type u) [Fintype τ] |
| 110 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 111 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 112 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 113 | |
| 114 | include h hB hI ht hb τ in |
| 115 | theorem comparison (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 116 | finiteMap h X Y f i j B hB U hU W q ≫ (Supported.CechHomotopyEquivalence.functor W q).map ((singleAt U c).map (pairing X Y f i U hU x)) = |
| 117 | ProjectiveFinite.CoefficientResidueDimensionData.leftMap X f.left i j B U hU k hUk |
| 118 | s hs hreg t b W q x := |
| 119 | (pairing_comparison h X Y f i j B hB U hU W q x).trans |
| 120 | (ProjectiveFinite.CoefficientResidueDimension.comparison h X Y.left f.left i j B hB |
| 121 | U hU k hUk s hs hreg bI hI bQ t ht b hb τ W q x).symm |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FiniteEtaleAdjunctionPairing |