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.Picard.Homomorphisms.Verschiebung |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricIsogeny |
| 3 | |
| 4 | /-! # Frobenius Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Frobenius is bijective on geometric points, and its Verschiebung |
| 11 | kernel has exactly the geometric p-torsion point group. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (p : ℕ) (hp : p.Prime) {S : Scheme.{u}} (hS : (p : Γ(S, ⊤)) = 0) |
| 23 | variable (A : Over S) [GrpObj A] [LocallyOfFiniteType A.hom] |
| 24 | variable {K : Type u} [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) |
| 25 | |
| 26 | theorem relativeFrobenius_points_bijective : |
| 27 | Function.Bijective (IsMonHom.monoidHom (Frobenius.Construction.relativeFrobenius p hp hS A) (Over.mk s)) := by |
| 28 | let F := Frobenius.Construction.relativeFrobenius p hp hS A |
| 29 | constructor |
| 30 | · intro x y h |
| 31 | apply Over.OverMorphism.ext |
| 32 | have ht : UniversallyInjective F.left ↔ ∀ (L : Type u) [Field L], |
| 33 | Function.Injective (fun x : Spec (.of L) ⟶ A.left => x ≫ F.left) := |
| 34 | (tfae_universallyInjective F.left).out 1 2 |
| 35 | have hi := ht.mp (inferInstance : UniversallyInjective F.left) |
| 36 | exact hi K (congrArg Over.Hom.left h) |
| 37 | · intro y |
| 38 | obtain ⟨x, hx⟩ := AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.exists_geometric_lift F.left y.left |
| 39 | let z := (AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.overGeometricFiberEquiv F s y).symm ⟨x, hx⟩ |
| 40 | exact ⟨z.val, z.property⟩ |
| 41 | |
| 42 | def relativeFrobeniusPointsEquiv : |
| 43 | (Over.mk s ⟶ A) ≃* (Over.mk s ⟶ Frobenius.Construction.frobeniusTwist p hp hS A) := |
| 44 | MulEquiv.ofBijective (IsMonHom.monoidHom (Frobenius.Construction.relativeFrobenius p hp hS A) (Over.mk s)) |
| 45 | (relativeFrobenius_points_bijective p hp hS A s) |
| 46 | |
| 47 | @[simp] |
| 48 | theorem relativeFrobeniusPointsEquiv_apply (x : Over.mk s ⟶ A) : |
| 49 | relativeFrobeniusPointsEquiv p hp hS A s x = x ≫ Frobenius.Construction.relativeFrobenius p hp hS A := rfl |
| 50 | |
| 51 | section Kernels |
| 52 | |
| 53 | variable {G H : Type u} [CommGroup G] [Group H] |
| 54 | |
| 55 | def powerFactorKernelEquiv (e : G ≃* H) (v : H →* G) (n : ℕ) |
| 56 | (hv : ∀ x : G, v (e x) = x ^ n) : v.ker ≃* (powMonoidHom n : G →* G).ker where |
| 57 | toFun y := ⟨e.symm y.val, by |
| 58 | change (e.symm y.val) ^ n = 1 |
| 59 | rw [← hv, e.apply_symm_apply] |
| 60 | exact y.property⟩ |
| 61 | invFun x := ⟨e x.val, (hv x.val).trans x.property⟩ |
| 62 | left_inv y := Subtype.ext (e.apply_symm_apply y.val) |
| 63 | right_inv x := Subtype.ext (e.symm_apply_apply x.val) |
| 64 | map_mul' x y := Subtype.ext (e.symm.map_mul x.val y.val) |
| 65 | |
| 66 | end Kernels |
| 67 | |
| 68 | variable (k : Type u) [Field k] [IsAlgClosed k] [CharP k p] [Fact p.Prime] |
| 69 | variable (B : Over (Spec (.of k))) [GrpObj B] [IsCommMonObj B] [Smooth B.hom] |
| 70 | |
| 71 | def verschiebungKernelPointsEquivTorsion : |
| 72 | Quotient.Construction.kernelPoints (Verschiebung.Construction.verschiebung p k B) (Over.mk (𝟙 (Spec (.of k)))) ≃* |
| 73 | (powMonoidHom p : (Over.mk (𝟙 (Spec (.of k))) ⟶ B) →* _).ker := by |
| 74 | let h := Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 75 | let e := relativeFrobeniusPointsEquiv p Fact.out h B (𝟙 _) |
| 76 | apply powerFactorKernelEquiv e (IsMonHom.monoidHom (Verschiebung.Construction.verschiebung p k B) _) p |
| 77 | intro x |
| 78 | change (x ≫ Frobenius.Construction.relativeFrobenius p Fact.out h B) ≫ Verschiebung.Construction.verschiebung p k B = x ^ p |
| 79 | rw [Category.assoc, Verschiebung.Construction.frobenius_comp_verschiebung, MonObj.comp_pow, Category.comp_id] |
| 80 | |
| 81 | theorem verschiebungKernelPoints_card : |
| 82 | Nat.card (Quotient.Construction.kernelPoints (Verschiebung.Construction.verschiebung p k B) (Over.mk (𝟙 (Spec (.of k))))) = |
| 83 | Nat.card ((powMonoidHom p : (Over.mk (𝟙 (Spec (.of k))) ⟶ B) →* _).ker) := |
| 84 | Nat.card_congr (verschiebungKernelPointsEquivTorsion p k B).toEquiv |
| 85 | |
| 86 | end Construction |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusPoints |