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.Projective.ResidueTotalAdjunctionDimension |
| 2 | |
| 3 | /-! # Residue Total Adjunction Apply -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueTotalAdjunctionApply |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Apply the original dimension-indexed residue comparison before |
| 10 | specializing its geometric data to a chosen projective point chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module _root_.HomologicalComplex Opposite |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g N : ℕ} (h : c + g = N) |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | LocalAdjunction.ambientAlgebra ParameterChart.coordinateOrder |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R N) |
| 24 | [IsClosedImmersion f.left] [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 25 | (j : Fin (N + 1)) (B : ℕ) (hB : N + 1 ≤ B) |
| 26 | (U : (IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 27 | (i : Fin (N + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 28 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R N, U)) |
| 29 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R N, U) s = LocalAdjunction.ideal X f U hU) |
| 30 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R N, U) (List.ofFn s)) |
| 31 | (bI : Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 32 | (hI : ∀ k, bI k = (LocalAdjunction.ideal X f U hU).toCotangent |
| 33 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R N, U) (LocalAdjunction.ideal X f U hU) s hs k)) |
| 34 | (bQ : Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 35 | (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R N, U)) |
| 36 | (ht : ∀ k, bQ k = KaehlerDifferential.D R (LocalAdjunction.quotient X f U hU) |
| 37 | (Ideal.Quotient.mk (LocalAdjunction.ideal X f U hU) (t k))) |
| 38 | (b : Basis (Fin N) Γ(IntrinsicOverlap.Intrinsic.space R N, U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R N, U)⁄R]) |
| 39 | (hb : (fun k : Fin (c + g) => b (Fin.cast h k)) = |
| 40 | Fin.append (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R N, U) (s k)) |
| 41 | (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R N, U) (t k))) |
| 42 | (τ : Type u) [Fintype τ] |
| 43 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 44 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 45 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 46 | |
| 47 | variable {ι : Type u} [LinearOrder ι] |
| 48 | (W : ι → Principal.SectionPresheaf.Index U) (q : ℕ) |
| 49 | |
| 50 | include hI ht hb τ in |
| 51 | theorem comparison |
| 52 | (x : (PrincipalReference.Concentration.Reference.functor U hU W q).obj (LocalAdjunction.dual X f j B)) : |
| 53 | TotalAdjunctionDimensionData.Residue.leftMap X f j B U hU i hUi |
| 54 | s hs hreg t b W q x = |
| 55 | TotalAdjunctionDimensionData.Residue.rightMap h X f j B hB U hU W q x := |
| 56 | ConcreteCategory.congr_hom |
| 57 | (ResidueTotalAdjunctionDimension.comparison h X f j B hB U hU i hUi |
| 58 | s hs hreg bI hI bQ t ht b hb τ W q) x |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueTotalAdjunctionApply |