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.Field |
| 2 | import Mathlib.RingTheory.AlgebraicIndependent.Defs |
| 3 | import Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra |
| 4 | |
| 5 | /-! # Transcendence Etale -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceEtale |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Formal etaleness over a separating polynomial coordinate algebra |
| 13 | |
| 14 | An algebraically independent family identifies its polynomial algebra with |
| 15 | its generated subalgebra. Passing to the generated intermediate field is a |
| 16 | localization, and a separable extension of that field is formally etale. |
| 17 | -/ |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | /-- The polynomial-algebra structure defined by evaluation at a specified |
| 22 | family of elements. -/ |
| 23 | abbrev polynomialEvaluationAlgebra (k : Type*) {K ι : Type*} |
| 24 | [CommSemiring k] [CommSemiring K] [Algebra k K] (v : ι → K) : |
| 25 | Algebra (MvPolynomial ι k) K := |
| 26 | (MvPolynomial.aeval v).toRingHom.toAlgebra |
| 27 | |
| 28 | /-- The evaluation algebra has the expected scalar tower over the original |
| 29 | coefficient semiring. -/ |
| 30 | theorem polynomialEvaluation_isScalarTower (k : Type*) {K ι : Type*} |
| 31 | [CommSemiring k] [CommSemiring K] [Algebra k K] (v : ι → K) : |
| 32 | letI := polynomialEvaluationAlgebra k v |
| 33 | IsScalarTower k (MvPolynomial ι k) K := by |
| 34 | let := polynomialEvaluationAlgebra k v |
| 35 | apply IsScalarTower.of_algebraMap_eq |
| 36 | intro c |
| 37 | exact ((MvPolynomial.aeval v).commutes c).symm |
| 38 | |
| 39 | /-- A ring isomorphism is formally etale for its induced algebra structure. -/ |
| 40 | theorem formallyEtale_ringEquiv {R S : Type*} [CommRing R] [CommRing S] |
| 41 | (e : R ≃+* S) : e.toRingHom.FormallyEtale := by |
| 42 | let : Algebra R S := e.toRingHom.toAlgebra |
| 43 | change Algebra.FormallyEtale R S |
| 44 | let e' : R ≃ₐ[R] S := { e with commutes' := fun _ => rfl } |
| 45 | exact Algebra.FormallyEtale.of_equiv e' |
| 46 | |
| 47 | open scoped IntermediateField.algebraAdjoinAdjoin in |
| 48 | /-- A field separable over the field generated by an algebraically independent |
| 49 | family is formally etale over the polynomial algebra evaluated at that family. -/ |
| 50 | theorem formallyEtale_polynomialEvaluation |
| 51 | {k K ι : Type u} [Field k] [Field K] [Algebra k K] |
| 52 | {v : ι → K} (hv : AlgebraicIndependent k v) |
| 53 | [Algebra.IsSeparable (IntermediateField.adjoin k (Set.range v)) K] : |
| 54 | letI := polynomialEvaluationAlgebra k v |
| 55 | Algebra.FormallyEtale (MvPolynomial ι k) K := by |
| 56 | change (MvPolynomial.aeval (R := k) v).toRingHom.FormallyEtale |
| 57 | let A := Algebra.adjoin k (Set.range v) |
| 58 | let F := IntermediateField.adjoin k (Set.range v) |
| 59 | have hPA : hv.aevalEquiv.toRingHom.FormallyEtale := |
| 60 | formallyEtale_ringEquiv hv.aevalEquiv.toRingEquiv |
| 61 | have hAF : (algebraMap A F).FormallyEtale := |
| 62 | RingHom.formallyEtale_algebraMap.mpr |
| 63 | (Algebra.FormallyEtale.of_isLocalization (nonZeroDivisors A)) |
| 64 | have hFK : (algebraMap F K).FormallyEtale := |
| 65 | RingHom.formallyEtale_algebraMap.mpr |
| 66 | (Algebra.FormallyEtale.of_isSeparable F K) |
| 67 | have hc := (hPA.comp hAF).comp hFK |
| 68 | have hcomp : (algebraMap F K).comp |
| 69 | ((algebraMap A F).comp hv.aevalEquiv.toRingHom) = |
| 70 | (MvPolynomial.aeval v).toRingHom := by |
| 71 | apply RingHom.ext |
| 72 | intro p |
| 73 | change algebraMap F K (algebraMap A F (hv.aevalEquiv p)) = MvPolynomial.aeval v p |
| 74 | rw [← IsScalarTower.algebraMap_apply A F K] |
| 75 | exact hv.algebraMap_aevalEquiv p |
| 76 | simpa only [hcomp] using hc |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceEtale |