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.PeriodInvariants.GeometricGalois |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry |
| 3 | |
| 4 | /-! # Geometric Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.GeometricNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Galois naturality for all morphisms of geometric fibers |
| 12 | |
| 13 | The geometric Galois isomorphisms commute with the base change of every |
| 14 | morphism over the base field. In particular this includes every endomorphism |
| 15 | of an integral model after passing to its geometric generic fiber. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry OAI.NumberTheory.PadicHodge.PeriodInvariants.GeometricGalois |
| 23 | |
| 24 | variable (K L : Type u) [Field K] [Field L] [Algebra K L] |
| 25 | |
| 26 | def geometricFiberFunctor : Over (Spec (CommRingCat.of K)) ⥤ Scheme.{u} := |
| 27 | Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K L))) ⋙ Over.forget _ |
| 28 | |
| 29 | theorem geometricFiberFunctor_map_fst {M N : Over (Spec (CommRingCat.of K))} (g : M ⟶ N) : |
| 30 | (geometricFiberFunctor K L).map g ≫ pullback.fst N.hom _ = |
| 31 | pullback.fst M.hom _ ≫ g.left := |
| 32 | pullback.lift_fst _ _ _ |
| 33 | |
| 34 | theorem geometricFiberFunctor_map_snd {M N : Over (Spec (CommRingCat.of K))} (g : M ⟶ N) : |
| 35 | (geometricFiberFunctor K L).map g ≫ pullback.snd N.hom _ = |
| 36 | pullback.snd M.hom _ := |
| 37 | pullback.lift_snd _ _ _ |
| 38 | |
| 39 | theorem geometricFiberIso_natural (σ : L ≃ₐ[K] L) |
| 40 | {M N : Over (Spec (CommRingCat.of K))} (g : M ⟶ N) : |
| 41 | (geometricFiberFunctor K L).map g ≫ (IntegralComparison.Frobenius.Geometry.geometricFiberIso N.hom σ).hom = |
| 42 | (IntegralComparison.Frobenius.Geometry.geometricFiberIso M.hom σ).hom ≫ (geometricFiberFunctor K L).map g := by |
| 43 | let a : IntegralComparison.Frobenius.Geometry.geometricFiber (L := L) M.hom ⟶ IntegralComparison.Frobenius.Geometry.geometricFiber (L := L) N.hom := |
| 44 | (geometricFiberFunctor K L).map g |
| 45 | have hf : a ≫ pullback.fst N.hom _ = pullback.fst M.hom _ ≫ g.left := |
| 46 | geometricFiberFunctor_map_fst K L g |
| 47 | have hs : a ≫ pullback.snd N.hom _ = pullback.snd M.hom _ := |
| 48 | geometricFiberFunctor_map_snd K L g |
| 49 | change a ≫ (IntegralComparison.Frobenius.Geometry.geometricFiberIso N.hom σ).hom = (IntegralComparison.Frobenius.Geometry.geometricFiberIso M.hom σ).hom ≫ a |
| 50 | apply pullback.hom_ext |
| 51 | · rw [Category.assoc, IntegralComparison.Frobenius.Geometry.geometricFiberIso_hom_fst, hf, |
| 52 | Category.assoc, hf, |
| 53 | ← Category.assoc (IntegralComparison.Frobenius.Geometry.geometricFiberIso M.hom σ).hom, IntegralComparison.Frobenius.Geometry.geometricFiberIso_hom_fst] |
| 54 | · rw [Category.assoc, IntegralComparison.Frobenius.Geometry.geometricFiberIso_hom_snd, |
| 55 | ← Category.assoc a, hs, Category.assoc, hs, IntegralComparison.Frobenius.Geometry.geometricFiberIso_hom_snd] |
| 56 | |
| 57 | /-- The geometric Galois isomorphism is natural for every morphism over K. -/ |
| 58 | def geometricGaloisNatIso (σ : L ≃ₐ[K] L) : |
| 59 | geometricFiberFunctor K L ≅ geometricFiberFunctor K L := |
| 60 | NatIso.ofComponents (fun M => IntegralComparison.Frobenius.Geometry.geometricFiberIso M.hom σ) |
| 61 | (fun g => geometricFiberIso_natural K L σ g) |
| 62 | |
| 63 | theorem geometricGaloisNatIso_one : |
| 64 | geometricGaloisNatIso K L (1 : L ≃ₐ[K] L) = Iso.refl _ := by |
| 65 | apply Iso.ext |
| 66 | apply NatTrans.ext |
| 67 | funext M |
| 68 | exact congrArg Iso.hom (GeometricGalois.geometricFiberIso_one M.hom) |
| 69 | |
| 70 | theorem geometricGaloisNatIso_mul (σ τ : L ≃ₐ[K] L) : |
| 71 | geometricGaloisNatIso K L (σ * τ) = |
| 72 | geometricGaloisNatIso K L σ ≪≫ geometricGaloisNatIso K L τ := by |
| 73 | apply Iso.ext |
| 74 | apply NatTrans.ext |
| 75 | funext M |
| 76 | exact congrArg Iso.hom (GeometricGalois.geometricFiberIso_mul M.hom σ τ) |
| 77 | |
| 78 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry |
| 79 | |
| 80 | variable (p : ℕ) [Fact p.Prime] [Algebra ℚ_[p] K] [FiniteDimensional ℚ_[p] K] |
| 81 | |
| 82 | theorem integralEndomorphism_galois (M : IntegralGeometry.IntegralModel p K) (g : End M) |
| 83 | (σ : AlgebraicClosure K ≃ₐ[K] AlgebraicClosure K) : |
| 84 | ((IntegralGeometry.genericFiberFunctor p K ⋙ geometricFiberFunctor K (AlgebraicClosure K)).map g) ≫ |
| 85 | (IntegralComparison.Frobenius.Geometry.geometricFiberIso ((IntegralGeometry.genericFiberFunctor p K).obj M).hom σ).hom = |
| 86 | (IntegralComparison.Frobenius.Geometry.geometricFiberIso ((IntegralGeometry.genericFiberFunctor p K).obj M).hom σ).hom ≫ |
| 87 | ((IntegralGeometry.genericFiberFunctor p K ⋙ geometricFiberFunctor K (AlgebraicClosure K)).map g) := |
| 88 | geometricFiberIso_natural K (AlgebraicClosure K) σ ((IntegralGeometry.genericFiberFunctor p K).map g) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.GeometricNaturality |