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.EtalePointPairingData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.RefinementCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueMapCoordinates |
| 4 | |
| 5 | /-! # Etale Point Pairing Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointPairingCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every coefficient pairing of the actual finite local point class |
| 12 | is section evaluation times the same original scalar point residue. |
| 13 | The affine basis data are the genuine projective parameter chart. -/ |
| 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] [Module.Injective R R] |
| 22 | [IsArtinianRing R] [IsLocalRing R] {n c g : ℕ} (hcg : c+g=n+1) |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | Projective.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 25 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 26 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 27 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 28 | [IsFinite f.left] [Etale f.left] |
| 29 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 30 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 31 | [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] |
| 32 | [SmoothOfRelativeDimension g X.hom] |
| 33 | (s₀ : Spec (CommRingCat.of R) ⟶ Y.left) (hbase : s₀ ≫ Y.hom = 𝟙 _) |
| 34 | (B : ℕ) (hB : n+2≤B) |
| 35 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 36 | (hcontains : ⊤ ≤ ((s₀ ≫ f.left) ≫ i.left) ⁻¹ᵁ U) |
| 37 | (k : Fin (n+2)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 38 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 39 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 40 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (List.ofFn s)) |
| 41 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 42 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 43 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 44 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 45 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 46 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 47 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 48 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) s t = |
| 49 | ((s₀ ≫ f.left) ≫ i.left).ker.ideal ⟨U,hU⟩) |
| 50 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (List.ofFn (Fin.append s t))) |
| 51 | (b : Basis (Fin (n+1)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)⁄R]) |
| 52 | (hb : (fun a : Fin (c+g) => b (Fin.cast hcg a)) = |
| 53 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (s a)) |
| 54 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (t a))) |
| 55 | (τ : Type u) [Fintype τ] |
| 56 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 57 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 58 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 59 | |
| 60 | attribute [local instance] EtalePointPairingData.composite_smooth |
| 61 | EtalePointPairingData.composite_proper EtalePointPairingData.composite_connected |
| 62 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointPairingData |
| 63 | |
| 64 | include i hbase in |
| 65 | omit [IsNoetherianRing R] [Module.Injective R R] [Nonempty ↥X.left] [IsFinite (Over.Hom.left f)] [Etale (Over.Hom.left f)] [IsClosedImmersion (Over.Hom.left i)] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 66 | private theorem pointClosed : IsClosedImmersion (s₀ ≫ f.left) := by |
| 67 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 68 | exact isClosedImmersion_of_comp_eq_id (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) (s₀ ≫ f.left) |
| 69 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) |
| 70 | |
| 71 | local instance coefficientsQC : (Cech.StructurePullbackUnit.coefficients f.left i.left).IsQuasicoherent := |
| 72 | Finite.MapPureTrace.coefficients_quasicoherent f.left i.left |
| 73 | local instance coefficientsFinite : (Cech.StructurePullbackUnit.coefficients f.left i.left).IsFiniteType := |
| 74 | Finite.MapPureTrace.coefficients_finiteType f.left i.left |
| 75 | |
| 76 | abbrev originalValue (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) := by |
| 77 | letI : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 78 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 79 | exact CoefficientResidueDimensionData.leftMap X f.left i |
| 80 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B U hU k hUk s hs hreg t b |
| 81 | (PrincipalPoint.Fraction.family U t) (c+g) x |
| 82 | (ProjectivePoint.CoefficientLocalClass.value i.left (s₀ ≫ f.left) |
| 83 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) B hB |
| 84 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 85 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU s t hst hcg) |
| 86 | |
| 87 | abbrev residueValue (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) := by |
| 88 | letI : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 89 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 90 | letI := ProjectiveCoefficient.RefinementCoordinates.nativeLeft_isIso i.left (s₀ ≫ f.left) B hB |
| 91 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 92 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU |
| 93 | (PrincipalPoint.Fraction.family U t) (c+g) |
| 94 | exact (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) (c+g)).map |
| 95 | (CoefficientResidueDimensionData.symbol (c := c) X i U hU t) |
| 96 | ((Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) (c+g)).map |
| 97 | (CoefficientResidueMapCoordinates.raw X f.left i B U hU k hUk s hs hreg b x) |
| 98 | (((Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) (c+g)).map |
| 99 | (ProjectiveCoefficient.RefinementCoordinates.nativeRight i.left (s₀ ≫ f.left) B |
| 100 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 101 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU) ≫ |
| 102 | inv ((Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) (c+g)).map |
| 103 | (ProjectiveCoefficient.RefinementCoordinates.nativeLeft i.left (s₀ ≫ f.left) B |
| 104 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 105 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU))) |
| 106 | (ProjectivePoint.LocalCoordinates.pointAt i.left (s₀ ≫ f.left) |
| 107 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) B hB U hU s t hst hcg))) |
| 108 | |
| 109 | omit [SmoothOfRelativeDimension g X.hom] in |
| 110 | omit [Nonempty ↥X.left] [Etale (Over.Hom.left f)] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 111 | theorem image (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 112 | originalValue (hcg := hcg) (X := X) (Y := Y) (f := f) (i := i) |
| 113 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) |
| 114 | (k := k) (hUk := hUk) (s := s) (hs := hs) (hreg := hreg) (t := t) (hst := hst) (b := b) x = |
| 115 | residueValue (hcg := hcg) (X := X) (Y := Y) (f := f) (i := i) |
| 116 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) |
| 117 | (k := k) (hUk := hUk) (s := s) (hs := hs) (hreg := hreg) (t := t) (hst := hst) (b := b) x := by |
| 118 | let : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 119 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 120 | have h := ProjectiveCoefficient.RefinementCoordinates.comparison i.left (s₀ ≫ f.left) |
| 121 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) B hB |
| 122 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 123 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU s t hst hcg |
| 124 | (CoefficientResidueMapCoordinates.raw X f.left i B U hU k hUk s hs hreg b x) |
| 125 | have hm := congrArg |
| 126 | ((Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) (c+g)).map |
| 127 | (CoefficientResidueDimensionData.symbol (c := c) X i U hU t)) h |
| 128 | simpa only [originalValue, residueValue, CoefficientResidueDimensionData.leftMap, |
| 129 | ConcreteCategory.comp_apply, CoefficientResidueMapCoordinates.native_eq] using hm |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointPairingCoordinates |