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.Principal.ProductPointScalar |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.PointFrameDimension |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LineFrameNormalization |
| 4 | |
| 5 | /-! # Frame Scalar -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.FrameScalar |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual product-point scalar is unchanged by replacing the full |
| 12 | regular equations and their differential frame. Its only class input is |
| 13 | the ambient image of the original supported class. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Koszul.Comparison OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointCoordinates |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointScalar |
| 22 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | (N : Y.Modules) [N.IsQuasicoherent] |
| 24 | (M : Y.Modules) [M.IsQuasicoherent] |
| 25 | (K : ChainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 26 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj M) [QuasiIso ε] |
| 27 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 28 | [∀ q, ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 29 | (I : Ideal Γ(Y, U)) |
| 30 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 31 | {k : Type u} [CommRing k] [Algebra k Γ(Y, U)] (eI : (Γ(Y, U) ⧸ I) ≃ₐ[k] k) |
| 32 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 33 | {c m : ℕ} (s : Fin c → Γ(Y, U)) (t : Fin m → Γ(Y, U)) |
| 34 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn (Fin.append s t))) |
| 35 | (hI : KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t = I) |
| 36 | (W : ULift.{u} (Fin m) → Principal.SectionPresheaf.Index U) |
| 37 | (d : ℕ) (hL : ∀ q, q ≠ d → (Principal.ProductPointScalar.principal U hU N K).ExactAt q) |
| 38 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 39 | IsZero ((((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) |
| 40 | (.up ℕ) d).obj ((Principal.ProductPointScalar.principal U hU N K).homology d)).X p).obj |
| 41 | (op ((AugmentedOrdered.Cech.formal W q).obj a)))) |
| 42 | (y : ((AugmentedOrdered.CechFunctor.bicomplex W (Principal.ProductPointScalar.principal U hU N K)).total (.up ℕ)).homology (c+m)) |
| 43 | |
| 44 | def value : k := |
| 45 | KoszulPoint.ScalarCoordinates.scalar k Γ(Y, U) (Principal.SectionPresheaf.rings U hU) |
| 46 | (Principal.TerminalScalars.bijective U hU) W s t |
| 47 | (Koszul.Comparison.productCoordinates U hU N e M K ε s t hreg |
| 48 | (eM ≪≫ (Ideal.quotientEquivAlgOfEq Γ(Y, U) hI.symm).toLinearEquiv.toModuleIso)) |
| 49 | d hL hzero |
| 50 | ((Ideal.quotientEquivAlgOfEq k |
| 51 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hI)).trans eI) y |
| 52 | |
| 53 | theorem value_eq : value U hU N M K ε I eM eI e s t hreg hI W d hL hzero y = |
| 54 | eI ((Affine.OrientedPurity.iso U hU N K M ε I eM (Fin.append s t) |
| 55 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hI) hreg |
| 56 | (Principal.OrientedResidueNormalizationBase.lineIso U hU N e)).hom |
| 57 | ((Principal.ProductPointCoordinates.sectionIso U hU N K (c+m)).inv |
| 58 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.ProductPointScalar.principal U hU N K)) (c+m) y))) := |
| 59 | Principal.ProductPointScalar.normalization U hU N e M K ε I eM s t hreg hI eI |
| 60 | W d hL hzero y |
| 61 | |
| 62 | variable [Algebra.Smooth k Γ(Y, U)] (h : c+m=d) |
| 63 | (b : Module.Basis (Fin d) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 64 | (hb : (fun i : Fin (c+m) => b (Fin.cast h i)) = |
| 65 | fun i => KaehlerDifferential.D k Γ(Y, U) (Fin.append s t i)) |
| 66 | (s' : Fin c → Γ(Y, U)) (t' : Fin m → Γ(Y, U)) |
| 67 | (hreg' : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn (Fin.append s' t'))) |
| 68 | (hI' : KoszulPartial.Resolution.pointIdeal Γ(Y, U) s' t' = I) |
| 69 | (bt : Module.Basis (Fin d) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 70 | (hbt : (fun i : Fin (c+m) => bt (Fin.cast h i)) = |
| 71 | fun i => KaehlerDifferential.D k Γ(Y, U) (Fin.append s' t' i)) |
| 72 | (eTop : (AffineOpen.InternalHom.sections U hU).obj N ≃ₗ[Γ(Y, U)] ⋀[Γ(Y, U)]^d Ω[Γ(Y, U)⁄k]) |
| 73 | (W' : ULift.{u} (Fin m) → Principal.SectionPresheaf.Index U) |
| 74 | (hzero' : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 75 | IsZero ((((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) |
| 76 | (.up ℕ) d).obj ((Principal.ProductPointScalar.principal U hU N K).homology d)).X p).obj |
| 77 | (op ((AugmentedOrdered.Cech.formal W' q).obj a)))) |
| 78 | (y' : ((AugmentedOrdered.CechFunctor.bicomplex W' (Principal.ProductPointScalar.principal U hU N K)).total (.up ℕ)).homology (c+m)) |
| 79 | (hxy : homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.ProductPointScalar.principal U hU N K)) (c+m) y = |
| 80 | homologyMap (AugmentedOrdered.CechForget.forgetSupport W' (Principal.ProductPointScalar.principal U hU N K)) (c+m) y') |
| 81 | |
| 82 | include h hb hbt hxy in |
| 83 | theorem independent : |
| 84 | value U hU N M K ε I eM eI |
| 85 | (Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU N |
| 86 | (ParameterLineAdjunction.frame (c := d) (g := 0) b ((AffineOpen.InternalHom.sections U hU).obj N) eTop)) |
| 87 | s t hreg hI W d hL hzero y = |
| 88 | value U hU N M K ε I eM eI |
| 89 | (Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU N |
| 90 | (ParameterLineAdjunction.frame (c := d) (g := 0) bt ((AffineOpen.InternalHom.sections U hU).obj N) eTop)) |
| 91 | s' t' hreg' hI' W' d hL hzero' y' := by |
| 92 | simp only [value_eq, Affine.LineFrameNormalization.PrincipalOrientedResidue.lineIso_sectionFrame] |
| 93 | rw [hxy] |
| 94 | have hi := Affine.PointFrameDimension.independent U hU N K M ε I eM eI h |
| 95 | (Fin.append s t) ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hI) |
| 96 | hreg b hb |
| 97 | (Fin.append s' t') ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s' t').trans hI') |
| 98 | hreg' bt hbt eTop |
| 99 | exact congrArg (fun a => eI (a ((Principal.ProductPointCoordinates.sectionIso U hU N K (c+m)).inv |
| 100 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W' (Principal.ProductPointScalar.principal U hU N K)) (c+m) y')))) hi |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.FrameScalar |