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.ReferenceFamily.Affine.AlgebraAutomorphismNaturality |
| 2 | |
| 3 | /-! # Algebra Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.AlgebraSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A literal square of affine algebra equivalences gives the |
| 10 | corresponding square of their original affine scheme isomorphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (R P P' T T' : Type) [CommRing R] [CommRing P] [CommRing P'] [CommRing T] [CommRing T'] |
| 15 | [Algebra R P] [Algebra R P'] [Algebra R T] [Algebra R T'] |
| 16 | |
| 17 | theorem affineAlgIso_hom_left (e : P ≃ₐ[R] T) : |
| 18 | (EtaleSplittingAt.EtaleSplitting.affineAlgIso R P e).hom.left = Spec.map (CommRingCat.ofHom e.toRingHom) := rfl |
| 19 | |
| 20 | theorem affineAlgebraEquiv_square (e : P ≃ₐ[R] T) (e' : P' ≃ₐ[R] T') |
| 21 | (q : P →ₐ[R] P') (r : T →ₐ[R] T') (h : e'.toAlgHom.comp q = r.comp e.toAlgHom) : |
| 22 | AlgebraAutomorphismNaturality.affineOverAlgHom R T T' r ≫ (EtaleSplittingAt.EtaleSplitting.affineAlgIso R P e).hom = |
| 23 | (EtaleSplittingAt.EtaleSplitting.affineAlgIso R P' e').hom ≫ AlgebraAutomorphismNaturality.affineOverAlgHom R P P' q := by |
| 24 | apply Over.OverMorphism.ext |
| 25 | change Spec.map (CommRingCat.ofHom r.toRingHom) ≫ Spec.map (CommRingCat.ofHom e.toRingHom) = |
| 26 | Spec.map (CommRingCat.ofHom e'.toRingHom) ≫ Spec.map (CommRingCat.ofHom q.toRingHom) |
| 27 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 28 | apply congrArg Spec.map |
| 29 | apply CommRingCat.hom_ext |
| 30 | exact RingHom.ext (fun a => (AlgHom.congr_fun h a).symm) |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.AlgebraSquare |