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.HilbertConstruction.Finite.ProjectiveFieldExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuotientCoefficientMap |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulScalarExactness |
| 4 | |
| 5 | /-! # Finite Projective Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.FiniteProjectiveExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric field-valued tests detect exactness of a finite projective |
| 12 | complex over an affine scheme. The same test applies after an arbitrary |
| 13 | affine change of base, with the actual maps on global functions. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | universe u |
| 17 | |
| 18 | theorem affine_finiteProjectiveShortComplex_exact_of_field_points |
| 19 | (S : Scheme.{u}) [IsAffine S] (C : ShortComplex (ModuleCat.{u} Γ(S, ⊤))) |
| 20 | [Module.Finite Γ(S, ⊤) C.X₁] [Module.Projective Γ(S, ⊤) C.X₁] |
| 21 | [Module.Finite Γ(S, ⊤) C.X₂] [Module.Projective Γ(S, ⊤) C.X₂] |
| 22 | [Module.Finite Γ(S, ⊤) C.X₃] [Module.Projective Γ(S, ⊤) C.X₃] |
| 23 | (h : ∀ (K : Type u) [Field K] (q : Spec (.of K) ⟶ S), |
| 24 | (C.map (ModuleCat.extendScalars q.appTop.hom)).Exact) : C.Exact := by |
| 25 | apply HilbertConstruction.Finite.ProjectiveFieldExactness.finiteProjectiveShortComplex_exact_of_field_tests C |
| 26 | intro K _ q |
| 27 | let b := Affine.QuotientCoefficientMap.affineCoordinateMap q |
| 28 | let e := (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv |
| 29 | have he : e.toRingHom.FaithfullyFlat := RingHom.FaithfullyFlat.of_bijective e.bijective |
| 30 | have hb : ((C.map (ModuleCat.extendScalars b.appTop.hom)).map |
| 31 | (ModuleCat.extendScalars e.toRingHom)).Exact := |
| 32 | (FaithfulScalarExactness.native_scalar_exact_iff_of_faithfullyFlat e.toRingHom he _).mpr (h K b) |
| 33 | have hc : (C.map (ModuleCat.extendScalars (e.toRingHom.comp b.appTop.hom))).Exact := |
| 34 | (ShortComplex.exact_iff_of_iso |
| 35 | (C.mapNatIso (ModuleCat.extendScalarsComp b.appTop.hom e.toRingHom))).mpr hb |
| 36 | have hq : e.toRingHom.comp b.appTop.hom = q := Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap q |
| 37 | rw [hq] at hc |
| 38 | exact hc |
| 39 | |
| 40 | theorem geometric_finiteProjectiveShortComplex_baseChange_exact |
| 41 | {S Y : Scheme.{u}} [IsAffine Y] (b : Y ⟶ S) |
| 42 | (C : ShortComplex (ModuleCat.{u} Γ(S, ⊤))) |
| 43 | [Module.Finite Γ(S, ⊤) C.X₁] [Module.Projective Γ(S, ⊤) C.X₁] |
| 44 | [Module.Finite Γ(S, ⊤) C.X₂] [Module.Projective Γ(S, ⊤) C.X₂] |
| 45 | [Module.Finite Γ(S, ⊤) C.X₃] [Module.Projective Γ(S, ⊤) C.X₃] |
| 46 | (h : ∀ (K : Type u) [Field K] (q : Spec (.of K) ⟶ Y), |
| 47 | (C.map (ModuleCat.extendScalars (q ≫ b).appTop.hom)).Exact) : |
| 48 | (letI := b.appTop.hom.toAlgebra; |
| 49 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex Γ(S, ⊤) Γ(Y, ⊤) C).Exact) := by |
| 50 | let := b.appTop.hom.toAlgebra |
| 51 | let B := Γ(Y, ⊤) |
| 52 | let T := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex Γ(S, ⊤) B C |
| 53 | have : Module.Finite B T.X₁ := inferInstanceAs (Module.Finite B (B ⊗[Γ(S, ⊤)] C.X₁)) |
| 54 | have : Module.Finite B T.X₂ := inferInstanceAs (Module.Finite B (B ⊗[Γ(S, ⊤)] C.X₂)) |
| 55 | have : Module.Finite B T.X₃ := inferInstanceAs (Module.Finite B (B ⊗[Γ(S, ⊤)] C.X₃)) |
| 56 | have : Module.Projective B T.X₁ := inferInstanceAs (Module.Projective B (B ⊗[Γ(S, ⊤)] C.X₁)) |
| 57 | have : Module.Projective B T.X₂ := inferInstanceAs (Module.Projective B (B ⊗[Γ(S, ⊤)] C.X₂)) |
| 58 | have : Module.Projective B T.X₃ := inferInstanceAs (Module.Projective B (B ⊗[Γ(S, ⊤)] C.X₃)) |
| 59 | apply affine_finiteProjectiveShortComplex_exact_of_field_points Y T |
| 60 | intro K _ q |
| 61 | let := q.appTop.hom.toAlgebra |
| 62 | have hc : (C.map (ModuleCat.extendScalars |
| 63 | (q.appTop.hom.comp (algebraMap Γ(S, ⊤) B)))).Exact := h K q |
| 64 | have hi : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex B Γ(Spec (.of K), ⊤) T).Exact := |
| 65 | (Iterated.TensorExactness.iterated_tensor_exact_iff_composite (A := B) (B := Γ(Spec (.of K), ⊤)) C).mpr hc |
| 66 | exact (ShortComplex.exact_iff_of_iso |
| 67 | (T.mapNatIso (Scalar.FunctorComparison.ScalarFunctorComparison.isoOfHom B Γ(Spec (.of K), ⊤) q.appTop.hom))).mp hi |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.FiniteProjectiveExactness |