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.LinearResolutionPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LinearHomOrientedPurity |
| 3 | |
| 4 | /-! # Oriented Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Oriented local purity on the actual sections of the cohomology |
| 11 | sheaf of an internal Hom complex. The resolved quotient is fixed before |
| 12 | choosing equations, so the determinant transition compares the same |
| 13 | native cohomology module. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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 | |
| 33 | def resolution : ProjectiveResolution (ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) := |
| 34 | IntegralComparison.ProjectiveResolution.Transport.alongIso |
| 35 | (AffineOpen.Resolution.ofAugmentation U hU M K ε) eM |
| 36 | |
| 37 | variable [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 38 | {c : ℕ} (s : Fin c → Γ(X, U)) |
| 39 | (hs : Koszul.OrientedTopCohomology.ideal Γ(X, U) s = I) |
| 40 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn s)) |
| 41 | (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) |
| 42 | |
| 43 | def iso : |
| 44 | (ModuleExactSections.sections U).obj |
| 45 | ((LinearResolutionPurity.internalComplex N K).homology c) ≅ |
| 46 | ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I) := |
| 47 | LinearResolutionPurity.sectionsHomologyIso U hU N K c ≪≫ |
| 48 | HomologicalComplex.homologyMapIso |
| 49 | (LinearResolutionPurity.sectionComplexIso U hU N K) c ≪≫ |
| 50 | LinearHomOrientedPurity.iso Γ(X, U) I s hs hreg |
| 51 | (resolution U hU K M ε I eM) ((AffineOpen.InternalHom.sections U hU).obj N) eN |
| 52 | |
| 53 | variable (t : Fin c → Γ(X, U)) |
| 54 | (ht : Koszul.OrientedTopCohomology.ideal Γ(X, U) t = I) |
| 55 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn t)) |
| 56 | (A : Matrix (Fin c) (Fin c) Γ(X, U)) |
| 57 | (hA : ∀ i, s i = ∑ j, A i j * t j) |
| 58 | |
| 59 | include hA in |
| 60 | theorem transition : (iso U hU N K M ε I eM s hs hreg eN).hom = |
| 61 | (iso U hU N K M ε I eM t ht htreg eN).hom ≫ |
| 62 | ModuleCat.ofHom (A.det • (LinearMap.id : (Γ(X, U) ⧸ I) →ₗ[Γ(X, U)] (Γ(X, U) ⧸ I))) := by |
| 63 | simp only [iso, Iso.trans_hom] |
| 64 | rw [LinearHomOrientedPurity.transition Γ(X, U) I s hs hreg |
| 65 | (resolution U hU K M ε I eM) ((AffineOpen.InternalHom.sections U hU).obj N) eN t ht htreg A hA] |
| 66 | simp only [Category.assoc] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurity |