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.Field.CoefficientEuler |
| 2 | |
| 3 | /-! # Isomorphism Cohomology Dimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.IsomorphismCohomologyDimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism between field spectra induces the actual coefficient-field isomorphism, and its restriction of scalars preserves every individual cohomology dimension. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | def specIsoRingEquiv {K B : Type u} [CommRing K] [CommRing B] |
| 14 | (c : Spec (.of B) ⟶ Spec (.of K)) [IsIso c] : K ≃+* B := by |
| 15 | let e : CommRingCat.of K ≅ .of B := { |
| 16 | hom := Spec.preimage c |
| 17 | inv := Spec.preimage (inv c) |
| 18 | hom_inv_id := by |
| 19 | apply Spec.map_injective |
| 20 | rw [Spec.map_comp, Spec.map_preimage, Spec.map_preimage, Spec.map_id] |
| 21 | exact IsIso.inv_hom_id c |
| 22 | inv_hom_id := by |
| 23 | apply Spec.map_injective |
| 24 | rw [Spec.map_comp, Spec.map_preimage, Spec.map_preimage, Spec.map_id] |
| 25 | exact IsIso.hom_inv_id c } |
| 26 | exact e.commRingCatIsoToRingEquiv |
| 27 | |
| 28 | theorem specIsoRingEquiv_specMap {K B : Type u} [CommRing K] [CommRing B] |
| 29 | (c : Spec (.of B) ⟶ Spec (.of K)) [IsIso c] : |
| 30 | Spec.map (CommRingCat.ofHom (specIsoRingEquiv c).toRingHom) = c := |
| 31 | Spec.map_preimage c |
| 32 | |
| 33 | theorem coefficientCohomology_finrank_fieldIso |
| 34 | {K B : Type u} [Field K] [Field B] {X : Scheme.{u}} |
| 35 | (e : K ≃+* B) (p : X ⟶ Spec (.of B)) (M : X.Modules) (q : ℕ) : |
| 36 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 37 | (Coefficient.ModulePresheaf.schemeCoefficientMap (p ≫ Spec.map (CommRingCat.ofHom e.toRingHom))) q).obj M) = |
| 38 | Module.finrank B ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj M) := by |
| 39 | let V := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj M |
| 40 | have h₁ := (CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr |
| 41 | (HilbertConstruction.Field.CoefficientEuler.schemeCoefficientMap_specMap_comp p e.toRingHom) M q).toLinearEquiv.finrank_eq |
| 42 | have h₂ := (CoefficientCohomology.CohomologyRestriction.coefficientCohomologyRestrictionIso e.toRingHom (Coefficient.ModulePresheaf.schemeCoefficientMap p) M q).toLinearEquiv.finrank_eq |
| 43 | exact h₁.trans (h₂.symm.trans (Scalar.EquivalentDimensions.restrictScalars_finrank_of_ringEquiv e V)) |
| 44 | |
| 45 | theorem coefficientCohomology_finrank_specIso |
| 46 | {K B : Type u} [Field K] [Field B] {X : Scheme.{u}} |
| 47 | (c : Spec (.of B) ⟶ Spec (.of K)) [IsIso c] |
| 48 | (p : X ⟶ Spec (.of B)) (M : X.Modules) (q : ℕ) : |
| 49 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 50 | (Coefficient.ModulePresheaf.schemeCoefficientMap (p ≫ c)) q).obj M) = |
| 51 | Module.finrank B ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj M) := by |
| 52 | have hmap : Coefficient.ModulePresheaf.schemeCoefficientMap |
| 53 | (p ≫ Spec.map (CommRingCat.ofHom (specIsoRingEquiv c).toRingHom)) = |
| 54 | Coefficient.ModulePresheaf.schemeCoefficientMap (p ≫ c) := |
| 55 | congrArg (fun k => Coefficient.ModulePresheaf.schemeCoefficientMap (p ≫ k)) (specIsoRingEquiv_specMap c) |
| 56 | exact ((CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr hmap M q).toLinearEquiv.finrank_eq).symm.trans |
| 57 | (coefficientCohomology_finrank_fieldIso (specIsoRingEquiv c) p M q) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.IsomorphismCohomologyDimension |