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.ProjectivePoint.PointLocal |
| 2 | |
| 3 | /-! # Local Section Class -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionClass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual local point transfer, after principal concentration and |
| 10 | the genuine survivor adjunction, recovers the original global pure class. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _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.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 17 | GlobalTransferRecovery |
| 18 | private theorem precomposeOutput {C : Type*} [Category C] {A B D E : C} |
| 19 | (f : A ⟶ B) (o : B ⟶ D) (g : B ⟶ E) (p : E ⟶ D) (n : A ⟶ E) |
| 20 | (ho : o = g ≫ p) (hg : f ≫ g = n) : f ≫ o = n ≫ p := by |
| 21 | rw [ho, ← Category.assoc, hg] |
| 22 | |
| 23 | private theorem recoverFromMaps {A B D E : AddCommGrpCat.{u}} |
| 24 | (f : A ⟶ B) (o : B ⟶ D) (n : A ⟶ E) (p : E ⟶ D) |
| 25 | (x : A) (y : E) (h : f ≫ o = n ≫ p) (hu : n x = y) : o (f x) = p y := by |
| 26 | have hx := ConcreteCategory.congr_hom h x |
| 27 | simpa only [ConcreteCategory.comp_apply, hu] using hx |
| 28 | |
| 29 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 30 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 31 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 32 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 33 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 34 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 35 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 36 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 37 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 38 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 39 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 40 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 41 | (d : ℕ) (hM : ∀ q, q ≠ d → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 42 | (N : X.Modules) [N.IsQuasicoherent] |
| 43 | (e : (GlobalTransferRecovery.coefficientDual B M).homology d ≅ (Scheme.Modules.pushforward i).obj N) |
| 44 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 45 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 46 | {c b : ℕ} (a : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 47 | (t : Fin b → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 48 | (ha : Ideal.span (Set.range a) = i.ker.ideal ⟨U, hU⟩) |
| 49 | (hat : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) a t = |
| 50 | (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 51 | (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 52 | (g : ℕ) (hg : g+d=n+1) |
| 53 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)) |
| 54 | local notation "V" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2)) |
| 55 | local notation "haV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2)) |
| 56 | local notation "hV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2)) |
| 57 | |
| 58 | omit [X.IsSeparated] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 59 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 60 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 61 | private theorem nativeTransfer_eq : |
| 62 | LocalSectionData.Class.nativeTransfer i s₀ B hB M v = LocalSectionData.Class.native i s₀ B hB M v := rfl |
| 63 | |
| 64 | omit [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 65 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 66 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 67 | private theorem incoming_globalize : |
| 68 | LocalSectionData.Class.incoming i s₀ hbase B hB M v U hU a t hat ≫ |
| 69 | LocalSectionData.Class.globalize i s₀ B hB M d hM N e U hU hcontains a t ha hat = |
| 70 | LocalSectionData.Class.native i s₀ B hB M v := by |
| 71 | have h : LocalSectionData.Class.incoming i s₀ hbase B hB M v U hU a t hat ≫ |
| 72 | LocalSectionData.Class.globalize i s₀ B hB M d hM N e U hU hcontains a t ha hat = |
| 73 | LocalSectionData.Class.nativeTransfer i s₀ B hB M v := by |
| 74 | simpa only [LocalSectionData.Class.incoming, LocalSectionData.Class.globalize, LocalSectionData.Class.nativeTransfer, LocalClass.map, |
| 75 | LocalClass.localize, Category.assoc] using |
| 76 | ReferenceTransfer.Reference.recovery i s₀ hbase B hB M v |
| 77 | d hM N e U hU hcontains a t ha hat |
| 78 | exact h.trans (nativeTransfer_eq i s₀ B hB M v) |
| 79 | |
| 80 | omit [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 81 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 82 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 83 | include i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat g hg in |
| 84 | private abbrev map_comparison := |
| 85 | precomposeOutput |
| 86 | (LocalSectionData.Class.incoming i s₀ hbase B hB M v U hU a t hat) _ _ _ _ |
| 87 | (PointLocal.SectionClass.localOutput_eq (i := i) (s₀ := s₀) (B := B) (hB := hB) |
| 88 | (M := M) (d := d) (hM := hM) (N := N) (e := e) (U := U) (hU := hU) |
| 89 | (hcontains := hcontains) (a := a) (t := t) (ha := ha) (hat := hat) (g := g) (hg := hg)) |
| 90 | (incoming_globalize i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat) |
| 91 | |
| 92 | omit [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 93 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 94 | omit [IsArtinianRing R] [IsLocalRing R] in |
| 95 | include i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat g hg in |
| 96 | private abbrev point_comparison := |
| 97 | ConcreteCategory.congr_hom |
| 98 | (map_comparison i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat g hg) |
| 99 | (SupportedClass.fixedPointClass i s₀ hbase B hB) |
| 100 | |
| 101 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 102 | [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 103 | theorem recovery : |
| 104 | LocalSectionData.Class.localOutput i s₀ B hB M d hM N e U hU hcontains a t ha hat g hg |
| 105 | (LocalSectionData.Class.incoming i s₀ hbase B hB M v U hU a t hat |
| 106 | (SupportedClass.fixedPointClass i s₀ hbase B hB)) = |
| 107 | LocalSectionData.Class.pureMap i B hB M d hM N e g hg |
| 108 | (Projective.TotalUnitMap.unitClass M (Survivor.coefficient i s₀) B n |
| 109 | (Fintype.card_fin (n+2)) hB v eM (Projective.SectionClass.pointUnitIso i s₀ hbase)) := |
| 110 | recoverFromMaps |
| 111 | (LocalSectionData.Class.incoming i s₀ hbase B hB M v U hU a t hat) _ _ _ _ _ |
| 112 | (map_comparison i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat g hg) |
| 113 | (Projective.TotalUnitIntrinsicClass.Intrinsic.unitClass M (Survivor.coefficient i s₀) B n |
| 114 | (Fintype.card_fin (n+2)) hB v eM (Projective.SectionClass.pointUnitIso i s₀ hbase)) |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionClass |