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.ParameterAdjunction |
| 2 | |
| 3 | /-! # Parameter Adjunction Postcompose -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunctionPostcompose |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Postcomposition of the checked affine parameter formula by the actual |
| 10 | closed-form section map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem postcompose {R : Type*} [CommRing R] |
| 20 | {A B C : ModuleCat R} (f : A ⟶ B) (g : B ⟶ C) |
| 21 | (x : A) (y : B) (h : f x = y) : (f ≫ g) x = g y := by |
| 22 | rw [ModuleCat.comp_apply, h] |
| 23 | |
| 24 | universe u |
| 25 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | ParameterNeighborhood.sectionAlgebra |
| 28 | |
| 29 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R (c + g)) |
| 30 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 31 | (j : Fin (c + g + 1)) (B : ℕ) (hB : c + g + 1 ≤ B) |
| 32 | (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) (hU : IsAffineOpen U) |
| 33 | (i : Fin (c + g + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 34 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 35 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) s = LocalAdjunction.ideal X f U hU) |
| 36 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (List.ofFn s)) |
| 37 | (bI : Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 38 | (hI : ∀ q, bI q = (LocalAdjunction.ideal X f U hU).toCotangent |
| 39 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) |
| 40 | (LocalAdjunction.ideal X f U hU) s hs q)) |
| 41 | (bQ : Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 42 | (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 43 | (ht : ∀ q, bQ q = KaehlerDifferential.D R (LocalAdjunction.quotient X f U hU) |
| 44 | (Ideal.Quotient.mk (LocalAdjunction.ideal X f U hU) (t q))) |
| 45 | (b : Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) |
| 46 | (hb : (b : Fin (c + g) → Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) = |
| 47 | Fin.append (fun q => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (s q)) |
| 48 | (fun q => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (t q))) |
| 49 | (τ : Type u) [LinearOrder τ] |
| 50 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 51 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 52 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 53 | (x : (Affine.ModuleExactSections.sections U).obj ((LocalAdjunction.dual X f j B).homology c)) |
| 54 | |
| 55 | abbrev symbol := postcompose _ (ParameterAdjunction.targetMap X f U hU τ) _ _ |
| 56 | (ParameterAdjunction.affine_symbol X f j B hB U hU i hUi s hs hreg bI hI bQ t ht b hb x) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunctionPostcompose |