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.AlgebraicGeometry.GroupSchemes.LocalSurjectivity |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.Surjective |
| 3 | import OAI.AlgebraicGeometry.GroupSchemes.DualMaps |
| 4 | import OAI.AlgebraicGeometry.GroupSchemes.LocalObstruction |
| 5 | |
| 6 | /-! # Local Lifting -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.GroupSchemes.LocalLifting.FiniteEtaleV |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Lift surjectivity of Verschiebung through a quotient whose kernel lies in m². -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.GroupSchemes.Verschiebung.FiniteEtale OAI.AlgebraicGeometry.GroupSchemes.Surjective.FiniteEtaleV OAI.AlgebraicGeometry.GroupSchemes.LocalObstruction.FiniteEtale |
| 15 | |
| 16 | universe u |
| 17 | variable (k A B : Type u) [Field k] [CommRing A] [CommRing B] |
| 18 | [HopfAlgebra k A] [HopfAlgebra k B] [Coalgebra.IsCocomm k A] [Coalgebra.IsCocomm k B] |
| 19 | [Module.Finite k A] [Module.Finite k B] |
| 20 | variable (p : ℕ) [Fact p.Prime] [CharP k p] [PerfectRing k p] |
| 21 | |
| 22 | omit [CommRing B] [HopfAlgebra k B] [Coalgebra.IsCocomm k B] [Module.Finite k B] |
| 23 | [Fact p.Prime] [CharP k p] [PerfectRing k p] [Coalgebra.IsCocomm k A] [Module.Finite k A] in |
| 24 | /-- In a local augmented algebra, the augmentation ideal is the maximal ideal. -/ |
| 25 | theorem augmentation_eq_maximal [IsLocalRing A] : |
| 26 | LocalObstruction.FiniteEtale.augmentationIdeal k A = IsLocalRing.maximalIdeal A := by |
| 27 | apply IsLocalRing.eq_maximalIdeal |
| 28 | apply RingHom.ker_isMaximal_of_surjective (Bialgebra.counitAlgHom k A).toRingHom |
| 29 | intro c |
| 30 | exact ⟨algebraMap k A c, by simp⟩ |
| 31 | |
| 32 | /-- Surjective Verschiebung on the quotient lifts to the local algebra if the kernel lies in m². -/ |
| 33 | theorem surjective_of_quotient [IsLocalRing A] (q : A →ₐc[k] B) |
| 34 | (hq : Function.Surjective q) |
| 35 | (hker : RingHom.ker q.toAlgHom.toRingHom ≤ LocalObstruction.FiniteEtale.augmentationIdeal k A ^ 2) |
| 36 | (hVB : Function.Surjective (Verschiebung.FiniteEtale.verschiebungFun p k B)) : |
| 37 | Function.Surjective (Verschiebung.FiniteEtale.verschiebungFun p k A) := by |
| 38 | have : IsNoetherianRing A := IsNoetherianRing.of_finite k A |
| 39 | change Function.Surjective (Verschiebung.FiniteEtale.verschiebungRingHom p k A) |
| 40 | apply LocalSurjectivity.FiniteEtale.surjective_of_cotangent |
| 41 | (Verschiebung.FiniteEtale.verschiebungRingHom p k A) (GroupSchemes.Surjective.FiniteEtaleV.verschiebung_finite k A p) |
| 42 | · rw [← augmentation_eq_maximal k A] |
| 43 | apply Ideal.map_le_iff_le_comap.mpr |
| 44 | intro x hx |
| 45 | change Coalgebra.counit (R := k) x = 0 at hx |
| 46 | change Coalgebra.counit (R := k) (Verschiebung.FiniteEtale.verschiebungFun p k A x) = 0 |
| 47 | rw [GroupSchemes.Surjective.FiniteEtaleV.counit_verschiebung, hx, map_zero] |
| 48 | · rw [← augmentation_eq_maximal k A] |
| 49 | intro x hx |
| 50 | change Coalgebra.counit (R := k) x = 0 at hx |
| 51 | obtain ⟨b, hb⟩ := hVB (q x) |
| 52 | have hbaug : Coalgebra.counit (R := k) b = 0 := by |
| 53 | apply (frobeniusEquiv k p).symm.injective |
| 54 | rw [← GroupSchemes.Surjective.FiniteEtaleV.counit_verschiebung k B p, hb, CoalgHomClass.counit_comp_apply, hx, map_zero] |
| 55 | obtain ⟨a, ha⟩ := hq b |
| 56 | have haaug : a ∈ LocalObstruction.FiniteEtale.augmentationIdeal k A := by |
| 57 | change Coalgebra.counit (R := k) a = 0 |
| 58 | rw [← CoalgHomClass.counit_comp_apply q a, ha, hbaug] |
| 59 | have hrem : x - Verschiebung.FiniteEtale.verschiebungFun p k A a ∈ LocalObstruction.FiniteEtale.augmentationIdeal k A ^ 2 := by |
| 60 | apply hker |
| 61 | change q (x - Verschiebung.FiniteEtale.verschiebungFun p k A a) = 0 |
| 62 | rw [map_sub] |
| 63 | have hn := DualMaps.FiniteEtale.verschiebung_natural k p q.toCoalgHom a |
| 64 | change q (Verschiebung.FiniteEtale.verschiebungFun p k A a) = Verschiebung.FiniteEtale.verschiebungFun p k B (q a) at hn |
| 65 | rw [hn, ha, hb, sub_self] |
| 66 | exact Submodule.mem_sup.mpr ⟨Verschiebung.FiniteEtale.verschiebungFun p k A a, |
| 67 | Ideal.mem_map_of_mem _ haaug, x - Verschiebung.FiniteEtale.verschiebungFun p k A a, hrem, by abel⟩ |
| 68 | · intro x |
| 69 | refine ⟨algebraMap k A ((frobeniusEquiv k p) (Coalgebra.counit (R := k) x)), ?_⟩ |
| 70 | rw [← augmentation_eq_maximal k A] |
| 71 | change Coalgebra.counit (R := k) (x - _) = 0 |
| 72 | rw [GroupSchemes.Surjective.FiniteEtaleV.verschiebung_scalars, RingEquiv.symm_apply_apply] |
| 73 | simp |
| 74 | |
| 75 | omit [CommRing B] [HopfAlgebra k B] [Coalgebra.IsCocomm k B] [Module.Finite k B] in |
| 76 | /-- Multiplication by p has zero linear term at the identity in characteristic p. -/ |
| 77 | theorem multiplicationKernel_le_square : |
| 78 | LocalObstruction.FiniteEtale.multiplicationKernelIdeal k p A ≤ LocalObstruction.FiniteEtale.augmentationIdeal k A ^ 2 := by |
| 79 | apply Ideal.span_le.mpr |
| 80 | rintro _ ⟨x, hx, rfl⟩ |
| 81 | change ((WithConv.toConv (LinearMap.id : A →ₗ[k] A)) ^ p) x ∈ LocalObstruction.FiniteEtale.augmentationIdeal k A ^ 2 |
| 82 | have hV : Verschiebung.FiniteEtale.verschiebungFun p k A x ∈ LocalObstruction.FiniteEtale.augmentationIdeal k A := by |
| 83 | change Coalgebra.counit (R := k) x = 0 at hx |
| 84 | change Coalgebra.counit (R := k) (Verschiebung.FiniteEtale.verschiebungFun p k A x) = 0 |
| 85 | rw [GroupSchemes.Surjective.FiniteEtaleV.counit_verschiebung, hx, map_zero] |
| 86 | have hmem := (Ideal.pow_le_pow_right (Fact.out : p.Prime).two_le) (Ideal.pow_mem_pow hV p) |
| 87 | exact (congrArg (fun z => z ∈ LocalObstruction.FiniteEtale.augmentationIdeal k A ^ 2) |
| 88 | (Verschiebung.FiniteEtale.frobenius_verschiebung p k A x)).mp hmem |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.GroupSchemes.LocalLifting.FiniteEtaleV |