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.Affine.GeometricFiber |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FrobeniusPolynomial |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConnectedComponents |
| 4 | |
| 5 | /-! # Geometric Components -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.GeometricComponents |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric prime ideals identify with the actual connected components, including their original Frobenius action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k A : Type u) [Field k] [CommRing A] [Algebra k A] [Module.Finite k A] |
| 19 | |
| 20 | local notation "Ω" => AlgebraicClosure k |
| 21 | local notation "T" => Ω ⊗[k] A |
| 22 | local notation "f" => Spec.map (CommRingCat.ofHom (algebraMap k A)) |
| 23 | local notation "Y" => OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry.geometricFiber (L := Ω) f |
| 24 | |
| 25 | local instance : IsArtinianRing T := IsArtinianRing.of_finite Ω T |
| 26 | |
| 27 | def equiv : PrimeSpectrum T ≃ _root_.ConnectedComponents Y := by |
| 28 | let h : Y ≃ₜ PrimeSpectrum T := Scheme.homeoOfIso (Affine.GeometricFiber.iso k A) |
| 29 | exact |
| 30 | { toFun := fun i => ConnectedComponents.mk (h.symm i) |
| 31 | invFun := h.continuous.connectedComponentsLift |
| 32 | left_inv := h.apply_symm_apply |
| 33 | right_inv := by |
| 34 | intro c |
| 35 | obtain ⟨x, rfl⟩ := ConnectedComponents.surjective_coe c |
| 36 | exact congrArg ConnectedComponents.mk (h.symm_apply_apply x) } |
| 37 | |
| 38 | theorem equiv_apply (i : PrimeSpectrum T) : |
| 39 | equiv k A i = ConnectedComponents.mk ((Affine.GeometricFiber.iso k A).inv i) := rfl |
| 40 | |
| 41 | theorem scalar (σ : Ω ≃ₐ[k] Ω) (i : PrimeSpectrum T) : |
| 42 | IntegralComparison.Etale.ConnectedComponents.permutation Y (Frobenius.Geometry.geometricFiberIso f σ) (equiv k A i) = |
| 43 | equiv k A (i.comap (FrobeniusAlgebra.scalarMap k A σ).toRingHom) := by |
| 44 | change ConnectedComponents.mk ((Frobenius.Geometry.geometricFiberIso f σ).hom |
| 45 | ((Affine.GeometricFiber.iso k A).inv i)) = |
| 46 | ConnectedComponents.mk ((Affine.GeometricFiber.iso k A).inv |
| 47 | (Spec.map (CommRingCat.ofHom (FrobeniusAlgebra.scalarMap k A σ).toRingHom) i)) |
| 48 | exact congrArg ConnectedComponents.mk (congrArg (fun g : Spec (CommRingCat.of T) ⟶ Y => g i) |
| 49 | (Affine.GeometricFiber.scalar_natural k A σ)) |
| 50 | |
| 51 | variable (p a : ℕ) [Fact p.Prime] [Fintype k] [CharP k p] (hcard : Fintype.card k = p ^ a) |
| 52 | [Nontrivial A] [Algebra.Etale k A] |
| 53 | |
| 54 | theorem frobenius (i : PrimeSpectrum T) : |
| 55 | equiv k A (WittPermutation.permutation k A |
| 56 | (FrobeniusPolynomial.frobenius p k A) i) = |
| 57 | IntegralComparison.Etale.ConnectedComponents.permutation Y |
| 58 | (Frobenius.Geometry.geometricFiberIso f (Frobenius.Geometry.geometricFrobenius p a k hcard)) |
| 59 | (equiv k A i) := by |
| 60 | exact (congrArg (equiv k A) (FrobeniusAlgebra.comap k A p a hcard i)).trans |
| 61 | (scalar k A (Frobenius.Geometry.geometricFrobenius p a k hcard) i).symm |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.GeometricComponents |