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.Affine.DualizingAdjunction |
| 2 | |
| 3 | /-! # Adjunction Independence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.AdjunctionIndependence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine adjunction map is unchanged when all auxiliary frames, |
| 10 | equations, and quotient bases are changed together. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.DualizingAdjunction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 23 | (N : X.Modules) (K : ChainComplex X.Modules ℕ) |
| 24 | [∀ q, (K.X q).IsQuasicoherent] |
| 25 | (M : X.Modules) [M.IsQuasicoherent] |
| 26 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 27 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 28 | (I : Ideal Γ(X, U)) |
| 29 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) |
| 30 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 31 | (eN eN' : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) |
| 32 | {c : ℕ} (s : Fin c → Γ(X, U)) |
| 33 | (hs : Koszul.OrientedTopCohomology.ideal Γ(X, U) s = I) |
| 34 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn s)) |
| 35 | (b : Module.Basis (Fin c) (Γ(X, U) ⧸ I) I.Cotangent) |
| 36 | (hb : ∀ i, b i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I s hs i)) |
| 37 | (t : Fin c → Γ(X, U)) |
| 38 | (ht : Koszul.OrientedTopCohomology.ideal Γ(X, U) t = I) |
| 39 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn t)) |
| 40 | (bt : Module.Basis (Fin c) (Γ(X, U) ⧸ I) I.Cotangent) |
| 41 | (hbt : ∀ i, bt i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I t ht i)) |
| 42 | {k : Type u} [CommRing k] [Algebra k Γ(X, U)] |
| 43 | [Algebra.Smooth k Γ(X, U)] [Algebra.Smooth k (Γ(X, U) ⧸ I)] |
| 44 | {g : ℕ} (bQ bQ' : Module.Basis (Fin g) (Γ(X, U) ⧸ I) Ω[Γ(X, U) ⧸ I⁄k]) |
| 45 | (eAmbient eAmbient' : ((Γ(X, U) ⧸ I) ⊗[Γ(X, U)] (AffineOpen.InternalHom.sections U hU).obj N) ≃ₗ[Γ(X, U) ⧸ I] |
| 46 | ⋀[Γ(X, U) ⧸ I]^(c + g) ((Γ(X, U) ⧸ I) ⊗[Γ(X, U)] Ω[Γ(X, U)⁄k])) |
| 47 | |
| 48 | include hb hbt in |
| 49 | theorem independent (he : eAmbient = eAmbient') : |
| 50 | DualizingAdjunction.iso U hU N K M ε I eM eN s hs hreg b bQ eAmbient = |
| 51 | DualizingAdjunction.iso U hU N K M ε I eM eN' t ht htreg bt bQ' eAmbient' := by |
| 52 | exact (DualizingAdjunction.independent_target_frame U hU N K M ε I eM eN s hs hreg b bQ eAmbient eN').trans |
| 53 | ((DualizingAdjunction.independent_generators U hU N K M ε I eM eN' s hs hreg b bQ eAmbient hb t ht htreg bt hbt).trans |
| 54 | ((DualizingAdjunction.independent_quotient_basis U hU N K M ε I eM eN' t ht htreg bt bQ eAmbient bQ').trans |
| 55 | (congrArg (fun e => DualizingAdjunction.iso U hU N K M ε I eM eN' t ht htreg bt bQ' e) he))) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.AdjunctionIndependence |