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.IntegralComparison.StandardEtalePowers |
| 2 | import Mathlib.Algebra.Polynomial.Lifts |
| 3 | |
| 4 | /-! # Standard Etale Lift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.StandardEtaleLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lift actual standard etale presentations along any surjective coefficient map. -/ |
| 11 | |
| 12 | open _root_.Polynomial |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] |
| 17 | (q : R →+* S) (hq : Function.Surjective q) (P : StandardEtalePair S) |
| 18 | |
| 19 | include hq in |
| 20 | theorem exists_pair : ∃ Q : StandardEtalePair R, ∃ n : ℕ, |
| 21 | (Q.map q).f = P.f ∧ (Q.map q).g = P.g ^ (n + 1) := by |
| 22 | obtain ⟨a, b, n, h⟩ := P.cond |
| 23 | have hsurj := Polynomial.map_surjective q hq |
| 24 | obtain ⟨F, hF, _, hmonic⟩ := Polynomial.lifts_and_natDegree_eq_and_monic |
| 25 | ((Polynomial.mem_lifts P.f).mpr (hsurj P.f)) P.monic_f |
| 26 | obtain ⟨G, hG⟩ := hsurj P.g |
| 27 | obtain ⟨A, hA⟩ := hsurj a |
| 28 | obtain ⟨B, hB⟩ := hsurj b |
| 29 | let Q : StandardEtalePair R := |
| 30 | { f := F |
| 31 | monic_f := hmonic |
| 32 | g := G * (F.derivative * A + F * B) |
| 33 | cond := ⟨G * A, G * B, 1, by rw [pow_one]; ring⟩ } |
| 34 | refine ⟨Q, n, hF, ?_⟩ |
| 35 | change Polynomial.map q (G * (F.derivative * A + F * B)) = P.g ^ (n + 1) |
| 36 | rw [Polynomial.map_mul, Polynomial.map_add, Polynomial.map_mul, Polynomial.map_mul, |
| 37 | ← Polynomial.derivative_map, hF, hG, hA, hB, h, pow_succ'] |
| 38 | |
| 39 | def pair : StandardEtalePair R := (exists_pair q hq P).choose |
| 40 | |
| 41 | def exponent : ℕ := (exists_pair q hq P).choose_spec.choose |
| 42 | |
| 43 | theorem pair_f : ((pair q hq P).map q).f = P.f := |
| 44 | (exists_pair q hq P).choose_spec.choose_spec.1 |
| 45 | |
| 46 | theorem pair_g : ((pair q hq P).map q).g = P.g ^ (exponent q hq P + 1) := |
| 47 | (exists_pair q hq P).choose_spec.choose_spec.2 |
| 48 | |
| 49 | def residueEquiv : ((pair q hq P).map q).Ring ≃ₐ[S] P.Ring := |
| 50 | StandardEtalePowers.equiv P ((pair q hq P).map q) (exponent q hq P) |
| 51 | (pair_f q hq P) (pair_g q hq P) |
| 52 | |
| 53 | theorem residueEquiv_X : residueEquiv q hq P ((pair q hq P).map q).X = P.X := |
| 54 | StandardEtalePowers.equiv_X P ((pair q hq P).map q) (exponent q hq P) |
| 55 | (pair_f q hq P) (pair_g q hq P) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.StandardEtaleLift |