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.WeaklyEtaleAffine |
| 2 | |
| 3 | /-! # Weakly Etale Ring Hom -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleRingHom |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Weakly etale ring maps with their actual affine scheme morphisms -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 15 | |
| 16 | def Property (f : R →+* S) : Prop := |
| 17 | letI : Algebra R S := f.toAlgebra |
| 18 | Algebra.WeaklyEtale R S |
| 19 | |
| 20 | theorem algebraMap_iff [Algebra R S] : Property (algebraMap R S) ↔ Algebra.WeaklyEtale R S := by |
| 21 | rw [Property, toAlgebra_algebraMap] |
| 22 | |
| 23 | theorem specMap (f : R →+* S) (hf : Property f) : WeaklyEtale (Spec.map (CommRingCat.ofHom f)) := by |
| 24 | let : Algebra R S := f.toAlgebra |
| 25 | have : Algebra.WeaklyEtale R S := hf |
| 26 | exact WeaklyEtaleAffine.specMap R S |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleRingHom |