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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechModelSections |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModelOneTensor |
| 4 | |
| 5 | /-! # Residue Model Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ResidueModelCycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero section in the coefficient-residue fiber, together with |
| 12 | cycle lifting, supplies a global model cycle surviving in the actual fiber. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem residueLift_exists_surviving_cycle |
| 22 | {R B M N : Type u} [CommRing R] [IsLocalRing R] [CommRing B] [Algebra R B] |
| 23 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 24 | (e : B ≃ₗ[R] IsLocalRing.ResidueField R) (he : e 1 = 1) (d : M →ₗ[R] N) |
| 25 | [Nontrivial (d.lTensor B).ker] |
| 26 | (hlift : ∀ z : IsLocalRing.ResidueField R ⊗[R] M, |
| 27 | d.baseChange (IsLocalRing.ResidueField R) z = 0 → |
| 28 | ∃ x : M, d x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z) : |
| 29 | ∃ x : M, d x = 0 ∧ (1 : B) ⊗ₜ[R] x ≠ 0 := by |
| 30 | obtain ⟨z, hz⟩ := exists_ne (0 : (d.lTensor B).ker) |
| 31 | have hne : (e.rTensor M) z.val ≠ 0 := by |
| 32 | intro h |
| 33 | apply hz |
| 34 | apply Subtype.ext |
| 35 | exact (e.rTensor M).injective (h.trans (e.rTensor M).map_zero.symm) |
| 36 | have hc : d.baseChange (IsLocalRing.ResidueField R) ((e.rTensor M) z.val) = 0 := by |
| 37 | have h := LinearMap.congr_fun (ReferenceFamily.Tensor.CoefficientEquivalence.tensorCoefficientEquiv_natural e d) z.val |
| 38 | exact h.trans (by |
| 39 | change (e.rTensor N) ((d.lTensor B) z.val) = 0 |
| 40 | rw [z.property, map_zero]) |
| 41 | obtain ⟨x, hx, hxn⟩ := hlift _ hc |
| 42 | refine ⟨x, hx, fun hzero => hne ?_⟩ |
| 43 | calc |
| 44 | (e.rTensor M) z.val = (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x := hxn.symm |
| 45 | _ = (e.rTensor M) ((1 : B) ⊗ₜ[R] x) := by |
| 46 | change _ = e 1 ⊗ₜ[R] x |
| 47 | rw [he] |
| 48 | _ = 0 := by rw [hzero, map_zero] |
| 49 | |
| 50 | theorem coefficientSectionsEquiv_one |
| 51 | (S : Scheme.{u}) [IsAffine S] (K : Type u) [Field K] [Algebra Γ(S, ⊤) K] : |
| 52 | ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldSectionsEquiv S K 1 = 1 := by |
| 53 | change (Scheme.ΓSpecIso (.of K)).hom.hom 1 = 1 |
| 54 | exact map_one _ |
| 55 | |
| 56 | theorem extended_first_kernel_nontrivial |
| 57 | {R B : Type u} [CommRing R] [CommRing B] (a : R →+* B) |
| 58 | (D : CochainComplex (ModuleCat.{u} R) ℕ) |
| 59 | (hn : Nontrivial ((((ModuleCat.extendScalars a).mapHomologicalComplex |
| 60 | (ComplexShape.up ℕ)).obj D).d 0 1).hom.ker) : |
| 61 | let : Algebra R B := a.toAlgebra |
| 62 | Nontrivial ((D.d 0 1).hom.lTensor B).ker := hn |
| 63 | |
| 64 | theorem extendedComplex_exists_surviving_cycle |
| 65 | {R B : Type u} [CommRing R] [IsLocalRing R] [CommRing B] |
| 66 | (D : CochainComplex (ModuleCat.{u} R) ℕ) (a : R →+* B) : |
| 67 | let : Algebra R B := a.toAlgebra |
| 68 | ∀ (e : B ≃ₗ[R] IsLocalRing.ResidueField R) (_he : e 1 = 1) |
| 69 | (_hn : Nontrivial ((((ModuleCat.extendScalars a).mapHomologicalComplex |
| 70 | (ComplexShape.up ℕ)).obj D).d 0 1).hom.ker) |
| 71 | (_hlift : ∀ z : IsLocalRing.ResidueField R ⊗[R] D.X 0, |
| 72 | (D.d 0 1).hom.baseChange (IsLocalRing.ResidueField R) z = 0 → |
| 73 | ∃ x : D.X 0, D.d 0 1 x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z), |
| 74 | ∃ x : D.X 0, D.d 0 1 x = 0 ∧ (1 : B) ⊗ₜ[R] x ≠ 0 := by |
| 75 | let : Algebra R B := a.toAlgebra |
| 76 | dsimp only |
| 77 | intro e he hn hlift |
| 78 | have : Nontrivial ((D.d 0 1).hom.lTensor B).ker := extended_first_kernel_nontrivial a D hn |
| 79 | exact residueLift_exists_surviving_cycle e he (D.d 0 1).hom hlift |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ResidueModelCycle |