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.OrientedPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LineValuedKoszulPurity |
| 3 | |
| 4 | /-! # Line Valued Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LineValuedPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native cohomology-sheaf sections identify with the conormal |
| 11 | determinant dual valued in the actual target line. The map is independent |
| 12 | of the target frame and of the regular equations. -/ |
| 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 | |
| 39 | def iso : |
| 40 | (ModuleExactSections.sections U).obj |
| 41 | ((LinearResolutionPurity.internalComplex N K).homology c) ≅ |
| 42 | ModuleCat.of Γ(X, U) |
| 43 | ((⋀[Γ(X, U) ⧸ I]^c I.Cotangent) →ₗ[Γ(X, U) ⧸ I] |
| 44 | ((Γ(X, U) ⧸ I) ⊗[Γ(X, U)] (AffineOpen.InternalHom.sections U hU).obj N)) := |
| 45 | LinearResolutionPurity.sectionsHomologyIso U hU N K c ≪≫ |
| 46 | HomologicalComplex.homologyMapIso |
| 47 | (LinearResolutionPurity.sectionComplexIso U hU N K) c ≪≫ |
| 48 | LineValuedKoszulPurity.iso Γ(X, U) I ((AffineOpen.InternalHom.sections U hU).obj N) eN s hs hreg |
| 49 | (OrientedPurity.resolution U hU K M ε I eM) b |
| 50 | |
| 51 | theorem independent_target_frame |
| 52 | (eN' : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) : |
| 53 | iso U hU N K M ε I eM eN s hs hreg b = iso U hU N K M ε I eM eN' s hs hreg b := by |
| 54 | unfold iso |
| 55 | rw [LineValuedKoszulPurity.independent_target_frame Γ(X, U) I ((AffineOpen.InternalHom.sections U hU).obj N) |
| 56 | eN s hs hreg (OrientedPurity.resolution U hU K M ε I eM) b eN'] |
| 57 | |
| 58 | variable |
| 59 | (hb : ∀ i, b i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I s hs i)) |
| 60 | (t : Fin c → Γ(X, U)) (ht : Koszul.OrientedTopCohomology.ideal Γ(X, U) t = I) |
| 61 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn t)) |
| 62 | (bt : Module.Basis (Fin c) (Γ(X, U) ⧸ I) I.Cotangent) |
| 63 | (hbt : ∀ i, bt i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(X, U) I t ht i)) |
| 64 | |
| 65 | include hb hbt in |
| 66 | theorem independent_generators : |
| 67 | iso U hU N K M ε I eM eN s hs hreg b = iso U hU N K M ε I eM eN t ht htreg bt := by |
| 68 | unfold iso |
| 69 | rw [LineValuedKoszulPurity.independent_generators Γ(X, U) I ((AffineOpen.InternalHom.sections U hU).obj N) |
| 70 | eN s hs hreg (OrientedPurity.resolution U hU K M ε I eM) b hb t ht htreg bt hbt] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LineValuedPurity |