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.NumberTheory.PadicHodge.IntegralComparison.MultiplicationOverlapCocycles |
| 2 | |
| 3 | /-! # Multiplication Cocycle Evaluation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCocycleEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The cocycle attached to a torsion character evaluates to that |
| 10 | character along the corresponding deck translation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationOverlapCocycles |
| 19 | |
| 20 | universe u |
| 21 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 22 | {k : Type u} [Field k] [IsAlgClosed k] |
| 23 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 24 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 25 | (hℓ : (ℓ : k) ≠ 0) |
| 26 | |
| 27 | local notation "N" => ℓ ^ n |
| 28 | local notation "T" => OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A N |
| 29 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.cover ℓ n A hℓ |
| 30 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.overlap ℓ n A hℓ |
| 31 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.first ℓ n A hℓ |
| 32 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.second ℓ n A hℓ |
| 33 | local notation "m" => ((𝟙 A : A ⟶ A) ^ N) |
| 34 | |
| 35 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 36 | theorem pair_difference (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 37 | MultiplicationOverlapCocycles.siteMap A (TorsionPointCharacter.pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t) ≫ |
| 38 | MultiplicationOverlapCocycles.difference ℓ n A hℓ a b = |
| 39 | toUnit (MultiplicationOverlapCocycles.siteOver A U) ≫ TorsionPointCharacter.torsionPoint ℓ n A t := by |
| 40 | let p := TorsionPointCharacter.pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t |
| 41 | let j := MultiplicationOverlapCocycles.toA ℓ n A hℓ (𝟙 U) |
| 42 | have hp₀ : MultiplicationOverlapCocycles.toA ℓ n A hℓ (p ≫ a) = j := by |
| 43 | apply Over.OverMorphism.ext |
| 44 | exact TorsionPointCharacter.pair_fst ℓ n A hℓ _ _ t |
| 45 | have hp₁ : MultiplicationOverlapCocycles.toA ℓ n A hℓ (p ≫ b) = j ≫ TorsionPointCharacter.translation ℓ n A t := by |
| 46 | apply Over.OverMorphism.ext |
| 47 | change p.left ≫ (b).left = 𝟙 A.left ≫ _ |
| 48 | rw [Category.id_comp] |
| 49 | exact TorsionPointCharacter.pair_snd ℓ n A hℓ _ _ t |
| 50 | have htrans : j ≫ TorsionPointCharacter.translation ℓ n A t = |
| 51 | j * (toUnit (MultiplicationOverlapCocycles.siteOver A U) ≫ t.val) := by |
| 52 | rw [TorsionPointCharacter.translation, MonObj.comp_mul, Category.comp_id, |
| 53 | ← Category.assoc, comp_toUnit] |
| 54 | apply equalizer.hom_ext |
| 55 | change (MultiplicationOverlapCocycles.siteMap A p ≫ MultiplicationOverlapCocycles.difference ℓ n A hℓ a b) ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N = |
| 56 | (toUnit (MultiplicationOverlapCocycles.siteOver A U) ≫ TorsionPointCharacter.torsionPoint ℓ n A t) ≫ |
| 57 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N |
| 58 | rw [MultiplicationOverlapCocycles.difference_comp, MultiplicationOverlapCocycles.difference_inclusion, hp₀, hp₁, htrans, mul_div_cancel_left] |
| 59 | rw [Category.assoc, TorsionPointCharacter.torsionPoint, AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι] |
| 60 | |
| 61 | omit [Fact (Nat.Prime ℓ)] [GeometricallyIntegral A.hom] in |
| 62 | theorem cocycle_pair_value (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) |
| 63 | (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) (z : A.left) : |
| 64 | ULift.down (α := C(A.left, ZMod N)) |
| 65 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map |
| 66 | (TorsionPointCharacter.pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t).op |
| 67 | (MultiplicationOverlapCocycles.cocycle ℓ n A hℓ χ)) z = χ (Additive.ofMul t) := by |
| 68 | let p := TorsionPointCharacter.pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t |
| 69 | change MultiplicationOverlapCocycles.schemeFunction ℓ n A hℓ χ ((MultiplicationOverlapCocycles.siteMap A p ≫ MultiplicationOverlapCocycles.difference ℓ n A hℓ a b).left z) = _ |
| 70 | rw [pair_difference] |
| 71 | change MultiplicationOverlapCocycles.schemeFunction ℓ n A hℓ χ |
| 72 | ((TorsionPointCharacter.torsionPoint ℓ n A t).left ((toUnit (MultiplicationOverlapCocycles.siteOver A U)).left z)) = _ |
| 73 | rw [show (toUnit (MultiplicationOverlapCocycles.siteOver A U)).left z = IsLocalRing.closedPoint k from |
| 74 | Subsingleton.elim (α := Spec (.of k)) _ _, MultiplicationOverlapCocycles.schemeFunction_point] |
| 75 | apply congrArg χ |
| 76 | apply congrArg Additive.ofMul |
| 77 | apply Subtype.ext |
| 78 | exact AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι N t.val t.property |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCocycleEvaluation |