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.Abelian.EndomorphismRing |
| 2 | import Mathlib.CategoryTheory.Endomorphism |
| 3 | |
| 4 | /-! # Endomorphism Units -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Units of the endomorphism ring are precisely automorphisms of the group object. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 18 | |
| 19 | def Abelian.Schemes.AbelianScheme.endRingMultiplicativeEquiv : A.EndRing ≃* End A.groupObject where |
| 20 | toFun f := f.toMul |
| 21 | invFun := Additive.ofMul |
| 22 | left_inv _ := rfl |
| 23 | right_inv _ := rfl |
| 24 | map_mul' _ _ := rfl |
| 25 | |
| 26 | def Abelian.Schemes.AbelianScheme.endRingUnitsEquivAut : A.EndRingˣ ≃* Aut A.groupObject := |
| 27 | (Units.mapEquiv A.endRingMultiplicativeEquiv).trans (Aut.unitsEndEquivAut A.groupObject) |
| 28 | |
| 29 | def Abelian.Schemes.AbelianScheme.groupIsoOfSchemeIso (e : A.scheme ≅ A.scheme) [IsMonHom e.hom] : Aut A.groupObject where |
| 30 | hom := Grp.homMk e.hom |
| 31 | inv := Grp.homMk e.inv |
| 32 | hom_inv_id := Grp.hom_ext _ _ e.hom_inv_id |
| 33 | inv_hom_id := Grp.hom_ext _ _ e.inv_hom_id |
| 34 | |
| 35 | def Abelian.Schemes.AbelianScheme.endRingUnitOfIso (e : A.scheme ≅ A.scheme) [IsMonHom e.hom] : A.EndRingˣ := |
| 36 | A.endRingUnitsEquivAut.symm (A.groupIsoOfSchemeIso e) |
| 37 | |
| 38 | @[simp] theorem Abelian.Schemes.AbelianScheme.endRingUnitOfIso_hom (e : A.scheme ≅ A.scheme) [IsMonHom e.hom] : |
| 39 | (A.endRingUnitOfIso e).val.toMul.hom.hom = e.hom := rfl |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |