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.AbelianModuli.ReferenceFamily.LieRanks |
| 2 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 3 | import Mathlib.RingTheory.HopfAlgebra.MonoidAlgebra |
| 4 | |
| 5 | /-! # Ordinary Character Diagonalizable Tangents -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Hecke.OrdinaryCharacterDiagonalizableTangents.OrdinaryIntrinsic.DiagonalizableTangents |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Nonzero tangent points of split multiplicative blocks are actual |
| 12 | maps from the dual numbers into the group Hopf algebra's spectrum. |
| 13 | Their addition and scalar operations are checked on those maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {k M : Type} [Field k] [CommGroup M] |
| 19 | |
| 20 | abbrev groupScheme : Over (Spec (.of k)) := |
| 21 | (Spec (.of (MonoidAlgebra k M))).asOver (Spec (.of k)) |
| 22 | |
| 23 | def character (χ : Additive M →+ k) : M →* DualNumber k where |
| 24 | toFun m := ⟨1, χ (Additive.ofMul m)⟩ |
| 25 | map_one' := by ext <;> simp |
| 26 | map_mul' a b := by |
| 27 | apply TrivSqZeroExt.ext |
| 28 | · change 1 = 1 * 1 |
| 29 | simp |
| 30 | · change χ (Additive.ofMul a + Additive.ofMul b) = |
| 31 | 1 * χ (Additive.ofMul b) + χ (Additive.ofMul a) * 1 |
| 32 | simp [map_add, add_comm] |
| 33 | |
| 34 | def pointEquiv : (M →* DualNumber k) ≃* |
| 35 | (OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k ⟶ groupScheme (k := k) (M := M)) := |
| 36 | (MonoidAlgebra.liftMulEquiv (R := k) (M := M) (A := DualNumber k)).trans Spec.mapMulEquiv |
| 37 | |
| 38 | def point (χ : Additive M →+ k) : OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k ⟶ groupScheme (M := M) := |
| 39 | pointEquiv (character χ) |
| 40 | |
| 41 | theorem point_left (χ : Additive M →+ k) : |
| 42 | (point χ).left = Spec.map (CommRingCat.ofHom |
| 43 | (MonoidAlgebra.lift k (DualNumber k) M (character χ)).toRingHom) := rfl |
| 44 | |
| 45 | theorem character_zero : character (0 : Additive M →+ k) = 1 := by |
| 46 | ext m <;> rfl |
| 47 | |
| 48 | theorem character_add (χ ψ : Additive M →+ k) : |
| 49 | character (χ + ψ) = character χ * character ψ := by |
| 50 | apply MonoidHom.ext |
| 51 | intro m |
| 52 | apply TrivSqZeroExt.ext |
| 53 | · change 1 = 1 * 1 |
| 54 | simp |
| 55 | · change χ (Additive.ofMul m) + ψ (Additive.ofMul m) = |
| 56 | 1 * ψ (Additive.ofMul m) + χ (Additive.ofMul m) * 1 |
| 57 | simp [add_comm] |
| 58 | |
| 59 | theorem point_zero : point (0 : Additive M →+ k) = 1 := by |
| 60 | rw [point, character_zero, map_one] |
| 61 | |
| 62 | theorem point_add (χ ψ : Additive M →+ k) : point (χ + ψ) = point χ * point ψ := by |
| 63 | rw [point, character_add, map_mul] |
| 64 | rfl |
| 65 | |
| 66 | def pointHom : (Additive M →+ k) →+ |
| 67 | Additive (OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k ⟶ groupScheme (M := M)) where |
| 68 | toFun χ := Additive.ofMul (point χ) |
| 69 | map_zero' := congrArg Additive.ofMul point_zero |
| 70 | map_add' χ ψ := congrArg Additive.ofMul (point_add χ ψ) |
| 71 | |
| 72 | theorem point_injective : Function.Injective (point (k := k) (M := M)) := by |
| 73 | intro χ ψ h |
| 74 | have hc := pointEquiv.injective h |
| 75 | apply AddMonoidHom.ext |
| 76 | intro m |
| 77 | exact congrArg (fun f : M →* DualNumber k => (f m.toMul).snd) hc |
| 78 | |
| 79 | theorem point_ne_one {χ : Additive M →+ k} (hχ : χ ≠ 0) : point χ ≠ 1 := by |
| 80 | intro h |
| 81 | exact hχ (point_injective (h.trans point_zero.symm)) |
| 82 | |
| 83 | theorem point_reduction (χ : Additive M →+ k) : |
| 84 | OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k ≫ point χ = 1 := by |
| 85 | apply Over.OverMorphism.ext |
| 86 | change Spec.map (CommRingCat.ofHom (OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) ≫ |
| 87 | Spec.map (CommRingCat.ofHom |
| 88 | (MonoidAlgebra.lift k (DualNumber k) M (character χ)).toRingHom) = _ |
| 89 | rw [← Spec.map_comp] |
| 90 | have h : (TrivSqZeroExt.fstHom k k k).comp |
| 91 | (MonoidAlgebra.lift k (DualNumber k) M (character χ)) = |
| 92 | Bialgebra.counitAlgHom k (MonoidAlgebra k M) := by |
| 93 | apply MonoidAlgebra.algHom_ext |
| 94 | · intro m |
| 95 | simp [character] |
| 96 | rfl |
| 97 | · exact Subsingleton.elim _ _ |
| 98 | have h' := congrArg (fun f : MonoidAlgebra k M →ₐ[k] k => |
| 99 | Spec.map (CommRingCat.ofHom f.toRingHom)) h |
| 100 | exact h'.trans (by |
| 101 | rw [Hom.one_def, Over.comp_left, one_spec_asOver_spec_left] |
| 102 | exact (Category.id_comp _).symm) |
| 103 | |
| 104 | theorem point_scalar (χ : Additive M →+ k) (c : k) : |
| 105 | OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar k c ≫ point χ = point (c • χ) := by |
| 106 | apply Over.OverMorphism.ext |
| 107 | change Spec.map (CommRingCat.ofHom (OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).toRingHom) ≫ |
| 108 | Spec.map (CommRingCat.ofHom |
| 109 | (MonoidAlgebra.lift k (DualNumber k) M (character χ)).toRingHom) = _ |
| 110 | rw [← Spec.map_comp] |
| 111 | have h : (OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).comp |
| 112 | (MonoidAlgebra.lift k (DualNumber k) M (character χ)) = |
| 113 | MonoidAlgebra.lift k (DualNumber k) M (character (c • χ)) := by |
| 114 | apply MonoidAlgebra.algHom_ext |
| 115 | · intro m |
| 116 | ext <;> simp [character, OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale] <;> rfl |
| 117 | · exact Subsingleton.elim _ _ |
| 118 | exact congrArg (fun f : MonoidAlgebra k M →ₐ[k] DualNumber k => |
| 119 | Spec.map (CommRingCat.ofHom f.toRingHom)) h |
| 120 | |
| 121 | theorem point_nat_scalar (χ : Additive M →+ k) (n : ℕ) : |
| 122 | OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar k (n : k) ≫ point χ = point χ ^ n := by |
| 123 | rw [point_scalar, Nat.cast_smul_eq_nsmul] |
| 124 | exact congrArg Additive.toMul ((pointHom (k := k) (M := M)).map_nsmul n χ) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.RepresentationTheory.Hecke.OrdinaryCharacterDiagonalizableTangents.OrdinaryIntrinsic.DiagonalizableTangents |