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.FiniteEtale.WittPermutation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry |
| 3 | |
| 4 | /-! # Frobenius Algebra -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FrobeniusAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative q-Frobenius and scalar geometric Frobenius induce the same map on geometric prime ideals. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (k A : Type u) [Field k] [CommRing A] [Algebra k A] |
| 17 | |
| 18 | local notation "Ω" => AlgebraicClosure k |
| 19 | local notation "T" => Ω ⊗[k] A |
| 20 | |
| 21 | def scalarMap (σ : Ω ≃ₐ[k] Ω) : T →ₐ[k] T := |
| 22 | Algebra.TensorProduct.map σ.toAlgHom (AlgHom.id k A) |
| 23 | |
| 24 | theorem scalarMap_tmul (σ : Ω ≃ₐ[k] Ω) (s : Ω) (a : A) : |
| 25 | scalarMap k A σ (s ⊗ₜ[k] a) = σ s ⊗ₜ[k] a := rfl |
| 26 | |
| 27 | variable [Fintype k] (p a : ℕ) [Fact p.Prime] [CharP k p] |
| 28 | (hcard : Fintype.card k = p ^ a) |
| 29 | |
| 30 | theorem relative_scalar (z : T) : |
| 31 | Witt.BaseChangeNaturality.tensorMap k Ω A (FiniteField.frobeniusAlgHom k A) z = |
| 32 | (scalarMap k A (Frobenius.Geometry.geometricFrobenius p a k hcard) z) ^ Fintype.card k := by |
| 33 | have h : (Witt.BaseChangeNaturality.tensorMap k Ω A (FiniteField.frobeniusAlgHom k A)).restrictScalars k = |
| 34 | (FiniteField.frobeniusAlgHom k T).comp |
| 35 | (scalarMap k A (Frobenius.Geometry.geometricFrobenius p a k hcard)) := by |
| 36 | apply Algebra.TensorProduct.ext' |
| 37 | intro s b |
| 38 | change s ⊗ₜ[k] (b ^ Fintype.card k) = |
| 39 | (Frobenius.Geometry.geometricFrobenius p a k hcard s ⊗ₜ[k] b) ^ Fintype.card k |
| 40 | rw [Algebra.TensorProduct.tmul_pow, hcard, Frobenius.Geometry.geometricFrobenius_pow] |
| 41 | exact DFunLike.congr_fun h z |
| 42 | |
| 43 | theorem comap (i : PrimeSpectrum T) : |
| 44 | i.comap (Witt.BaseChangeNaturality.tensorMap k Ω A (FiniteField.frobeniusAlgHom k A)).toRingHom = |
| 45 | i.comap (scalarMap k A (Frobenius.Geometry.geometricFrobenius p a k hcard)).toRingHom := by |
| 46 | apply PrimeSpectrum.ext |
| 47 | ext z |
| 48 | change Witt.BaseChangeNaturality.tensorMap k Ω A (FiniteField.frobeniusAlgHom k A) z ∈ i.asIdeal ↔ |
| 49 | scalarMap k A (Frobenius.Geometry.geometricFrobenius p a k hcard) z ∈ i.asIdeal |
| 50 | rw [relative_scalar k A p a hcard] |
| 51 | exact i.isPrime.pow_mem_iff_mem (Fintype.card k) Fintype.card_pos |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FrobeniusAlgebra |