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 Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | |
| 5 | /-! # Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Descent.Construction |
| 8 | |
| 9 | /-! |
| 10 | The quotient part of IsogenyQuotient, conditional on the precise invariant-morphism |
| 11 | universal property in FiniteDescent. The ambient category can be `Over S`, so these |
| 12 | arguments work on families and test all schemes, including nonreduced ones. |
| 13 | They do not assume that quotient polarizations or Hecke correspondences exist. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 23 | variable {A B H : C} [GrpObj A] [GrpObj B] |
| 24 | |
| 25 | /-- The invariant-morphism clause of the supplied FiniteDescent conclusion. -/ |
| 26 | def QuotientUniversalProperty (i : H ⟶ A) (f : A ⟶ B) : Prop := |
| 27 | ∀ (T : C) (g : A ⟶ T), |
| 28 | (∀ (U : C) (a : U ⟶ A) (h : U ⟶ H), |
| 29 | ((h ≫ i) * a) ≫ g = a ≫ g) → |
| 30 | ∃! d : B ⟶ T, f ≫ d = g |
| 31 | |
| 32 | /-- FiniteDescent's universal property supplies epimorphic cancellation. -/ |
| 33 | theorem quotient_epi |
| 34 | (i : H ⟶ A) (f : A ⟶ B) [IsMonHom f] |
| 35 | (hkernel : i ≫ f = 1) |
| 36 | (h_FiniteDescent : QuotientUniversalProperty i f) : Epi f := by |
| 37 | constructor |
| 38 | intro T g h hgh |
| 39 | have hinvariant (U : C) (a : U ⟶ A) (k : U ⟶ H) : |
| 40 | ((k ≫ i) * a) ≫ (f ≫ g) = a ≫ (f ≫ g) := by |
| 41 | simp only [← Category.assoc, MonObj.mul_comp] |
| 42 | simp only [Category.assoc, hkernel, MonObj.comp_one, one_mul] |
| 43 | obtain ⟨d, _, hd⟩ := h_FiniteDescent T (f ≫ g) hinvariant |
| 44 | exact (hd g rfl).trans (hd h hgh.symm).symm |
| 45 | |
| 46 | /-- Endomorphisms preserving the kernel descend uniquely through the |
| 47 | actual quotient. This is the step used for the O_E-action. -/ |
| 48 | theorem endomorphism_descent_of_FiniteDescent |
| 49 | (i : H ⟶ A) (f : A ⟶ B) [IsMonHom f] |
| 50 | (h_FiniteDescent : QuotientUniversalProperty i f) |
| 51 | (a : A ⟶ A) [IsMonHom a] |
| 52 | (hstable : i ≫ a ≫ f = 1) : |
| 53 | ∃! b : B ⟶ B, f ≫ b = a ≫ f := by |
| 54 | apply h_FiniteDescent B (a ≫ f) |
| 55 | intro U x h |
| 56 | simp only [← Category.assoc, MonObj.mul_comp] |
| 57 | have hh : ((h ≫ i) ≫ a) ≫ f = 1 := by |
| 58 | simpa only [Category.assoc, MonObj.comp_one] using |
| 59 | congrArg (fun t => h ≫ t) hstable |
| 60 | rw [hh, one_mul] |
| 61 | |
| 62 | /-- If the kernel lies in A[n], multiplication by n factors through |
| 63 | the quotient. Both composites with this factor are multiplication by n. -/ |
| 64 | theorem complementary_map_of_FiniteDescent |
| 65 | [BraidedCategory C] |
| 66 | [IsCommMonObj A] |
| 67 | (i : H ⟶ A) (f : A ⟶ B) [IsMonHom f] |
| 68 | (hkernel : i ≫ f = 1) |
| 69 | (h_FiniteDescent : QuotientUniversalProperty i f) |
| 70 | (n : ℕ) (hkilled : i ^ n = 1) : |
| 71 | ∃! g : B ⟶ A, |
| 72 | f ≫ g = (𝟙 A : A ⟶ A) ^ n ∧ |
| 73 | g ≫ f = (𝟙 B : B ⟶ B) ^ n := by |
| 74 | have hinvariant (U : C) (a : U ⟶ A) (h : U ⟶ H) : |
| 75 | ((h ≫ i) * a) ≫ (𝟙 A : A ⟶ A) ^ n = |
| 76 | a ≫ (𝟙 A : A ⟶ A) ^ n := by |
| 77 | simp only [MonObj.comp_pow, Category.comp_id, mul_pow] |
| 78 | have hh : (h ≫ i) ^ n = 1 := by |
| 79 | rw [← MonObj.comp_pow, hkilled, MonObj.comp_one] |
| 80 | rw [hh, one_mul] |
| 81 | obtain ⟨g, hg, hu⟩ := h_FiniteDescent A ((𝟙 A : A ⟶ A) ^ n) hinvariant |
| 82 | have : Epi f := quotient_epi i f hkernel h_FiniteDescent |
| 83 | refine ⟨g, ⟨hg, ?_⟩, fun g' hg' => hu g' hg'.1⟩ |
| 84 | apply (cancel_epi f).mp |
| 85 | rw [← Category.assoc, hg, MonObj.pow_comp, Category.id_comp, |
| 86 | MonObj.comp_pow, Category.comp_id] |
| 87 | |
| 88 | omit [CartesianMonoidalCategory C] [GrpObj A] [GrpObj B] in |
| 89 | /-- The identity descends to the identity. -/ |
| 90 | theorem descended_identity |
| 91 | (f : A ⟶ B) [Epi f] (b : B ⟶ B) |
| 92 | (hb : f ≫ b = (𝟙 A) ≫ f) : b = 𝟙 B := by |
| 93 | apply (cancel_epi f).mp |
| 94 | simpa using hb |
| 95 | |
| 96 | omit [CartesianMonoidalCategory C] [GrpObj A] [GrpObj B] in |
| 97 | /-- Descended endomorphisms preserve composition, by quotient uniqueness. -/ |
| 98 | theorem descended_composition |
| 99 | (f : A ⟶ B) [Epi f] |
| 100 | (a₁ a₂ : A ⟶ A) (b₁ b₂ b₁₂ : B ⟶ B) |
| 101 | (h₁ : f ≫ b₁ = a₁ ≫ f) |
| 102 | (h₂ : f ≫ b₂ = a₂ ≫ f) |
| 103 | (h₁₂ : f ≫ b₁₂ = (a₁ ≫ a₂) ≫ f) : |
| 104 | b₁₂ = b₁ ≫ b₂ := by |
| 105 | apply (cancel_epi f).mp |
| 106 | calc |
| 107 | f ≫ b₁₂ = (a₁ ≫ a₂) ≫ f := h₁₂ |
| 108 | _ = a₁ ≫ (a₂ ≫ f) := Category.assoc _ _ _ |
| 109 | _ = a₁ ≫ (f ≫ b₂) := by rw [h₂] |
| 110 | _ = (a₁ ≫ f) ≫ b₂ := (Category.assoc _ _ _).symm |
| 111 | _ = (f ≫ b₁) ≫ b₂ := by rw [h₁] |
| 112 | _ = f ≫ (b₁ ≫ b₂) := Category.assoc _ _ _ |
| 113 | |
| 114 | /-- Descended endomorphisms preserve the group-object addition law |
| 115 | (written multiplicatively by the group-object API). -/ |
| 116 | theorem descended_addition |
| 117 | (f : A ⟶ B) [Epi f] [IsMonHom f] |
| 118 | (a₁ a₂ : A ⟶ A) (b₁ b₂ bsum : B ⟶ B) |
| 119 | (h₁ : f ≫ b₁ = a₁ ≫ f) |
| 120 | (h₂ : f ≫ b₂ = a₂ ≫ f) |
| 121 | (hsum : f ≫ bsum = (a₁ * a₂) ≫ f) : |
| 122 | bsum = b₁ * b₂ := by |
| 123 | apply (cancel_epi f).mp |
| 124 | rw [hsum, MonObj.mul_comp, MonObj.comp_mul, h₁, h₂] |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Descent.Construction |