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 Mathlib.RingTheory.Etale.Basic |
| 2 | import Mathlib.RingTheory.RingHom.Etale |
| 3 | import Mathlib.Algebra.MvPolynomial.Equiv |
| 4 | |
| 5 | /-! # Etale Coordinate -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.EtaleCoordinate.EtaleCoordinateBaseEquiv |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual coefficient-ring equivalence transports étale polynomial |
| 12 | coordinates while preserving the induced base algebra. -/ |
| 13 | |
| 14 | universe u |
| 15 | variable (R S A σ : Type u) |
| 16 | [CommRing R] [CommRing S] [CommRing A] [Algebra S A] |
| 17 | [Algebra (MvPolynomial σ S) A] [IsScalarTower S (MvPolynomial σ S) A] |
| 18 | (e : R ≃+* S) |
| 19 | |
| 20 | @[instance_reducible] |
| 21 | def baseAlgebra : Algebra R A := ((algebraMap S A).comp e.toRingHom).toAlgebra |
| 22 | |
| 23 | @[instance_reducible] |
| 24 | def polynomialAlgebra : Algebra (MvPolynomial σ R) A := |
| 25 | ((algebraMap (MvPolynomial σ S) A).comp (MvPolynomial.mapEquiv σ e).toRingHom).toAlgebra |
| 26 | |
| 27 | theorem scalarTower : letI := baseAlgebra R S A e |
| 28 | letI := polynomialAlgebra R S A σ e |
| 29 | IsScalarTower R (MvPolynomial σ R) A := by |
| 30 | let := baseAlgebra R S A e |
| 31 | let := polynomialAlgebra R S A σ e |
| 32 | apply IsScalarTower.of_algebraMap_eq |
| 33 | intro r |
| 34 | change algebraMap S A (e r) = algebraMap (MvPolynomial σ S) A |
| 35 | ((MvPolynomial.mapEquiv σ e) (MvPolynomial.C r)) |
| 36 | rw [MvPolynomial.mapEquiv_apply, MvPolynomial.map_C] |
| 37 | exact IsScalarTower.algebraMap_apply S (MvPolynomial σ S) A (e r) |
| 38 | |
| 39 | variable [Algebra.Etale (MvPolynomial σ S) A] |
| 40 | |
| 41 | omit [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 42 | theorem etale : letI := polynomialAlgebra R S A σ e |
| 43 | Algebra.Etale (MvPolynomial σ R) A := by |
| 44 | let := polynomialAlgebra R S A σ e |
| 45 | apply RingHom.etale_algebraMap.mp |
| 46 | exact RingHom.Etale.stableUnderComposition _ _ |
| 47 | (RingHom.Etale.of_bijective (MvPolynomial.mapEquiv σ e).bijective) |
| 48 | (RingHom.etale_algebraMap.mpr (inferInstanceAs (Algebra.Etale (MvPolynomial σ S) A))) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.EtaleCoordinate.EtaleCoordinateBaseEquiv |