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.ArithmeticGeometry.OrdinaryLocus.Openness.InfinitesimalPowerEq |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.UniversalFirstOrder |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffinePointCard |
| 4 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.Multiplication |
| 5 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LocalizationDifferential |
| 6 | |
| 7 | /-! # Multiplication Differential -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationDifferential.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Vanishing of the differential of multiplication by p on actual affine charts. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- Pulling back a coordinate function along multiplication by p has zero |
| 21 | differential in every field-valued point of a source chart in characteristic p. -/ |
| 22 | theorem differential_multiplication_chart |
| 23 | {k L : Type u} [Field k] [Field L] [Algebra k L] |
| 24 | (p : ℕ) [CharP L p] |
| 25 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 26 | (R B : Type u) [CommRing R] [CommRing B] [Algebra k R] [Algebra k B] |
| 27 | [Algebra B L] [IsScalarTower k B L] |
| 28 | (i : Spec (.of R) ⟶ A.left) (j : Spec (.of B) ⟶ A.left) [Mono i] |
| 29 | (hj : j ≫ A.hom = Spec.map (CommRingCat.ofHom (algebraMap k B))) |
| 30 | (φ : R →ₐ[k] B) |
| 31 | (hφ : Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ i = |
| 32 | j ≫ (Multiplication.Construction.multiplicationMap A p).left) (r : R) : |
| 33 | KaehlerDifferential.D k L (algebraMap B L (φ r)) = 0 := by |
| 34 | let M := KaehlerDifferential k L |
| 35 | let : Module Lᵐᵒᵖ M := Module.compHom _ ((RingHom.id L).fromOpposite mul_comm) |
| 36 | have : IsCentralScalar L M := ⟨fun _ _ => rfl⟩ |
| 37 | let C := TrivSqZeroExt L M |
| 38 | have : IsLocalRing C := UniversalFirstOrder.Construction.isLocalRing_trivSqZeroExt L M |
| 39 | have : CharP C p := UniversalFirstOrder.Construction.charP_trivSqZeroExt L M p |
| 40 | let J := TrivSqZeroExt.kerIdeal L M |
| 41 | have hJ : J ^ 2 = ⊥ := TrivSqZeroExt.kerIdeal_sq L M |
| 42 | let d₁ := UniversalFirstOrder.Construction.derivationFirstOrderHom k L M (KaehlerDifferential.D k L) |
| 43 | let d₀ := TrivSqZeroExt.inlAlgHom k L M |
| 44 | let b₁ : B →ₐ[k] C := d₁.comp (IsScalarTower.toAlgHom k B L) |
| 45 | let b₀ : B →ₐ[k] C := d₀.comp (IsScalarTower.toAlgHom k B L) |
| 46 | let s : Spec (.of C) ⟶ Spec (.of k) := |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap k C)) |
| 48 | let a₁ : Over.mk s ⟶ A := |
| 49 | (AffinePointCard.Construction.specPointsEquivAlgHom k B C).symm b₁ ≫ Over.homMk j hj |
| 50 | let a₀ : Over.mk s ⟶ A := |
| 51 | (AffinePointCard.Construction.specPointsEquivAlgHom k B C).symm b₀ ≫ Over.homMk j hj |
| 52 | have he : CommRingCat.ofHom b₁.toRingHom ≫ |
| 53 | CommRingCat.ofHom (Ideal.Quotient.mk J) = |
| 54 | CommRingCat.ofHom b₀.toRingHom ≫ CommRingCat.ofHom (Ideal.Quotient.mk J) := by |
| 55 | ext b |
| 56 | apply Ideal.Quotient.eq.mpr |
| 57 | change (b₁ b - b₀ b) ∈ RingHom.ker (TrivSqZeroExt.fstHom L L M) |
| 58 | change (b₁ b - b₀ b).fst = 0 |
| 59 | change algebraMap B L b - algebraMap B L b = 0 |
| 60 | exact sub_self _ |
| 61 | have hred : InfinitesimalPowerEq.Construction.InfinitesimalPower.reduction s J A a₁ = |
| 62 | InfinitesimalPowerEq.Construction.InfinitesimalPower.reduction s J A a₀ := by |
| 63 | apply Over.OverMorphism.ext |
| 64 | change Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ |
| 65 | (Spec.map (CommRingCat.ofHom b₁.toRingHom) ≫ j) = |
| 66 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ |
| 67 | (Spec.map (CommRingCat.ofHom b₀.toRingHom) ≫ j) |
| 68 | rw [← Spec.map_comp_assoc, ← Spec.map_comp_assoc, he] |
| 69 | have hp := InfinitesimalPowerEq.Construction.InfinitesimalPower.pow_eq_of_reduction_eq s J hJ A p a₁ a₀ hred |
| 70 | have hp' : a₁ ≫ Multiplication.Construction.multiplicationMap A p = a₀ ≫ Multiplication.Construction.multiplicationMap A p := by |
| 71 | simpa only [Multiplication.Construction.multiplicationMap, MonObj.comp_pow, Category.comp_id] using hp |
| 72 | have hs := congrArg Over.Hom.left hp' |
| 73 | change (Spec.map (CommRingCat.ofHom b₁.toRingHom) ≫ j) ≫ |
| 74 | (Multiplication.Construction.multiplicationMap A p).left = |
| 75 | (Spec.map (CommRingCat.ofHom b₀.toRingHom) ≫ j) ≫ |
| 76 | (Multiplication.Construction.multiplicationMap A p).left at hs |
| 77 | rw [Category.assoc, Category.assoc, ← hφ, ← Category.assoc, ← Category.assoc] at hs |
| 78 | have hs' := (cancel_mono i).mp hs |
| 79 | rw [← Spec.map_comp, ← Spec.map_comp, Spec.map_inj] at hs' |
| 80 | have hr := congrArg (fun f => (f.hom r).snd) hs' |
| 81 | exact hr |
| 82 | |
| 83 | /-- The map of fraction fields induced by multiplication by p has zero |
| 84 | differential. The chart compatibility is an equality of actual scheme maps. -/ |
| 85 | theorem map_kaehler_multiplication_fractionField_eq_zero |
| 86 | {k K L : Type u} [Field k] [Field K] [Field L] |
| 87 | (p : ℕ) [CharP L p] |
| 88 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 89 | (R B : Type u) [CommRing R] [CommRing B] |
| 90 | [Algebra k R] [Algebra k B] [Algebra R B] [IsScalarTower k R B] |
| 91 | [Algebra R K] [IsFractionRing R K] [Algebra k K] [IsScalarTower k R K] |
| 92 | [Algebra B L] [Algebra R L] [IsScalarTower R B L] |
| 93 | [Algebra K L] [IsScalarTower R K L] |
| 94 | [Algebra k L] [IsScalarTower k B L] [IsScalarTower k R L] [IsScalarTower k K L] |
| 95 | (i : Spec (.of R) ⟶ A.left) (j : Spec (.of B) ⟶ A.left) [Mono i] |
| 96 | (hj : j ≫ A.hom = Spec.map (CommRingCat.ofHom (algebraMap k B))) |
| 97 | (hφ : Spec.map (CommRingCat.ofHom (algebraMap R B)) ≫ i = |
| 98 | j ≫ (Multiplication.Construction.multiplicationMap A p).left) : |
| 99 | KaehlerDifferential.map k k K L = 0 := by |
| 100 | apply LocalizationDifferential.Construction.map_kaehler_fractionField_eq_zero k R K L |
| 101 | intro r |
| 102 | rw [IsScalarTower.algebraMap_apply R B L] |
| 103 | exact differential_multiplication_chart p A R B i j hj |
| 104 | (IsScalarTower.toAlgHom k R B) hφ r |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationDifferential.Construction |