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.PrincipalPoint.FrameScalar |
| 2 | |
| 3 | /-! # Frame Scalar Value -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.FrameScalarValue |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A scalar defined using a section frame evaluates in that exact |
| 10 | module frame after passing to the intrinsic affine purity coordinate. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 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.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Koszul.Comparison OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointCoordinates |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointScalar |
| 19 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 20 | (N : Y.Modules) [N.IsQuasicoherent] |
| 21 | (M : Y.Modules) [M.IsQuasicoherent] |
| 22 | (K : ChainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 23 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj M) [QuasiIso ε] |
| 24 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 25 | [∀ q, ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 26 | (I : Ideal Γ(Y, U)) |
| 27 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 28 | {k : Type u} [CommRing k] [Algebra k Γ(Y, U)] (eI : (Γ(Y, U) ⧸ I) ≃ₐ[k] k) |
| 29 | {c m : ℕ} (s : Fin c → Γ(Y, U)) (t : Fin m → Γ(Y, U)) |
| 30 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn (Fin.append s t))) |
| 31 | (hI : KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t = I) |
| 32 | (W : ULift.{u} (Fin m) → Principal.SectionPresheaf.Index U) |
| 33 | (d : ℕ) (hL : ∀ q, q ≠ d → (Principal.ProductPointScalar.principal U hU N K).ExactAt q) |
| 34 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 35 | IsZero ((((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) |
| 36 | (.up ℕ) d).obj ((Principal.ProductPointScalar.principal U hU N K).homology d)).X p).obj |
| 37 | (op ((AugmentedOrdered.Cech.formal W q).obj a)))) |
| 38 | (y : ((AugmentedOrdered.CechFunctor.bicomplex W (Principal.ProductPointScalar.principal U hU N K)).total (.up ℕ)).homology (c+m)) |
| 39 | |
| 40 | variable (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(Y, U) Γ(Y, U)) |
| 41 | |
| 42 | theorem value_sectionFrame : |
| 43 | FrameScalar.value U hU N M K ε I eM eI |
| 44 | (Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU N eN) |
| 45 | s t hreg hI W d hL hzero y = |
| 46 | eI ((Affine.OrientedPurity.iso U hU N K M ε I eM (Fin.append s t) |
| 47 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hI) hreg eN).hom |
| 48 | ((Principal.ProductPointCoordinates.sectionIso U hU N K (c+m)).inv |
| 49 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.ProductPointScalar.principal U hU N K)) (c+m) y))) := by |
| 50 | rw [FrameScalar.value_eq, Affine.LineFrameNormalization.PrincipalOrientedResidue.lineIso_sectionFrame] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.FrameScalarValue |