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.EulerPullbackIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.EquivalentDimensions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.CohomologyRestriction |
| 4 | |
| 5 | /-! # Coefficient Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.CoefficientEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Genuine Euler characteristic is unchanged by an isomorphism of coefficient fields. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem schemeCoefficientMap_specMap_comp |
| 16 | {R A : Type u} [CommRing R] [CommRing A] {X : Scheme.{u}} |
| 17 | (p : X ⟶ Spec (.of A)) (φ : R →+* A) : |
| 18 | Coefficient.ModulePresheaf.schemeCoefficientMap (p ≫ Spec.map (CommRingCat.ofHom φ)) = (Coefficient.ModulePresheaf.schemeCoefficientMap p).comp φ := by |
| 19 | ext r |
| 20 | change p.appTop ((Spec.map (CommRingCat.ofHom φ)).appTop ((Scheme.ΓSpecIso (.of R)).inv r)) = |
| 21 | p.appTop ((Scheme.ΓSpecIso (.of A)).inv (φ r)) |
| 22 | exact congrArg p.appTop (ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom φ)) r).symm |
| 23 | |
| 24 | theorem coefficientEulerCharacteristic_fieldIso |
| 25 | {K F : Type u} [Field K] [Field F] {X : Scheme.{u}} |
| 26 | (e : K ≃+* F) (p : X ⟶ Spec (.of F)) (M : X.Modules) : |
| 27 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (p ≫ Spec.map (CommRingCat.ofHom e.toRingHom)) M = |
| 28 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M := by |
| 29 | apply finsum_congr |
| 30 | intro q |
| 31 | let H := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj M |
| 32 | have h₁ := (CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr |
| 33 | (schemeCoefficientMap_specMap_comp p e.toRingHom) M q).toLinearEquiv.finrank_eq |
| 34 | have h₂ := (CoefficientCohomology.CohomologyRestriction.coefficientCohomologyRestrictionIso e.toRingHom (Coefficient.ModulePresheaf.schemeCoefficientMap p) M q).toLinearEquiv.finrank_eq |
| 35 | have h₃ := Scalar.EquivalentDimensions.restrictScalars_finrank_of_ringEquiv e H |
| 36 | exact congrArg (fun n : ℕ => (-1 : ℤ) ^ q * (n : ℤ)) (h₁.trans (h₂.symm.trans h₃)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.CoefficientEuler |