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.Abelian.ResidueUnitExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientPoints |
| 3 | |
| 4 | /-! # Coefficient Unit Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The unit of an actual abelian Cech model is injective and generates |
| 11 | the degree-zero kernel after every prescribed field specialization of |
| 12 | the affine base's coefficient ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | def coefficientFieldPoint (S : Scheme.{u}) [IsAffine S] |
| 19 | (k : Type u) [Field k] [Algebra Γ(S, ⊤) k] : Spec (.of k) ⟶ S := |
| 20 | CoefficientPoints.affineCoefficientPoint S (algebraMap Γ(S, ⊤) k) |
| 21 | |
| 22 | def coefficientFieldSectionsEquiv (S : Scheme.{u}) [IsAffine S] |
| 23 | (k : Type u) [Field k] [Algebra Γ(S, ⊤) k] : |
| 24 | letI : Algebra Γ(S, ⊤) Γ(Spec (.of k), ⊤) := (coefficientFieldPoint S k).appTop.hom.toAlgebra |
| 25 | Γ(Spec (.of k), ⊤) ≃ₗ[Γ(S, ⊤)] k := by |
| 26 | let : Algebra Γ(S, ⊤) Γ(Spec (.of k), ⊤) := (coefficientFieldPoint S k).appTop.hom.toAlgebra |
| 27 | let e := (Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv |
| 28 | let a : Γ(Spec (.of k), ⊤) ≃ₐ[Γ(S, ⊤)] k := |
| 29 | AlgEquiv.ofRingEquiv (f := e) (fun r => |
| 30 | RingHom.congr_fun (CoefficientPoints.affineCoefficientPoint_coefficients S (algebraMap Γ(S, ⊤) k)) r) |
| 31 | exact a.toLinearEquiv |
| 32 | |
| 33 | theorem abelianCoefficient_unit_exactness |
| 34 | {S : Scheme.{u}} [IsAffine S] {g : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 35 | (k : Type u) [Field k] [Algebra Γ(S, ⊤) k] |
| 36 | {I : Type u} [LinearOrder I] (U : I → A.scheme.left.Opens) (hU : iSup U = ⊤) |
| 37 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 38 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex A.scheme.hom (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A.scheme.left) U) |
| 39 | [QuasiIsoAt φ 0] |
| 40 | [QuasiIsoAt (Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap |
| 41 | (pullback.fst A.scheme.hom (coefficientFieldPoint S k)) A.scheme.hom |
| 42 | (pullback.snd A.scheme.hom (coefficientFieldPoint S k)) (coefficientFieldPoint S k) |
| 43 | pullback.condition (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A.scheme.left) U φ) 0] : |
| 44 | Function.Injective ((Cech.ModelUnit.CechModelUnit.unitMap A.scheme.hom U hU φ).lTensor k) ∧ |
| 45 | ((D.d 0 1).hom.lTensor k).ker = ((Cech.ModelUnit.CechModelUnit.unitMap A.scheme.hom U hU φ).lTensor k).range := by |
| 46 | let q := coefficientFieldPoint S k |
| 47 | let : Algebra Γ(S, ⊤) Γ(Spec (.of k), ⊤) := q.appTop.hom.toAlgebra |
| 48 | let : IsIso (pullback.snd A.scheme.hom q).appTop := |
| 49 | Abelian.FiberUnitKernel.abelian_field_globalFunctions_isIso (A.pullback q) |
| 50 | have h := Cech.UnitKernelBasis.CechModelUnit.baseChangeUnitKernelMap_bijective |
| 51 | (pullback.fst A.scheme.hom q) A.scheme.hom (pullback.snd A.scheme.hom q) q |
| 52 | pullback.condition U hU φ |
| 53 | rw [Cech.UnitTensorComparison.CechModelUnit.baseChangeUnitKernelMap_eq_tensor A.scheme.hom q U hU φ] at h |
| 54 | have hu := Tensor.UnitKernel.tensorUnitKernelMap_bijective_injective _ _ _ h |
| 55 | have hex := Tensor.UnitKernel.tensorUnitKernelMap_bijective_exact _ _ _ h |
| 56 | exact ⟨Tensor.CoefficientEquivalence.tensorCoefficientEquiv_injective (coefficientFieldSectionsEquiv S k) _ hu, |
| 57 | Tensor.CoefficientEquivalence.tensorCoefficientEquiv_exact (coefficientFieldSectionsEquiv S k) _ _ hex⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness |