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.ProductPointCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurityTransport |
| 3 | |
| 4 | /-! # Product Point Scalar -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointScalar |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The scalar of the actual supported product-point class is the |
| 11 | original affine purity coefficient in a fixed quotient, evaluated at |
| 12 | the section. All equation-ideal transports are explicit. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | |
| 19 | private theorem quotient_chain (k A : Type u) [CommRing k] [CommRing A] [Algebra k A] |
| 20 | {I J L : Ideal A} (hIJ : I = J) (hJL : J = L) (x : A ⧸ I) : |
| 21 | Ideal.quotientEquivAlgOfEq k (hIJ.trans hJL) x = |
| 22 | Ideal.quotientEquivAlgOfEq k hJL (Submodule.quotEquivOfEq I J hIJ x) := by |
| 23 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 24 | rfl |
| 25 | |
| 26 | private theorem quotient_roundtrip (k A : Type u) [CommRing k] [CommRing A] [Algebra k A] |
| 27 | {I J : Ideal A} (h : I = J) (x : A ⧸ J) : |
| 28 | Ideal.quotientEquivAlgOfEq k h (Ideal.quotientEquivAlgOfEq A h.symm x) = x := by |
| 29 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 30 | rfl |
| 31 | |
| 32 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 33 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Koszul.Comparison OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointCoordinates |
| 34 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 35 | (N : Y.Modules) [N.IsQuasicoherent] |
| 36 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 37 | (M : Y.Modules) [M.IsQuasicoherent] |
| 38 | (K : ChainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 39 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj M) [QuasiIso ε] |
| 40 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 41 | [∀ q, ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 42 | (J : Ideal Γ(Y, U)) |
| 43 | (eMJ : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ J)) |
| 44 | {c m : ℕ} (s : Fin c → Γ(Y, U)) (t : Fin m → Γ(Y, U)) |
| 45 | (hst : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn (Fin.append s t))) |
| 46 | (hJ : KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t = J) |
| 47 | {k : Type u} [CommRing k] [Algebra k Γ(Y, U)] |
| 48 | (eJ : (Γ(Y, U) ⧸ J) ≃ₐ[k] k) |
| 49 | |
| 50 | abbrev principal := Koszul.Comparison.nativeComplex U hU N K |
| 51 | |
| 52 | variable (W : ULift.{u} (Fin m) → SectionPresheaf.Index U) |
| 53 | (d : ℕ) (hL : ∀ q, q ≠ d → (principal U hU N K).ExactAt q) |
| 54 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 55 | IsZero ((((single ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) |
| 56 | (.up ℕ) d).obj ((principal U hU N K).homology d)).X p).obj |
| 57 | (op ((AugmentedOrdered.Cech.formal W q).obj a)))) |
| 58 | (y : ((AugmentedOrdered.CechFunctor.bicomplex W (principal U hU N K)).total (.up ℕ)).homology (c+m)) |
| 59 | |
| 60 | theorem normalization : |
| 61 | KoszulPoint.ScalarCoordinates.scalar k Γ(Y, U) (SectionPresheaf.rings U hU) |
| 62 | (TerminalScalars.bijective U hU) W s t |
| 63 | (PrincipalPoint.Koszul.Comparison.productCoordinates U hU N e M K ε s t hst |
| 64 | (eMJ ≪≫ (Ideal.quotientEquivAlgOfEq Γ(Y, U) hJ.symm).toLinearEquiv.toModuleIso)) |
| 65 | d hL hzero |
| 66 | ((Ideal.quotientEquivAlgOfEq k |
| 67 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hJ)).trans eJ) y = |
| 68 | eJ ((Affine.OrientedPurity.iso U hU N K M ε J eMJ (Fin.append s t) |
| 69 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hJ) hst |
| 70 | (OrientedResidueNormalizationBase.lineIso U hU N e)).hom |
| 71 | ((ProductPointCoordinates.sectionIso U hU N K (c+m)).inv |
| 72 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (principal U hU N K)) (c+m) y))) := by |
| 73 | let eMP := eMJ ≪≫ (Ideal.quotientEquivAlgOfEq Γ(Y, U) hJ.symm).toLinearEquiv.toModuleIso |
| 74 | let v := homologyMap (AugmentedOrdered.CechForget.forgetSupport W (principal U hU N K)) (c+m) y |
| 75 | let w := (ProductPointCoordinates.sectionIso U hU N K (c+m)).inv v |
| 76 | have hc := ConcreteCategory.congr_hom (ProductPointCoordinates.coordinateMap_eq U hU N e M K ε s t hst eMP) v |
| 77 | change ProductPointCoordinates.coordinateMap U hU N e M K ε s t hst eMP v = |
| 78 | (Affine.OrientedPurity.iso U hU N K M ε |
| 79 | (KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t) eMP (Fin.append s t) |
| 80 | (KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t) hst |
| 81 | (OrientedResidueNormalizationBase.lineIso U hU N e)).hom w at hc |
| 82 | have hi := Affine.OrientedPurityTransport.iso_cast U hU N K M ε J |
| 83 | (KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t) hJ.symm eMJ (Fin.append s t) |
| 84 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hJ) hst |
| 85 | (OrientedResidueNormalizationBase.lineIso U hU N e) |
| 86 | have hp := congrArg (fun E => E.hom w) hi |
| 87 | change (Affine.OrientedPurity.iso U hU N K M ε |
| 88 | (KoszulPartial.Resolution.pointIdeal Γ(Y, U) s t) eMP (Fin.append s t) |
| 89 | (KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t) hst |
| 90 | (OrientedResidueNormalizationBase.lineIso U hU N e)).hom w = |
| 91 | Ideal.quotientEquivAlgOfEq Γ(Y, U) hJ.symm |
| 92 | ((Affine.OrientedPurity.iso U hU N K M ε J eMJ (Fin.append s t) |
| 93 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hJ) hst |
| 94 | (OrientedResidueNormalizationBase.lineIso U hU N e)).hom w) at hp |
| 95 | rw [KoszulPoint.ScalarAmbient.scalar] |
| 96 | change eJ (Ideal.quotientEquivAlgOfEq k |
| 97 | ((KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t).trans hJ) |
| 98 | (KoszulPoint.ScalarAmbient.coordinate Γ(Y, U) (SectionPresheaf.rings U hU) |
| 99 | (TerminalScalars.bijective U hU) (Fin.append s t) |
| 100 | (PrincipalPoint.Koszul.Comparison.productCoordinates U hU N e M K ε s t hst eMP) v)) = _ |
| 101 | rw [quotient_chain k Γ(Y, U) |
| 102 | (KoszulPoint.Resolution.Comparison.full_ideal Γ(Y, U) s t) hJ] |
| 103 | change eJ (Ideal.quotientEquivAlgOfEq k hJ |
| 104 | (ProductPointCoordinates.coordinateMap U hU N e M K ε s t hst eMP v)) = _ |
| 105 | rw [hc, hp, quotient_roundtrip] |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ProductPointScalar |