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.ReferenceTransfer |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TotalUnitIntrinsicClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitPureClass |
| 4 | |
| 5 | /-! # Reference Unit Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ReferenceUnitClass.Reference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual principal transfer, original cover comparison and native |
| 12 | coordinates recover the original total unit class. Concentration and a |
| 13 | specified survivor adjunction therefore recover that same section class. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 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.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 20 | GlobalTransferRecovery |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 22 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 25 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 26 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 27 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 28 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 29 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 30 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 31 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 32 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 33 | (d : ℕ) (hM : ∀ q, q ≠ d → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 34 | (N : X.Modules) [N.IsQuasicoherent] |
| 35 | (e : (GlobalTransferRecovery.coefficientDual B M).homology d ≅ (Scheme.Modules.pushforward i).obj N) |
| 36 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 37 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 38 | {c g : ℕ} (a : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 39 | (t : Fin g → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 40 | (ha : Ideal.span (Set.range a) = i.ker.ideal ⟨U, hU⟩) |
| 41 | (hat : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) a t = |
| 42 | (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 43 | (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 44 | |
| 45 | abbrev unit_recovery := by |
| 46 | have h := ReferenceTransfer.Reference.point_recovery i s₀ hbase B hB M v |
| 47 | d hM N e U hU hcontains a t ha hat |
| 48 | change _ = Projective.TotalUnitMap.unitClass M (Survivor.coefficient i s₀) B n |
| 49 | (Fintype.card_fin (n+2)) hB v eM |
| 50 | (Projective.SectionClass.pointUnitIso i s₀ hbase) at h |
| 51 | exact h |
| 52 | |
| 53 | variable (k : ℕ) (hk : k+d=n+1) |
| 54 | |
| 55 | abbrev pure_recovery := by |
| 56 | have h := unit_recovery i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat eM |
| 57 | exact congrArg |
| 58 | (Projective.UnitPureClass.concentration M B n (Fintype.card_fin (n+2)) hB |
| 59 | d hM k hk).hom h |
| 60 | |
| 61 | abbrev section_recovery := by |
| 62 | have h := pure_recovery i s₀ hbase B hB M v d hM N e U hU hcontains a t ha hat eM k hk |
| 63 | exact congrArg |
| 64 | ((ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n+2)) k).map e.hom) h |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ReferenceUnitClass.Reference |