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.FormalGeometry.Completion.TorsionPointAction |
| 2 | |
| 3 | /-! # Group Scheme Characters -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.GroupSchemeCharacters |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Characters of the actual field points of a finite group scheme over |
| 10 | an algebraically closed field are continuous functions on its underlying |
| 11 | space. Their addition law holds after arbitrary scheme pullback. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u w |
| 20 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 21 | (T : Over (Spec (.of k))) [IsFinite T.hom] |
| 22 | |
| 23 | omit [IsAlgClosed k] in |
| 24 | theorem finite_space : Finite T.left := by |
| 25 | apply Set.finite_univ_iff.mp |
| 26 | exact (T.hom.finite_preimage_singleton (IsLocalRing.closedPoint k)).subset |
| 27 | (fun _ _ => Subsingleton.elim _ _) |
| 28 | |
| 29 | omit [IsAlgClosed k] in |
| 30 | theorem discrete_space : DiscreteTopology T.left := by |
| 31 | let : Finite T.left := finite_space T |
| 32 | let : JacobsonSpace T.left := LocallyOfFiniteType.jacobsonSpace T.hom |
| 33 | exact JacobsonSpace.discreteTopology (Set.toFinite (closedPoints T.left)) |
| 34 | |
| 35 | def pointEquiv : (𝟙_ (Over (Spec (.of k))) ⟶ T) ≃ T.left := |
| 36 | Equiv.ofBijective (fun f => f.left (IsLocalRing.closedPoint k)) (by |
| 37 | constructor |
| 38 | · intro f g h |
| 39 | apply Over.OverMorphism.ext |
| 40 | exact ext_of_apply_closedPoint_eq T.hom f.w g.w h |
| 41 | · intro z |
| 42 | let : DiscreteTopology T.left := discrete_space T |
| 43 | exact ⟨Over.homMk (pointOfClosedPoint T.hom z isClosed_singleton) |
| 44 | (pointOfClosedPoint_comp T.hom z isClosed_singleton), |
| 45 | pointOfClosedPoint_apply T.hom z isClosed_singleton _⟩) |
| 46 | |
| 47 | variable {M : Type w} [TopologicalSpace M] |
| 48 | |
| 49 | def continuousFunction (f : (𝟙_ (Over (Spec (.of k))) ⟶ T) → M) : C(T.left, M) := by |
| 50 | let : DiscreteTopology T.left := discrete_space T |
| 51 | exact ⟨fun z => f ((pointEquiv T).symm z), continuous_of_discreteTopology⟩ |
| 52 | |
| 53 | @[simp] theorem continuousFunction_point |
| 54 | (f : (𝟙_ (Over (Spec (.of k))) ⟶ T) → M) (s : 𝟙_ (Over (Spec (.of k))) ⟶ T) : |
| 55 | continuousFunction T f (s.left (IsLocalRing.closedPoint k)) = f s := |
| 56 | congrArg f ((pointEquiv T).symm_apply_apply s) |
| 57 | |
| 58 | variable [GrpObj T] [AddCommGroup M] |
| 59 | |
| 60 | theorem multiplication_value (χ : Additive (𝟙_ (Over (Spec (.of k))) ⟶ T) →+ M) |
| 61 | (z : (T ⊗ T).left) : |
| 62 | continuousFunction T (fun t => χ (Additive.ofMul t)) (μ[T].left z) = |
| 63 | continuousFunction T (fun t => χ (Additive.ofMul t)) ((fst T T).left z) + |
| 64 | continuousFunction T (fun t => χ (Additive.ofMul t)) ((snd T T).left z) := by |
| 65 | let : IsFinite (T ⊗ T).hom := by |
| 66 | change IsFinite (pullback.fst T.hom T.hom ≫ T.hom) |
| 67 | infer_instance |
| 68 | obtain ⟨s, hs⟩ := (pointEquiv (T ⊗ T)).surjective z |
| 69 | change s.left (IsLocalRing.closedPoint k) = z at hs |
| 70 | subst z |
| 71 | have hv (f : T ⊗ T ⟶ T) : f.left (s.left (IsLocalRing.closedPoint k)) = |
| 72 | (s ≫ f).left (IsLocalRing.closedPoint k) := rfl |
| 73 | simp only [hv, continuousFunction_point] |
| 74 | have he : s ≫ μ[T] = (s ≫ fst T T) * (s ≫ snd T T) := by |
| 75 | rw [← MonObj.comp_mul, MonObj.mul_eq_mul] |
| 76 | rw [he] |
| 77 | exact χ.map_add _ _ |
| 78 | |
| 79 | theorem pullback_mul (χ : Additive (𝟙_ (Over (Spec (.of k))) ⟶ T) →+ M) |
| 80 | {W : Over (Spec (.of k))} (f g : W ⟶ T) (z : W.left) : |
| 81 | continuousFunction T (fun t => χ (Additive.ofMul t)) ((f * g).left z) = |
| 82 | continuousFunction T (fun t => χ (Additive.ofMul t)) (f.left z) + |
| 83 | continuousFunction T (fun t => χ (Additive.ofMul t)) (g.left z) := by |
| 84 | have h := multiplication_value T χ ((lift f g).left z) |
| 85 | have hm : lift f g ≫ μ[T] = f * g := rfl |
| 86 | have ha := congrArg (fun a : W ⟶ T => a.left z) (lift_fst f g) |
| 87 | have hb := congrArg (fun a : W ⟶ T => a.left z) (lift_snd f g) |
| 88 | have hm' := congrArg (fun a : W ⟶ T => a.left z) hm |
| 89 | change μ[T].left ((lift f g).left z) = (f * g).left z at hm' |
| 90 | change (fst T T).left ((lift f g).left z) = f.left z at ha |
| 91 | change (snd T T).left ((lift f g).left z) = g.left z at hb |
| 92 | rw [hm', ha, hb] at h |
| 93 | exact h |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.GroupSchemeCharacters |