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.GroupLawCohomology |
| 2 | import Mathlib.Algebra.Algebra.Opposite |
| 3 | |
| 4 | /-! # Primitive Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PrimitiveAction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: endomorphisms act additively on primitive geometric H¹ |
| 12 | |
| 13 | This action is on the kernel of the group-law defect in the genuine H¹. |
| 14 | The assertion that this kernel is all H¹ is a separate geometric obligation. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | variable (ℓ : ℕ) [Fact ℓ.Prime] (k : Type u) [Field k] |
| 26 | {A B : Over (Spec (CommRingCat.of k))} [GrpObj A] [GrpObj B] |
| 27 | |
| 28 | /-- Actual group-scheme pullbacks preserve primitive classes. -/ |
| 29 | def primitiveGeometricH1Pullback (f : A ⟶ B) [IsMonHom f] : |
| 30 | GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k B →ₗ[AlgebraicClosure ℚ_[ℓ]] GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A where |
| 31 | toFun x := ⟨Endomorphism.Action.Construction.geometricH1Pullback ℓ k f x.val, by |
| 32 | change GroupLawCohomology.Construction.geometricH1GroupLawDefect ℓ k A (Endomorphism.Action.Construction.geometricH1Pullback ℓ k f x.val) = 0 |
| 33 | have h := congrArg (fun F => F x.val) (GroupLawCohomology.Construction.geometricH1GroupLawDefect_naturality ℓ k f) |
| 34 | change _ = Endomorphism.Action.Construction.geometricH1Pullback ℓ k (f ⊗ₘ f) (GroupLawCohomology.Construction.geometricH1GroupLawDefect ℓ k B x.val) at h |
| 35 | exact h.trans (by rw [show GroupLawCohomology.Construction.geometricH1GroupLawDefect ℓ k B x.val = 0 from x.property, |
| 36 | map_zero])⟩ |
| 37 | map_add' x y := Subtype.ext (map_add (Endomorphism.Action.Construction.geometricH1Pullback ℓ k f) x.val y.val) |
| 38 | map_smul' r x := Subtype.ext (map_smul (Endomorphism.Action.Construction.geometricH1Pullback ℓ k f) r x.val) |
| 39 | |
| 40 | variable (A) [IsCommMonObj A] |
| 41 | |
| 42 | local instance primitiveEndRing : |
| 43 | Ring (Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A)) := |
| 44 | Module.End.instRing (R := AlgebraicClosure ℚ_[ℓ]) (N₁ := GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) |
| 45 | |
| 46 | /-- The opposite endomorphism monoid acts on primitive classes by restriction. -/ |
| 47 | def algebraicEndOppPrimitiveH1MonoidHom : |
| 48 | (Endomorphisms.Construction.AlgebraicEnd A)ᵐᵒᵖ →* |
| 49 | Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) where |
| 50 | toFun f := primitiveGeometricH1Pullback ℓ k f.unop.toMul.hom.hom |
| 51 | map_one' := by |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | apply Subtype.ext |
| 55 | exact congrArg (fun F => F x.val) (Endomorphism.Action.Construction.geometricH1Pullback_id ℓ k A) |
| 56 | map_mul' f g := by |
| 57 | apply LinearMap.ext |
| 58 | intro x |
| 59 | apply Subtype.ext |
| 60 | exact congrArg (fun F => F x.val) ((Endomorphism.Action.Construction.algebraicEndOppH1MonoidHom ℓ k A).map_mul f g) |
| 61 | |
| 62 | /-- Addition is proved from the group-law formula, not supplied as action data. -/ |
| 63 | def algebraicEndOppPrimitiveH1RingHom : |
| 64 | (Endomorphisms.Construction.AlgebraicEnd A)ᵐᵒᵖ →+* |
| 65 | Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) := |
| 66 | RingHom.mk' (α := (Endomorphisms.Construction.AlgebraicEnd A)ᵐᵒᵖ) |
| 67 | (β := Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A)) |
| 68 | (algebraicEndOppPrimitiveH1MonoidHom ℓ k A) (fun f g => by |
| 69 | exact LinearMap.ext (fun x : GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A => |
| 70 | Subtype.ext (GroupLawCohomology.Construction.geometricH1Pullback_add_on_primitive ℓ k A f.unop g.unop x))) |
| 71 | |
| 72 | def algebraicEndOppPrimitiveH1IntAlgHom : |
| 73 | (Endomorphisms.Construction.AlgebraicEnd A)ᵐᵒᵖ →ₐ[ℤ] |
| 74 | Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) where |
| 75 | __ := algebraicEndOppPrimitiveH1RingHom ℓ k A |
| 76 | commutes' r := by |
| 77 | simpa only [algebraMap_int_eq] using! map_intCast (algebraicEndOppPrimitiveH1RingHom ℓ k A) r |
| 78 | |
| 79 | /-- Rationalization of the genuine opposite endomorphism action on primitive classes. -/ |
| 80 | def rationalAlgebraicEndOppPrimitiveH1Action : |
| 81 | (Endomorphisms.Construction.RationalAlgebraicEnd A)ᵐᵒᵖ →ₐ[ℚ] |
| 82 | Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) := |
| 83 | AlgHom.opComm ((AlgHom.liftEquiv ℤ ℚ (Endomorphisms.Construction.AlgebraicEnd A) |
| 84 | (Module.End (AlgebraicClosure ℚ_[ℓ]) (GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A))ᵐᵒᵖ) |
| 85 | (AlgHom.opComm.symm (algebraicEndOppPrimitiveH1IntAlgHom ℓ k A))) |
| 86 | |
| 87 | theorem rationalAlgebraicEndOppPrimitiveH1Action_tmul (r : ℚ) (f : Endomorphisms.Construction.AlgebraicEnd A) : |
| 88 | rationalAlgebraicEndOppPrimitiveH1Action ℓ k A (MulOpposite.op (r ⊗ₜ[ℤ] f)) = |
| 89 | r • algebraicEndOppPrimitiveH1RingHom ℓ k A (MulOpposite.op f) := rfl |
| 90 | |
| 91 | variable [Fintype k] |
| 92 | |
| 93 | /-- This rational action retains the existing geometric Frobenius on primitive classes. -/ |
| 94 | theorem rationalAlgebraicEndOppPrimitiveH1Action_frobenius |
| 95 | (x : GroupLawCohomology.Construction.PrimitiveGeometricH1 ℓ k A) : |
| 96 | (rationalAlgebraicEndOppPrimitiveH1Action ℓ k A |
| 97 | (MulOpposite.op (Endomorphisms.Construction.rationalAlgebraicFrobenius k A)) x).val = |
| 98 | CohomologyPullback.Construction.geometricH1Frobenius ℓ k A x.val := by |
| 99 | rw [Endomorphisms.Construction.rationalAlgebraicFrobenius, rationalAlgebraicEndOppPrimitiveH1Action_tmul, one_smul] |
| 100 | rfl |
| 101 | |
| 102 | /-- Centrality of rational Frobenius is retained by the primitive rational action. -/ |
| 103 | theorem rationalAlgebraicEndOppPrimitiveH1Action_frobenius_commutes |
| 104 | (x : (Endomorphisms.Construction.RationalAlgebraicEnd A)ᵐᵒᵖ) : |
| 105 | Commute (rationalAlgebraicEndOppPrimitiveH1Action ℓ k A |
| 106 | (MulOpposite.op (Endomorphisms.Construction.rationalAlgebraicFrobenius k A))) |
| 107 | (rationalAlgebraicEndOppPrimitiveH1Action ℓ k A x) := |
| 108 | ((Endomorphisms.Construction.rationalAlgebraicFrobenius_commutes k A x.unop).op).map |
| 109 | (rationalAlgebraicEndOppPrimitiveH1Action ℓ k A) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PrimitiveAction.Construction |