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.NumberTheory.PadicHodge.PeriodInvariants.SemilinearComplexMap |
| 2 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 3 | |
| 4 | /-! # Semilinear Complex Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.SemilinearComplexRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # An actual semilinear complex map is linear into the scalar-restricted target -/ |
| 11 | |
| 12 | open _root_.CategoryTheory OAI.NumberTheory.PadicHodge.PeriodInvariants.SemilinearComplexMap |
| 13 | |
| 14 | universe u |
| 15 | variable {R S : Type u} [CommRing R] [CommRing S] {φ : R →+* S} |
| 16 | {C : CochainComplex (ModuleCat.{u} R) ℕ} {D : CochainComplex (ModuleCat.{u} S) ℕ} |
| 17 | |
| 18 | def restrictedComplex (φ : R →+* S) (D : CochainComplex (ModuleCat.{u} S) ℕ) : |
| 19 | CochainComplex (ModuleCat.{u} R) ℕ := |
| 20 | ((ModuleCat.restrictScalars φ).mapHomologicalComplex (.up ℕ)).obj D |
| 21 | |
| 22 | def linearMap (f : SemilinearComplexMap.Map φ C D) : C ⟶ restrictedComplex φ D where |
| 23 | f n := ModuleCat.ofHom (X := C.X n) (Y := (restrictedComplex φ D).X n) { |
| 24 | toFun := f.f n |
| 25 | map_add' := map_add (f.f n) |
| 26 | map_smul' := (f.f n).map_smulₛₗ } |
| 27 | comm' i j _ := by |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply LinearMap.ext |
| 30 | intro x |
| 31 | exact (f.comm i j x).symm |
| 32 | |
| 33 | theorem linearMap_apply (f : SemilinearComplexMap.Map φ C D) (n : ℕ) (x : C.X n) : |
| 34 | ((linearMap f).f n).hom x = f.f n x := rfl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.SemilinearComplexRestriction |