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.Quotients.FiniteDescent.GroupOperationsIs |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.KernelPair |
| 3 | |
| 4 | /-! # Group -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Group.Construction.GroupDescent |
| 7 | |
| 8 | /-! |
| 9 | # Descending the group operations through a translation quotient |
| 10 | |
| 11 | An exact translation kernel pair implies invariance and compatibility with |
| 12 | multiplication and inversion. Effective epimorphisms then construct the |
| 13 | target operations, and the group laws follow from `GroupOperations`. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 22 | {A B H : C} [GrpObj A] (i : H ⟶ A) (q : A ⟶ B) |
| 23 | |
| 24 | abbrev translation : H ⊗ A ⟶ A := (fst H A ≫ i) * snd H A |
| 25 | |
| 26 | variable (hk : IsKernelPair q (snd H A) (translation i)) |
| 27 | |
| 28 | include hk in |
| 29 | /-- A quotient with the translation kernel pair is invariant under every |
| 30 | subgroup-valued point. -/ |
| 31 | theorem invariant {T : C} (a : T ⟶ A) (h : T ⟶ H) : |
| 32 | ((h ≫ i) * a) ≫ q = a ≫ q := by |
| 33 | have he := congrArg (fun f => lift h a ≫ f) hk.w |
| 34 | simp only [← Category.assoc] at he |
| 35 | simpa only [lift_snd, translation, MonObj.comp_mul, lift_fst_assoc] using he.symm |
| 36 | |
| 37 | include hk in |
| 38 | /-- Equal quotient-valued points differ by a subgroup translation. -/ |
| 39 | theorem exists_translate {T : C} (a b : T ⟶ A) (hab : a ≫ q = b ≫ q) : |
| 40 | ∃ h : T ⟶ H, (h ≫ i) * b = a := by |
| 41 | let r := hk.lift b a hab.symm |
| 42 | have hs : r ≫ snd H A = b := hk.lift_fst _ _ _ |
| 43 | have ht : r ≫ translation i = a := hk.lift_snd _ _ _ |
| 44 | refine ⟨r ≫ fst H A, ?_⟩ |
| 45 | simpa only [translation, MonObj.comp_mul, ← Category.assoc, hs] using ht |
| 46 | |
| 47 | include hk in |
| 48 | /-- The fiber over the image of the identity is exactly the subgroup, on |
| 49 | every test object, including uniqueness of the subgroup-valued lift. -/ |
| 50 | theorem kernel [Mono i] (T : C) (a : T ⟶ A) : |
| 51 | a ≫ q = (1 : T ⟶ A) ≫ q ↔ ∃! h : T ⟶ H, h ≫ i = a := by |
| 52 | constructor |
| 53 | · intro ha |
| 54 | obtain ⟨h, hh⟩ := exists_translate i q hk a 1 ha |
| 55 | rw [mul_one] at hh |
| 56 | exact ⟨h, hh, fun h' hh' => (cancel_mono i).mp (hh'.trans hh.symm)⟩ |
| 57 | · rintro ⟨h, rfl, _⟩ |
| 58 | simpa only [mul_one] using invariant i q hk (1 : T ⟶ A) h |
| 59 | |
| 60 | variable [GrpObj H] [IsMonHom i] [BraidedCategory C] [IsCommMonObj A] |
| 61 | |
| 62 | include hk in |
| 63 | theorem mul_congr {T : C} (a a' b b' : T ⟶ A) |
| 64 | (ha : a ≫ q = a' ≫ q) (hb : b ≫ q = b' ≫ q) : |
| 65 | (a * b) ≫ q = (a' * b') ≫ q := by |
| 66 | obtain ⟨h, hh⟩ := exists_translate i q hk a a' ha |
| 67 | obtain ⟨k, hk'⟩ := exists_translate i q hk b b' hb |
| 68 | rw [← hh, ← hk', mul_mul_mul_comm, ← MonObj.mul_comp] |
| 69 | exact invariant i q hk (a' * b') (h * k) |
| 70 | |
| 71 | include hk in |
| 72 | theorem inv_congr {T : C} (a b : T ⟶ A) (hab : a ≫ q = b ≫ q) : |
| 73 | a⁻¹ ≫ q = b⁻¹ ≫ q := by |
| 74 | obtain ⟨h, hh⟩ := exists_translate i q hk a b hab |
| 75 | rw [← hh, mul_inv, ← GrpObj.inv_comp] |
| 76 | exact invariant i q hk b⁻¹ h⁻¹ |
| 77 | |
| 78 | include hk in |
| 79 | theorem multiplication_compatible : |
| 80 | ∀ {T : C} (a b : T ⟶ A ⊗ A), a ≫ (q ⊗ₘ q) = b ≫ (q ⊗ₘ q) → |
| 81 | a ≫ MonObj.mul ≫ q = b ≫ MonObj.mul ≫ q := by |
| 82 | intro T a b hab |
| 83 | have h₁ : (a ≫ fst A A) ≫ q = (b ≫ fst A A) ≫ q := by |
| 84 | simpa using congrArg (fun f => f ≫ fst B B) hab |
| 85 | have h₂ : (a ≫ snd A A) ≫ q = (b ≫ snd A A) ≫ q := by |
| 86 | simpa using congrArg (fun f => f ≫ snd B B) hab |
| 87 | simpa [Hom.mul_def] using mul_congr i q hk |
| 88 | (a ≫ fst A A) (b ≫ fst A A) (a ≫ snd A A) (b ≫ snd A A) h₁ h₂ |
| 89 | |
| 90 | include hk in |
| 91 | theorem inverse_compatible : |
| 92 | ∀ {T : C} (a b : T ⟶ A), a ≫ q = b ≫ q → |
| 93 | a ≫ GrpObj.inv ≫ q = b ≫ GrpObj.inv ≫ q := by |
| 94 | intro T a b hab |
| 95 | simpa only [Hom.inv_def, Category.assoc] using inv_congr i q hk a b hab |
| 96 | |
| 97 | variable [EffectiveEpi q] [EffectiveEpi (q ⊗ₘ q)] |
| 98 | |
| 99 | /-- Multiplication on the quotient, constructed by effective descent. -/ |
| 100 | noncomputable def multiplication : B ⊗ B ⟶ B := |
| 101 | EffectiveEpi.desc (q ⊗ₘ q) (MonObj.mul ≫ q) (multiplication_compatible i q hk) |
| 102 | |
| 103 | omit [EffectiveEpi q] in |
| 104 | theorem multiplication_fac : (q ⊗ₘ q) ≫ multiplication i q hk = MonObj.mul ≫ q := |
| 105 | EffectiveEpi.fac (q ⊗ₘ q) (MonObj.mul ≫ q) (multiplication_compatible i q hk) |
| 106 | |
| 107 | /-- Inversion on the quotient, constructed by effective descent. -/ |
| 108 | noncomputable def inverse : B ⟶ B := |
| 109 | EffectiveEpi.desc q (GrpObj.inv ≫ q) (inverse_compatible i q hk) |
| 110 | |
| 111 | omit [EffectiveEpi (q ⊗ₘ q)] in |
| 112 | theorem inverse_fac : q ≫ inverse i q hk = GrpObj.inv ≫ q := |
| 113 | EffectiveEpi.fac q (GrpObj.inv ≫ q) (inverse_compatible i q hk) |
| 114 | |
| 115 | variable [Epi ((q ⊗ₘ q) ⊗ₘ q)] |
| 116 | |
| 117 | /-- The commutative group structure on a translation quotient. -/ |
| 118 | @[instance_reducible] |
| 119 | noncomputable def group : GrpObj B := |
| 120 | GroupOperationsIs.Construction.GroupOperations.group q (multiplication i q hk) (multiplication_fac i q hk) |
| 121 | (inverse i q hk) (inverse_fac i q hk) |
| 122 | |
| 123 | theorem isMonHom_group : letI := group i q hk; IsMonHom q := |
| 124 | GroupOperationsIs.Construction.GroupOperations.isMonHom_group q (multiplication i q hk) (multiplication_fac i q hk) |
| 125 | (inverse i q hk) (inverse_fac i q hk) |
| 126 | |
| 127 | theorem isCommMonObj_group : letI := group i q hk; IsCommMonObj B := |
| 128 | GroupOperationsIs.Construction.GroupOperations.isCommMonObj_group q (multiplication i q hk) (multiplication_fac i q hk) |
| 129 | (inverse i q hk) (inverse_fac i q hk) |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Group.Construction.GroupDescent |