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.AbelianScheme.FrobeniusKernel.EtaleDualHeightOne |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Scalar |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced |
| 4 | |
| 5 | /-! # Etale Dual -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The constructed Cartier group of an etale p-torsion group has trivial |
| 13 | relative Frobenius. The assertion concerns its actual character group |
| 14 | law, not an assumed comparison with a coordinate Hopf group law. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | section Coordinates |
| 23 | |
| 24 | variable (k A : Type u) [Field k] [CommRing A] [HopfAlgebra k A] |
| 25 | variable [Coalgebra.IsCocomm k A] |
| 26 | |
| 27 | theorem EtaleDual.Construction.convolution_power_of_scheme_power (n : ℕ) |
| 28 | (h : (𝟙 ((Spec (.of A)).asOver (Spec (.of k))) : |
| 29 | (Spec (.of A)).asOver (Spec (.of k)) ⟶ (Spec (.of A)).asOver (Spec (.of k))) ^ n = 1) |
| 30 | (a : A) : ((toConv (LinearMap.id : A →ₗ[k] A)) ^ n) a = |
| 31 | algebraMap k A (Coalgebra.counit (R := k) a) := by |
| 32 | let e := Spec.mapMulEquiv (R := k) (S := A) (T := A) |
| 33 | have he : e (toConv (AlgHom.id k A)) = 𝟙 ((Spec (.of A)).asOver (Spec (.of k))) := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | exact Spec.map_id _ |
| 36 | have hp : (toConv (AlgHom.id k A) : WithConv (A →ₐ[k] A)) ^ n = 1 := by |
| 37 | apply e.injective |
| 38 | exact (map_pow e _ n).trans |
| 39 | ((congrArg (fun f => f ^ n) he).trans (h.trans e.map_one.symm)) |
| 40 | exact (congrArg (fun f : WithConv (A →ₗ[k] A) => f a) |
| 41 | (AlgHom.toLinearMap_convPow (toConv (AlgHom.id k A)) n)).symm.trans |
| 42 | (congrArg (fun f : WithConv (A →ₐ[k] A) => f.ofConv a) hp) |
| 43 | |
| 44 | end Coordinates |
| 45 | |
| 46 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 47 | variable {G : Grp (Over (Spec (.of k)))} (P : CartierModel.Construction.CartierCoordinates (.of k) G) |
| 48 | |
| 49 | /-- Reduced p-torsion dualizes to a height-one group scheme on every |
| 50 | test scheme, using the actual represented character multiplication. -/ |
| 51 | theorem CartierModel.Construction.CartierCoordinates.dual_frobenius_of_reduced_torsion |
| 52 | [AlgebraicGeometry.IsReduced G.X.left] (hG : (𝟙 G.X) ^ p = 1) : |
| 53 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 54 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) P.dualGroup.X = 1 := by |
| 55 | have : Coalgebra.IsCocomm k P.algebra := P.cocommutative |
| 56 | have : Module.Finite k P.algebra := P.finite |
| 57 | let f : Spec (.of P.algebra) ⟶ G.X.left := P.comparison.hom.hom.hom.left |
| 58 | have : IsIso f := inferInstanceAs |
| 59 | (IsIso (((Grp.forget (Over (Spec (.of k)))) ⋙ Over.forget _).map P.comparison.hom)) |
| 60 | have : AlgebraicGeometry.IsReduced (Spec (.of P.algebra)) := |
| 61 | isReduced_of_isOpenImmersion f |
| 62 | have : _root_.IsReduced P.algebra := (affine_isReduced_iff (.of P.algebra)).mp inferInstance |
| 63 | have hP := FiniteTorsion.Construction.group_power_of_iso P.comparison.symm p hG |
| 64 | have hd := EtaleDualHeightOne.Construction.dual_heightOne_of_reduced_torsion p k P.algebra |
| 65 | (EtaleDual.Construction.convolution_power_of_scheme_power k P.algebra p hP) |
| 66 | have : IsCommMonObj P.dualGroup.X := P.dualGroup_commutative |
| 67 | have : IsFinite P.dualGroup.X.hom := P.dualGroup_finite |
| 68 | have : Flat P.dualGroup.X.hom := P.dualGroup_flat |
| 69 | have : LocallyOfFinitePresentation P.dualGroup.X.hom := P.dualGroup_finitelyPresented |
| 70 | apply Scalar.Construction.finiteGroup_frobenius_of_scalar_powers p k P.dualGroup |
| 71 | (CartierDuality.DualAlgebra.Construction.DualCoordinate k P.algebra) (Iso.refl _) |
| 72 | intro b |
| 73 | exact ⟨(Coalgebra.counit (R := k) b) ^ p, hd b⟩ |
| 74 | |
| 75 | /-- In particular this applies to each ordinary etale torsion factor. -/ |
| 76 | theorem CartierModel.Construction.CartierCoordinates.dual_frobenius_of_etale_torsion |
| 77 | [Etale G.X.hom] (hG : (𝟙 G.X) ^ p = 1) : |
| 78 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 79 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) P.dualGroup.X = 1 := by |
| 80 | have : AlgebraicGeometry.IsReduced G.X.left := ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction.isReduced_smooth_over_field G.X.hom |
| 81 | exact P.dual_frobenius_of_reduced_torsion p k hG |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |