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.UnbundledDualGroupComparison |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledIsogenyCount |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledKernelTransport |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryKernelCharacters |
| 5 | |
| 6 | /-! # Unbundled Ordinary Kernel -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledOrdinaryKernel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ordinary Frobenius kernels from geometric p-rank, using a dimension |
| 13 | only on the fiber being considered. The dual needs no dimension parameter. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction.UnbundledPicard |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] {k : Type u} [Field k] [IsAlgClosed k] [CharP k p] |
| 25 | variable (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 26 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 27 | variable (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) (ell : A ⟶ D.abelian) |
| 28 | variable [IsMonHom ell] [IsFinite ell.left] [Surjective ell.left] |
| 29 | |
| 30 | include ell in |
| 31 | theorem ordinary_dualFrobenius_kernelPointCount (g : ℕ) |
| 32 | (hordinary : Nat.card (powMonoidHom p : |
| 33 | (Over.mk (𝟙 (Spec (.of k))) ⟶ A) →* _).ker = p ^ g) : |
| 34 | Nat.card {x : Over.mk (𝟙 (Spec (.of k))) ⟶ |
| 35 | (D.pullback (Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (.of k)) |
| 36 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)))).abelian // |
| 37 | x ≫ UnbundledDualFrobenius.Construction.UnbundledPicard.dualRelativeFrobenius D p Fact.out |
| 38 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) = 1} = p ^ g := by |
| 39 | rw [UnbundledDualGroupComparison.Construction.UnbundledPicard.dualRelativeFrobenius_eq_verschiebung D p] |
| 40 | exact (FrobeniusPoints.Construction.verschiebungKernelPoints_card p k D.abelian).trans |
| 41 | (UnbundledIsogenyCount.Construction.isogeny_preserves_ordinary_count_unbundled ell p Fact.out g hordinary) |
| 42 | |
| 43 | include D ell in |
| 44 | theorem ordinary_frobeniusKernel_character_count (g : ℕ) [SmoothOfRelativeDimension g A.hom] |
| 45 | (hordinary : Nat.card (powMonoidHom p : |
| 46 | (Over.mk (𝟙 (Spec (.of k))) ⟶ A) →* _).ker = p ^ g) |
| 47 | (R : CommHopfAlgCat k) [Module.Finite k R] |
| 48 | (i : ((hopfSpec (.of k)).obj (op R)).X ≅ |
| 49 | Kernel.Construction.kernelScheme (Frobenius.Construction.relativeFrobenius p Fact.out |
| 50 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A)) [IsMonHom i.hom] : |
| 51 | Nat.card (GroupLike k R) = p ^ g := by |
| 52 | let hS := Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 53 | let F : A ⟶ UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A (Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (.of k)) hS) := |
| 54 | Frobenius.Construction.relativeFrobenius p Fact.out hS A |
| 55 | have : IsMonHom F := Group.Construction.relativeFrobenius_isMonHom p Fact.out hS A |
| 56 | have : Finite (GroupLike k R) := CharacterSpan.Construction.finite_coordinateCharacters k R |
| 57 | let j := (UnbundledKernelTransport.Construction.UnbundledPicard.geometricDualKernelNativeLineEmbedding D |
| 58 | (D.pullback (Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (.of k)) hS)) F).trans |
| 59 | (FrobeniusCharacters.Construction.frobeniusPicardKernelCharacterEmbedding p k A R i) |
| 60 | have hj := Nat.card_le_card_of_injective j j.injective |
| 61 | have hc := ordinary_dualFrobenius_kernelPointCount p A D ell g hordinary |
| 62 | have hr := KernelCoordinateRank.Construction.frobeniusKernel_coordinate_finrank p Fact.out k hS A g R i |
| 63 | exact Nat.le_antisymm ((OrdinaryKernelCharacters.Construction.coordinateCharacters_card_le_finrank k R).trans_eq hr) |
| 64 | (hc.symm.trans_le hj) |
| 65 | |
| 66 | include D ell in |
| 67 | theorem ordinary_frobeniusKernel_multiplicative (g : ℕ) [SmoothOfRelativeDimension g A.hom] |
| 68 | (hordinary : Nat.card (powMonoidHom p : |
| 69 | (Over.mk (𝟙 (Spec (.of k))) ⟶ A) →* _).ker = p ^ g) : |
| 70 | Nonempty (Grp.mk (Kernel.Construction.kernelScheme (Frobenius.Construction.relativeFrobenius p Fact.out |
| 71 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A)) ≅ |
| 72 | Grp.mk (Diagonalizable.Construction.splitMultiplicativePTorsion p k g)) := by |
| 73 | let hS := Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 74 | let F := Frobenius.Construction.relativeFrobenius p Fact.out hS A |
| 75 | have hK := Kernel.Construction.kernelScheme_finiteLocallyFree F |
| 76 | (Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient p Fact.out hS A).1 |
| 77 | have : IsFinite (Kernel.Construction.kernelScheme F).hom := hK.1 |
| 78 | obtain ⟨R, hf, hc, ⟨e⟩⟩ := FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k (Grp.mk (Kernel.Construction.kernelScheme F)) |
| 79 | have : Module.Finite k R := hf |
| 80 | have : Coalgebra.IsCocomm k R := hc |
| 81 | let i : ((hopfSpec (.of k)).obj (op R)).X ≅ Kernel.Construction.kernelScheme F := |
| 82 | (Grp.forget (Over (Spec (.of k)))).mapIso e |
| 83 | have : IsMonHom i.hom := inferInstanceAs (IsMonHom e.hom.hom.hom) |
| 84 | have hcard := ordinary_frobeniusKernel_character_count p A D ell g hordinary R i |
| 85 | have hrank := KernelCoordinateRank.Construction.frobeniusKernel_coordinate_finrank p Fact.out k hS A g R i |
| 86 | exact ⟨e.symm ≪≫ ElementaryCharacters.Construction.multiplicativeGroupIsoOfCharacterCard k R p g |
| 87 | (KernelCharacterTorsion.Construction.frobeniusKernel_coordinate_character_pow p k A R e) hcard hrank⟩ |
| 88 | |
| 89 | end Construction.UnbundledPicard |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledOrdinaryKernel |