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.TorsionQuotient.Left |
| 2 | |
| 3 | /-! # Multiplication Kernel Pair -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationKernelPair |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The overlap of the actual multiplication cover is the product of |
| 10 | the original group scheme with its multiplication kernel. These explicit |
| 11 | coordinates identify overlap differences with torsion translations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) |
| 22 | |
| 23 | local notation "m" => ((𝟙 A : A ⟶ A) ^ n) |
| 24 | local notation "T" => OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n |
| 25 | local notation "P" => pullback m m |
| 26 | |
| 27 | theorem difference_torsion : |
| 28 | ((pullback.snd m m : P ⟶ A) / pullback.fst m m) ^ n = 1 := by |
| 29 | have h : (pullback.snd m m : P ⟶ A) ^ n = (pullback.fst m m) ^ n := by |
| 30 | simpa only [MonObj.comp_pow, Category.comp_id] using |
| 31 | (pullback.condition (f := m) (g := m)).symm |
| 32 | rw [div_pow, h, div_self'] |
| 33 | |
| 34 | def difference : P ⟶ T := |
| 35 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n ((pullback.snd m m : P ⟶ A) / pullback.fst m m) |
| 36 | (difference_torsion A n) |
| 37 | |
| 38 | @[reassoc (attr := simp)] theorem difference_inclusion : |
| 39 | difference A n ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n = |
| 40 | (pullback.snd m m : P ⟶ A) / pullback.fst m m := |
| 41 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι _ _ _ |
| 42 | |
| 43 | theorem translation_condition : |
| 44 | (fst A T : A ⊗ T ⟶ A) ≫ m = |
| 45 | ((fst A T) * (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n)) ≫ m := by |
| 46 | have ht : (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n) ^ n = 1 := |
| 47 | (AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.factors_through_torsion_iff n (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n)).mp |
| 48 | ⟨snd A T, rfl⟩ |
| 49 | simp only [MonObj.comp_pow, Category.comp_id, mul_pow, ht, _root_.mul_one] |
| 50 | |
| 51 | def toPair : A ⊗ T ⟶ P := |
| 52 | pullback.lift (fst A T) ((fst A T) * (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n)) |
| 53 | (translation_condition A n) |
| 54 | |
| 55 | def fromPair : P ⟶ A ⊗ T := lift (pullback.fst m m) (difference A n) |
| 56 | |
| 57 | @[reassoc (attr := simp)] theorem toPair_fst : toPair A n ≫ pullback.fst m m = fst A T := |
| 58 | pullback.lift_fst _ _ _ |
| 59 | |
| 60 | @[reassoc (attr := simp)] theorem toPair_snd : toPair A n ≫ pullback.snd m m = |
| 61 | (fst A T) * (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n) := pullback.lift_snd _ _ _ |
| 62 | |
| 63 | @[reassoc (attr := simp)] theorem fromPair_fst : fromPair A n ≫ fst A T = pullback.fst m m := |
| 64 | lift_fst _ _ |
| 65 | |
| 66 | @[reassoc (attr := simp)] theorem fromPair_snd : fromPair A n ≫ snd A T = difference A n := |
| 67 | lift_snd _ _ |
| 68 | |
| 69 | def equiv : A ⊗ T ≅ P where |
| 70 | hom := toPair A n |
| 71 | inv := fromPair A n |
| 72 | hom_inv_id := by |
| 73 | apply CartesianMonoidalCategory.hom_ext |
| 74 | · simp only [Category.assoc, fromPair_fst, toPair_fst, Category.id_comp] |
| 75 | · apply equalizer.hom_ext |
| 76 | change (toPair A n ≫ fromPair A n) ≫ snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n = |
| 77 | (𝟙 (A ⊗ T)) ≫ snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n |
| 78 | simp only [Category.assoc, fromPair_snd_assoc, difference_inclusion, |
| 79 | GrpObj.comp_div, toPair_fst, toPair_snd, Category.id_comp] |
| 80 | exact mul_div_cancel_left _ _ |
| 81 | inv_hom_id := by |
| 82 | apply pullback.hom_ext |
| 83 | · simp only [Category.assoc, toPair_fst, fromPair_fst, Category.id_comp] |
| 84 | · simp only [Category.assoc, toPair_snd, MonObj.comp_mul, fromPair_fst, |
| 85 | fromPair_snd_assoc, difference_inclusion, Category.id_comp] |
| 86 | exact mul_div_cancel _ _ |
| 87 | |
| 88 | def schemeEquiv : (A ⊗ T).left ≅ |
| 89 | pullback (((𝟙 A : A ⟶ A) ^ n).left) (((𝟙 A : A ⟶ A) ^ n).left) := |
| 90 | (Over.forget S).mapIso (equiv A n) ≪≫ |
| 91 | ((IsPullback.of_hasPullback m m).map (Over.forget S)).isoPullback |
| 92 | |
| 93 | @[reassoc (attr := simp)] theorem schemeEquiv_hom_fst : |
| 94 | (schemeEquiv A n).hom ≫ |
| 95 | pullback.fst (((𝟙 A : A ⟶ A) ^ n).left) (((𝟙 A : A ⟶ A) ^ n).left) = |
| 96 | (fst A T).left := by |
| 97 | let F := Over.forget S |
| 98 | let h := (IsPullback.of_hasPullback m m).map F |
| 99 | change (F.map (toPair A n) ≫ h.isoPullback.hom) ≫ pullback.fst (F.map m) (F.map m) = _ |
| 100 | exact (Category.assoc _ _ _).trans |
| 101 | ((congrArg (fun t => F.map (toPair A n) ≫ t) h.isoPullback_hom_fst).trans |
| 102 | ((F.map_comp _ _).symm.trans (congrArg F.map (toPair_fst A n)))) |
| 103 | |
| 104 | @[reassoc (attr := simp)] theorem schemeEquiv_hom_snd : |
| 105 | (schemeEquiv A n).hom ≫ |
| 106 | pullback.snd (((𝟙 A : A ⟶ A) ^ n).left) (((𝟙 A : A ⟶ A) ^ n).left) = |
| 107 | ((fst A T) * (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n)).left := by |
| 108 | let F := Over.forget S |
| 109 | let h := (IsPullback.of_hasPullback m m).map F |
| 110 | change (F.map (toPair A n) ≫ h.isoPullback.hom) ≫ pullback.snd (F.map m) (F.map m) = _ |
| 111 | exact (Category.assoc _ _ _).trans |
| 112 | ((congrArg (fun t => F.map (toPair A n) ≫ t) h.isoPullback_hom_snd).trans |
| 113 | ((F.map_comp _ _).symm.trans (congrArg F.map (toPair_snd A n)))) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationKernelPair |