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.PointFrameIndependence |
| 2 | |
| 3 | /-! # Point Frame Dimension -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.PointFrameDimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Parameter independence with the geometric ambient dimension kept |
| 10 | separate from the length of the full regular equation tuple. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 17 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 18 | (N : Y.Modules) (K : ChainComplex Y.Modules ℕ) |
| 19 | [∀ q, (K.X q).IsQuasicoherent] |
| 20 | (M : Y.Modules) [M.IsQuasicoherent] |
| 21 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj M) [QuasiIso ε] |
| 22 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 23 | (I : Ideal Γ(Y, U)) |
| 24 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 25 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 26 | {k : Type u} [CommRing k] [Algebra k Γ(Y, U)] |
| 27 | [Algebra.Smooth k Γ(Y, U)] (eI : (Γ(Y, U) ⧸ I) ≃ₐ[k] k) |
| 28 | {r d : ℕ} (h : r = d) |
| 29 | (s : Fin r → Γ(Y, U)) |
| 30 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = I) |
| 31 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 32 | (b : Module.Basis (Fin d) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 33 | (hb : (fun i : Fin r => b (Fin.cast h i)) = fun i => KaehlerDifferential.D k Γ(Y, U) (s i)) |
| 34 | (t : Fin r → Γ(Y, U)) |
| 35 | (ht : Koszul.OrientedTopCohomology.ideal Γ(Y, U) t = I) |
| 36 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn t)) |
| 37 | (bt : Module.Basis (Fin d) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 38 | (hbt : (fun i : Fin r => bt (Fin.cast h i)) = fun i => KaehlerDifferential.D k Γ(Y, U) (t i)) |
| 39 | (e : (AffineOpen.InternalHom.sections U hU).obj N ≃ₗ[Γ(Y, U)] ⋀[Γ(Y, U)]^d Ω[Γ(Y, U)⁄k]) |
| 40 | |
| 41 | include eI h hb hbt in |
| 42 | theorem independent : |
| 43 | (OrientedPurity.iso U hU N K M ε I eM s hs hreg |
| 44 | (ParameterLineAdjunction.frame (c := d) (g := 0) b ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom = |
| 45 | (OrientedPurity.iso U hU N K M ε I eM t ht htreg |
| 46 | (ParameterLineAdjunction.frame (c := d) (g := 0) bt ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom := by |
| 47 | subst d |
| 48 | exact PointFrameIndependence.independent U hU N K M ε I eM eI |
| 49 | s hs hreg b hb t ht htreg bt hbt e |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.PointFrameDimension |