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.ParameterGlobalCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunctionSymbol |
| 3 | |
| 4 | /-! # Parameter Global Symbol -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterGlobalSymbol |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal differential-symbol formula for the original global |
| 11 | projective adjunction on a genuine parameter chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | ParameterNeighborhood.sectionAlgebra ParameterChart.coordinateOrder |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R (c + g)) |
| 25 | [IsClosedImmersion f.left] [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 26 | (j : Fin (c + g + 1)) (B : ℕ) (hB : c + g + 1 ≤ B) |
| 27 | (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) (hU : IsAffineOpen U) |
| 28 | (i : Fin (c + g + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 29 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 30 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) s = LocalAdjunction.ideal X f U hU) |
| 31 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (List.ofFn s)) |
| 32 | (bI : Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 33 | (hI : ∀ k, bI k = (LocalAdjunction.ideal X f U hU).toCotangent |
| 34 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (LocalAdjunction.ideal X f U hU) s hs k)) |
| 35 | (bQ : Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 36 | (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 37 | (ht : ∀ k, bQ k = KaehlerDifferential.D R (LocalAdjunction.quotient X f U hU) |
| 38 | (Ideal.Quotient.mk (LocalAdjunction.ideal X f U hU) (t k))) |
| 39 | (b : Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) |
| 40 | (hb : (b : Fin (c + g) → Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) = |
| 41 | Fin.append (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (s k)) |
| 42 | (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (t k))) |
| 43 | (τ : Type u) [Fintype τ] |
| 44 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 45 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 46 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 47 | (x : (Affine.ModuleExactSections.sections U).obj ((LocalAdjunction.dual X f j B).homology c)) |
| 48 | |
| 49 | attribute [local irreducible] LocalAdjunction.sectionIso |
| 50 | Affine.DualizingAdjunction.iso Intrinsic.ClosedFormSections.iso Affine.OrientedPurity.iso |
| 51 | |
| 52 | abbrev unit_symbol := by |
| 53 | have hglobal := ParameterGlobalCoordinates.sections_hom X f U hU |
| 54 | (Nat.add_sub_cancel c g).symm s hs hreg bI hI bQ τ j B hB (Nat.le_add_left g c) i hUi |
| 55 | have hlocal := ParameterAdjunctionSymbol.unit_symbol X f j B hB U hU i hUi |
| 56 | s hs hreg bI hI bQ t ht b hb τ x |
| 57 | simp only [LocalAdjunction.sectionIso, Iso.trans_hom] at hglobal |
| 58 | exact (ConcreteCategory.congr_hom hglobal x).trans hlocal |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterGlobalSymbol |