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.MultiplicationCocycleEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCocycleSurjectivity |
| 3 | |
| 4 | /-! # Torsion Character Equivalence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TorsionCharacterEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual finite-coefficient H¹ of an abelian variety is the additive |
| 11 | dual of its actual finite torsion-point group. Both directions come from |
| 12 | the multiplication-cover cocycle and the native sheaf Ext construction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Abelian |
| 15 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter |
| 21 | |
| 22 | universe u |
| 23 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 24 | {k : Type u} [Field k] [IsAlgClosed k] |
| 25 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 26 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 27 | (hℓ : (ℓ : k) ≠ 0) |
| 28 | |
| 29 | local notation "m" => ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)) |
| 30 | |
| 31 | theorem exists_overlap_class (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A (ℓ ^ n)) →+ ZMod (ℓ ^ n)) : |
| 32 | ∃ x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1, |
| 33 | MultiplicationCoverCharacter.character ℓ n A hℓ x = |
| 34 | MultiplicationOverlapCocycles.cocycle ℓ n A hℓ χ := by |
| 35 | let U := MultiplicationCoverCharacter.cover ℓ n A hℓ |
| 36 | let D := MultiplicationCoverCharacter.overlap ℓ n A hℓ |
| 37 | let a := MultiplicationCoverCharacter.first ℓ n A hℓ |
| 38 | let b := MultiplicationCoverCharacter.second ℓ n A hℓ |
| 39 | let e : (⊤_ A.left.ProEt) ≅ Scheme.ProEt.mk (𝟙 A.left) := |
| 40 | terminalIsTerminal.uniqueUpToIso (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.GlobalSections.Construction.proEtaleIdentityIsTerminal A.left) |
| 41 | let e' := ((Scheme.ProEt.forget A.left) ⋙ Over.forget A.left).mapIso e |
| 42 | have he : e'.hom = (⊤_ A.left.ProEt).hom := |
| 43 | (Category.comp_id e.hom.left).symm.trans (MorphismProperty.Over.w e.hom) |
| 44 | let : IsIso (⊤_ A.left.ProEt).hom := he ▸ inferInstanceAs (IsIso e'.hom) |
| 45 | let f := terminal.from U |
| 46 | have hf : f.left = U.hom ≫ inv (⊤_ A.left.ProEt).hom := by |
| 47 | apply (cancel_mono (⊤_ A.left.ProEt).hom).1 |
| 48 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 49 | exact MorphismProperty.Over.w f |
| 50 | have hn : ((ℓ ^ n : ℕ) : k) ≠ 0 := by rw [Nat.cast_pow]; exact pow_ne_zero n hℓ |
| 51 | let : IsFinite U.hom := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_isFinite A (ℓ ^ n) hn |
| 52 | let : Surjective U.hom := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_surjective A (ℓ ^ n) hn |
| 53 | let : IsFinite f.left := by rw [hf]; infer_instance |
| 54 | let : Surjective f.left := by rw [hf]; infer_instance |
| 55 | have hD : IsPullback a.left b.left f.left f.left := by |
| 56 | change IsPullback (pullback.fst (m).left (m).left) (pullback.snd (m).left (m).left) f.left f.left |
| 57 | refine (IsPullback.of_hasPullback (m).left (m).left).of_iso' |
| 58 | (Iso.refl _) (Iso.refl _) (Iso.refl _) e' |
| 59 | (by simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]) |
| 60 | (by simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]) ?_ ?_ |
| 61 | · change 𝟙 A.left ≫ (m).left = f.left ≫ e'.hom |
| 62 | rw [Category.id_comp, he] |
| 63 | exact (MorphismProperty.Over.w f).symm |
| 64 | · change 𝟙 A.left ≫ (m).left = f.left ≫ e'.hom |
| 65 | rw [Category.id_comp, he] |
| 66 | exact (MorphismProperty.Over.w f).symm |
| 67 | let : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 68 | let : PreconnectedSpace U.left := inferInstanceAs (PreconnectedSpace A.left) |
| 69 | let S := CoverCharacter.presentation ℓ n A.left |
| 70 | let hS := CoverCharacter.presentation_shortExact ℓ n (X := A.left) |
| 71 | let hlift := CoverFiniteness.presentation_local_lifts ℓ n S.X₂ S.X₃ S.f S.g S.zero hS U |
| 72 | (FiniteCoefficient.GroupLaw.multiplication_pow_pullback_zero ℓ n A) |
| 73 | obtain ⟨x, hx⟩ := CoverCocycleSurjectivity.exists_class U D a b hD S hS hlift |
| 74 | (CoverCharacter.coefficient_restrictions_eq ℓ n a b) |
| 75 | (MultiplicationOverlapCocycles.cocycle ℓ n A hℓ χ) |
| 76 | (MultiplicationOverlapCocycles.cocycle_condition ℓ n A hℓ χ) |
| 77 | change MultiplicationCoverCharacter.character ℓ n A hℓ x = |
| 78 | MultiplicationOverlapCocycles.cocycle ℓ n A hℓ χ at hx |
| 79 | exact ⟨x, hx⟩ |
| 80 | |
| 81 | theorem character_eq_of_overlap_eq |
| 82 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) |
| 83 | (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A (ℓ ^ n)) →+ ZMod (ℓ ^ n)) |
| 84 | (hx : MultiplicationCoverCharacter.character ℓ n A hℓ x = |
| 85 | MultiplicationOverlapCocycles.cocycle ℓ n A hℓ χ) : |
| 86 | TorsionPointCharacter.character ℓ n A hℓ x = χ := by |
| 87 | let D := MultiplicationCoverCharacter.overlap ℓ n A hℓ |
| 88 | let : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 89 | apply AddMonoidHom.ext |
| 90 | intro t |
| 91 | let p := TorsionPointCharacter.pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t.toMul |
| 92 | let z : A.left := Classical.choice inferInstance |
| 93 | have hv := congrArg (fun s : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.obj (op D) => |
| 94 | ULift.down (α := C(A.left, ZMod (ℓ ^ n))) |
| 95 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map p.op s) z) hx |
| 96 | rw [TorsionPointCharacter.pair_value, |
| 97 | MultiplicationCocycleEvaluation.cocycle_pair_value] at hv |
| 98 | exact hv |
| 99 | |
| 100 | theorem character_surjective : Function.Surjective (TorsionPointCharacter.character ℓ n A hℓ) := by |
| 101 | intro χ |
| 102 | obtain ⟨x, hx⟩ := exists_overlap_class ℓ n A hℓ χ |
| 103 | exact ⟨x, character_eq_of_overlap_eq ℓ n A hℓ x χ hx⟩ |
| 104 | |
| 105 | theorem character_cocycle_formula (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 106 | MultiplicationCoverCharacter.character ℓ n A hℓ x = |
| 107 | MultiplicationOverlapCocycles.cocycle ℓ n A hℓ |
| 108 | (TorsionPointCharacter.character ℓ n A hℓ x) := by |
| 109 | obtain ⟨y, hy⟩ := exists_overlap_class ℓ n A hℓ |
| 110 | (TorsionPointCharacter.character ℓ n A hℓ x) |
| 111 | have he : y = x := TorsionPointCharacter.character_injective ℓ n A hℓ |
| 112 | (character_eq_of_overlap_eq ℓ n A hℓ y _ hy) |
| 113 | exact he ▸ hy |
| 114 | |
| 115 | def equiv : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1 ≃+ |
| 116 | (Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A (ℓ ^ n)) →+ ZMod (ℓ ^ n)) := |
| 117 | AddEquiv.ofBijective (TorsionPointCharacter.character ℓ n A hℓ) |
| 118 | ⟨TorsionPointCharacter.character_injective ℓ n A hℓ, |
| 119 | character_surjective ℓ n A hℓ⟩ |
| 120 | |
| 121 | @[simp] theorem equiv_apply (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 122 | equiv ℓ n A hℓ x = TorsionPointCharacter.character ℓ n A hℓ x := rfl |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TorsionCharacterEquivalence |