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.ParameterAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.AdjunctionIndependence |
| 3 | |
| 4 | /-! # Point Parameter Independence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.PointParameterIndependence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! At a section, the coefficient in the matching top differential |
| 11 | frame is independent of its regular parameters. Both coefficients are |
| 12 | coordinates of the same intrinsic degree-zero adjunction class. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.Module |
| 14 | open scoped TensorProduct |
| 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.AffineOpen.InternalHom |
| 20 | |
| 21 | private theorem zero_symbol (k A : Type u) [CommRing k] [CommRing A] [Algebra k A] |
| 22 | (a : A) (v : Fin 0 → A) : |
| 23 | exteriorPower.zeroEquiv A Ω[A⁄k] |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior k A 0 |
| 25 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol k A a v)) = a := by |
| 26 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_symbol] |
| 27 | change exteriorPower.zeroEquiv A Ω[A⁄k] |
| 28 | (a • exteriorPower.ιMulti A 0 (fun i => KaehlerDifferential.D k A (v i))) = a |
| 29 | rw [map_smul, exteriorPower.zeroEquiv_ιMulti, smul_eq_mul, mul_one] |
| 30 | |
| 31 | private theorem ambient_eq {k A : Type u} [CommRing k] [CommRing A] [Algebra k A] |
| 32 | (I : Ideal A) {c : ℕ} (b bt : Basis (Fin c) A Ω[A⁄k]) |
| 33 | (N : ModuleCat.{u} A) (e : N ≃ₗ[A] ⋀[A]^c Ω[A⁄k]) : |
| 34 | ParameterLineAdjunction.ambient (c := c) (g := 0) I b N e = |
| 35 | ParameterLineAdjunction.ambient (c := c) (g := 0) I bt N e := |
| 36 | congrArg (fun z => (e.baseChange A (A ⧸ I) N _).trans z) |
| 37 | (TopExteriorBaseChange.independent_basis (A ⧸ I) b bt) |
| 38 | |
| 39 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 40 | (N : Y.Modules) (K : ChainComplex Y.Modules ℕ) |
| 41 | [∀ q, (K.X q).IsQuasicoherent] |
| 42 | (M : Y.Modules) [M.IsQuasicoherent] |
| 43 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj M) [QuasiIso ε] |
| 44 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 45 | (I : Ideal Γ(Y, U)) |
| 46 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 47 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 48 | (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(Y, U) Γ(Y, U)) |
| 49 | {c : ℕ} (s : Fin c → Γ(Y, U)) |
| 50 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = I) |
| 51 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 52 | (bI : Basis (Fin c) (Γ(Y, U) ⧸ I) I.Cotangent) |
| 53 | (hI : ∀ i, bI i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(Y, U) I s hs i)) |
| 54 | {k : Type u} [CommRing k] [Algebra k Γ(Y, U)] |
| 55 | [Algebra.Smooth k Γ(Y, U)] [Algebra.Smooth k (Γ(Y, U) ⧸ I)] |
| 56 | (bQ : Basis (Fin 0) (Γ(Y, U) ⧸ I) Ω[Γ(Y, U) ⧸ I⁄k]) |
| 57 | (b : Basis (Fin c) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 58 | (hb : (b : Fin c → Ω[Γ(Y, U)⁄k]) = fun i => KaehlerDifferential.D k Γ(Y, U) (s i)) |
| 59 | (e : (AffineOpen.InternalHom.sections U hU).obj N ≃ₗ[Γ(Y, U)] ⋀[Γ(Y, U)]^c Ω[Γ(Y, U)⁄k]) |
| 60 | |
| 61 | include hI hb in |
| 62 | theorem coefficient (x : (ModuleExactSections.sections U).obj |
| 63 | ((LinearResolutionPurity.internalComplex N K).homology c)) : |
| 64 | exteriorPower.zeroEquiv (Γ(Y, U) ⧸ I) Ω[Γ(Y, U) ⧸ I⁄k] |
| 65 | ((DualizingAdjunction.iso U hU N K M ε I eM eN s hs hreg bI bQ |
| 66 | (ParameterLineAdjunction.ambient (c := c) (g := 0) I b ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom x) = |
| 67 | (OrientedPurity.iso U hU N K M ε I eM s hs hreg |
| 68 | (ParameterLineAdjunction.frame (c := c) (g := 0) b ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom x := by |
| 69 | have hb' : (b : Fin (c + 0) → Ω[Γ(Y, U)⁄k]) = |
| 70 | Fin.append (fun i => KaehlerDifferential.D k Γ(Y, U) (s i)) |
| 71 | (fun i : Fin 0 => KaehlerDifferential.D k Γ(Y, U) (Fin.elim0 i)) := by |
| 72 | rw [hb] |
| 73 | funext i |
| 74 | simpa only [Fin.castAdd_zero, Fin.cast_eq_self] using |
| 75 | (Fin.append_left (fun j => KaehlerDifferential.D k Γ(Y, U) (s j)) |
| 76 | (fun j : Fin 0 => KaehlerDifferential.D k Γ(Y, U) (Fin.elim0 j)) i).symm |
| 77 | have h := ParameterAdjunction.symbol U hU N K M ε I eM eN s hs hreg bI hI |
| 78 | bQ (fun i : Fin 0 => Fin.elim0 i) (fun i => Fin.elim0 i) b hb' e x |
| 79 | exact (congrArg (exteriorPower.zeroEquiv (Γ(Y, U) ⧸ I) Ω[Γ(Y, U) ⧸ I⁄k]) h).trans |
| 80 | (zero_symbol k (Γ(Y, U) ⧸ I) _ _) |
| 81 | |
| 82 | variable (t : Fin c → Γ(Y, U)) |
| 83 | (ht : Koszul.OrientedTopCohomology.ideal Γ(Y, U) t = I) |
| 84 | (htreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn t)) |
| 85 | (btI : Basis (Fin c) (Γ(Y, U) ⧸ I) I.Cotangent) |
| 86 | (htI : ∀ i, btI i = I.toCotangent (ConormalKoszulPurity.conormalVectors Γ(Y, U) I t ht i)) |
| 87 | (bt : Basis (Fin c) Γ(Y, U) Ω[Γ(Y, U)⁄k]) |
| 88 | (hbt : (bt : Fin c → Ω[Γ(Y, U)⁄k]) = fun i => KaehlerDifferential.D k Γ(Y, U) (t i)) |
| 89 | |
| 90 | attribute [local irreducible] OrientedPurity.iso DualizingAdjunction.iso |
| 91 | ParameterLineAdjunction.frame ParameterLineAdjunction.ambient |
| 92 | |
| 93 | include hI hb htI hbt bQ in |
| 94 | theorem independent : |
| 95 | (OrientedPurity.iso U hU N K M ε I eM s hs hreg |
| 96 | (ParameterLineAdjunction.frame (c := c) (g := 0) b ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom = |
| 97 | (OrientedPurity.iso U hU N K M ε I eM t ht htreg |
| 98 | (ParameterLineAdjunction.frame (c := c) (g := 0) bt ((AffineOpen.InternalHom.sections U hU).obj N) e)).hom := by |
| 99 | let eN := ParameterLineAdjunction.frame (c := c) (g := 0) b ((AffineOpen.InternalHom.sections U hU).obj N) e |
| 100 | have hi := AdjunctionIndependence.independent U hU N K M ε I eM eN eN |
| 101 | s hs hreg bI hI t ht htreg btI htI bQ bQ |
| 102 | (ParameterLineAdjunction.ambient (c := c) (g := 0) I b ((AffineOpen.InternalHom.sections U hU).obj N) e) |
| 103 | (ParameterLineAdjunction.ambient (c := c) (g := 0) I bt ((AffineOpen.InternalHom.sections U hU).obj N) e) |
| 104 | (ambient_eq I b bt ((AffineOpen.InternalHom.sections U hU).obj N) e) |
| 105 | apply ModuleCat.hom_ext |
| 106 | apply LinearMap.ext |
| 107 | intro x |
| 108 | exact (coefficient U hU N K M ε I eM eN s hs hreg bI hI bQ b hb e x).symm.trans |
| 109 | ((congrArg (fun a => exteriorPower.zeroEquiv (Γ(Y, U) ⧸ I) Ω[Γ(Y, U) ⧸ I⁄k] |
| 110 | (a.hom x)) hi).trans |
| 111 | (coefficient U hU N K M ε I eM eN t ht htreg btI htI bQ bt hbt e x)) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.PointParameterIndependence |