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.LineValuedPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantAdjunction |
| 3 | |
| 4 | /-! # Dualizing Adjunction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.DualizingAdjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The line-valued purity map followed by conormal adjunction lands |
| 11 | in the actual top exterior power of quotient differentials. The map |
| 12 | does not depend on equations, target frames, or quotient bases. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 25 | (N : X.Modules) (K : ChainComplex X.Modules ℕ) |
| 26 | [∀ q, (K.X q).IsQuasicoherent] |
| 27 | (M : X.Modules) [M.IsQuasicoherent] |
| 28 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 29 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 30 | (I : Ideal Γ(X, U)) |
| 31 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) |
| 32 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 33 | (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) |
| 34 | {c : ℕ} (s : Fin c → Γ(X, U)) |
| 35 | (hs : Koszul.OrientedTopCohomology.ideal Γ(X, U) s = I) |
| 36 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn s)) |
| 37 | (b : Module.Basis (Fin c) (Γ(X, U) ⧸ I) I.Cotangent) |
| 38 | {k : Type u} [CommRing k] [Algebra k Γ(X, U)] |
| 39 | [Algebra.Smooth k Γ(X, U)] [Algebra.Smooth k (Γ(X, U) ⧸ I)] |
| 40 | {g : ℕ} (bQ : Module.Basis (Fin g) (Γ(X, U) ⧸ I) Ω[Γ(X, U) ⧸ I⁄k]) |
| 41 | (eAmbient : ((Γ(X, U) ⧸ I) ⊗[Γ(X, U)] (AffineOpen.InternalHom.sections U hU).obj N) ≃ₗ[Γ(X, U) ⧸ I] |
| 42 | ⋀[Γ(X, U) ⧸ I]^(c + g) ((Γ(X, U) ⧸ I) ⊗[Γ(X, U)] Ω[Γ(X, U)⁄k])) |
| 43 | |
| 44 | def iso : |
| 45 | (ModuleExactSections.sections U).obj |
| 46 | ((LinearResolutionPurity.internalComplex N K).homology c) ≅ |
| 47 | ModuleCat.of Γ(X, U) (⋀[Γ(X, U) ⧸ I]^g Ω[Γ(X, U) ⧸ I⁄k]) := |
| 48 | LineValuedPurity.iso U hU N K M ε I eM eN s hs hreg b ≪≫ |
| 49 | (LinearEquiv.restrictScalars Γ(X, U) |
| 50 | (((LinearEquiv.refl (Γ(X, U) ⧸ I) (⋀[Γ(X, U) ⧸ I]^c I.Cotangent)).arrowCongr eAmbient).trans |
| 51 | (DeterminantAdjunction.conormal I b bQ))).toModuleIso |
| 52 | |
| 53 | attribute [local irreducible] LineValuedPurity.iso DeterminantAdjunction.conormal |
| 54 | |
| 55 | theorem independent_target_frame |
| 56 | (eN' : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) : |
| 57 | iso U hU N K M ε I eM eN s hs hreg b bQ eAmbient = |
| 58 | iso U hU N K M ε I eM eN' s hs hreg b bQ eAmbient := by |
| 59 | exact congrArg (fun e => e ≪≫ |
| 60 | (LinearEquiv.restrictScalars Γ(X, U) |
| 61 | (((LinearEquiv.refl (Γ(X, U) ⧸ I) (⋀[Γ(X, U) ⧸ I]^c I.Cotangent)).arrowCongr eAmbient).trans |
| 62 | (DeterminantAdjunction.conormal I b bQ))).toModuleIso) |
| 63 | (LineValuedPurity.independent_target_frame U hU N K M ε I eM eN s hs hreg b eN') |
| 64 | |
| 65 | theorem independent_quotient_basis |
| 66 | (bQ' : Module.Basis (Fin g) (Γ(X, U) ⧸ I) Ω[Γ(X, U) ⧸ I⁄k]) : |
| 67 | iso U hU N K M ε I eM eN s hs hreg b bQ eAmbient = |
| 68 | iso U hU N K M ε I eM eN s hs hreg b bQ' eAmbient := by |
| 69 | exact congrArg (fun e => LineValuedPurity.iso U hU N K M ε I eM eN s hs hreg b ≪≫ |
| 70 | (LinearEquiv.restrictScalars Γ(X, U) |
| 71 | (((LinearEquiv.refl (Γ(X, U) ⧸ I) (⋀[Γ(X, U) ⧸ I]^c I.Cotangent)).arrowCongr eAmbient).trans e)).toModuleIso) |
| 72 | (DeterminantAdjunction.quotient_basis I b bQ bQ') |
| 73 | |
| 74 | variable |
| 75 | (hb : ∀ i, b i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I s hs i)) |
| 76 | (t : Fin c → Γ(X, U)) (ht : Koszul.OrientedTopCohomology.ideal Γ(X, U) t = I) |
| 77 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn t)) |
| 78 | (bt : Module.Basis (Fin c) (Γ(X, U) ⧸ I) I.Cotangent) |
| 79 | (hbt : ∀ i, bt i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I t ht i)) |
| 80 | |
| 81 | include hb hbt in |
| 82 | theorem independent_generators : |
| 83 | iso U hU N K M ε I eM eN s hs hreg b bQ eAmbient = |
| 84 | iso U hU N K M ε I eM eN t ht htreg bt bQ eAmbient := by |
| 85 | exact congrArg₂ (fun e₁ e₂ => e₁ ≪≫ |
| 86 | (LinearEquiv.restrictScalars Γ(X, U) |
| 87 | (((LinearEquiv.refl (Γ(X, U) ⧸ I) (⋀[Γ(X, U) ⧸ I]^c I.Cotangent)).arrowCongr eAmbient).trans e₂)).toModuleIso) |
| 88 | (LineValuedPurity.independent_generators U hU N K M ε I eM eN s hs hreg b |
| 89 | hb t ht htreg bt hbt) |
| 90 | (DeterminantAdjunction.conormal_basis I b bQ bt) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.DualizingAdjunction |