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.TateComparison.Evaluation |
| 2 | import Mathlib.GroupTheory.QuotientGroup.Basic |
| 3 | |
| 4 | /-! # Tate Cokernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TateCokernel.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | For an actual surjective homomorphism with complementary q^h maps, |
| 12 | the integral Tate cokernel is its original kernel. The connecting map |
| 13 | is evaluation at level h followed by the complementary homomorphism. |
| 14 | Its surjectivity and exact kernel are proved from divisibility and the |
| 15 | actual inverse-limit evaluation theorem. |
| 16 | -/ |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (q h : ℕ) [Fact q.Prime] {A B : Type u} [AddCommGroup A] [AddCommGroup B] |
| 21 | (f : A →+ B) (g : B →+ A) |
| 22 | |
| 23 | theorem tate_complementary_map (hgf : ∀ x, g (f x) = (q ^ h) • x) |
| 24 | (x : TateComparison.Add.Tate.Module (H := A) q) : |
| 25 | TateComparison.Add.Tate.map q g (TateComparison.Add.Tate.map q f x) = (q : ℤ_[q]) ^ h • x := by |
| 26 | rw [← Nat.cast_pow, Nat.cast_smul_eq_nsmul] |
| 27 | apply Subtype.ext |
| 28 | funext n |
| 29 | apply Subtype.ext |
| 30 | exact hgf (x.val n).val |
| 31 | |
| 32 | def tateConnectingMap (hfg : ∀ y, f (g y) = (q ^ h) • y) : |
| 33 | TateComparison.Add.Tate.Module (H := B) q →+ f.ker where |
| 34 | toFun x := ⟨g (x.val h).val, by |
| 35 | change f (g (x.val h).val) = 0 |
| 36 | rw [hfg] |
| 37 | exact (x.val h).property⟩ |
| 38 | map_zero' := Subtype.ext g.map_zero |
| 39 | map_add' x y := Subtype.ext (g.map_add (x.val h).val (y.val h).val) |
| 40 | |
| 41 | theorem tateConnectingMap_ker |
| 42 | (hfg : ∀ y, f (g y) = (q ^ h) • y) (hgf : ∀ x, g (f x) = (q ^ h) • x) : |
| 43 | (tateConnectingMap q h f g hfg).ker = (TateComparison.Add.Tate.map q f).toAddMonoidHom.range := by |
| 44 | ext b |
| 45 | change tateConnectingMap q h f g hfg b = 0 ↔ ∃ a, TateComparison.Add.Tate.map q f a = b |
| 46 | constructor |
| 47 | · intro hb |
| 48 | have hbval : g (b.val h).val = 0 := congrArg (fun x : f.ker => x.val) hb |
| 49 | have heval : TateComparison.Evaluation.Tate.evaluate q h (TateComparison.Add.Tate.map q g b) = 0 := |
| 50 | Subtype.ext hbval |
| 51 | obtain ⟨a, ha⟩ := (TateComparison.Evaluation.Tate.evaluate_eq_zero_iff q h (TateComparison.Add.Tate.map q g b)).mp heval |
| 52 | refine ⟨a, ?_⟩ |
| 53 | have he : (q : ℤ_[q]) ^ h • TateComparison.Add.Tate.map q f a = (q : ℤ_[q]) ^ h • b := by |
| 54 | rw [← map_smul, ha, tate_complementary_map q h g f hfg] |
| 55 | apply sub_eq_zero.mp |
| 56 | apply TateComparison.Functor.Tate.q_pow_smul_eq_zero q h (TateComparison.Add.Tate.map q f a - b) |
| 57 | rw [smul_sub, he, sub_self] |
| 58 | · rintro ⟨a, rfl⟩ |
| 59 | apply Subtype.ext |
| 60 | change g (f (a.val h).val) = 0 |
| 61 | rw [hgf] |
| 62 | exact (a.val h).property |
| 63 | |
| 64 | theorem tateConnectingMap_surjective |
| 65 | (hfg : ∀ y, f (g y) = (q ^ h) • y) (hgf : ∀ x, g (f x) = (q ^ h) • x) |
| 66 | (hf : Function.Surjective f) (hdiv : ∀ x : A, ∃ y, q • y = x) : |
| 67 | Function.Surjective (tateConnectingMap q h f g hfg) := by |
| 68 | have hdivB (b : B) : ∃ y, q • y = b := by |
| 69 | obtain ⟨a, ha⟩ := hf b |
| 70 | obtain ⟨y, hy⟩ := hdiv a |
| 71 | exact ⟨f y, by rw [← map_nsmul, hy, ha]⟩ |
| 72 | intro x |
| 73 | let y := TateComparison.Evaluation.Tate.divisionChain q hdiv x.val h |
| 74 | have hy : (q ^ h) • y = x.val := TateComparison.Evaluation.Tate.divisionChain_iterate q hdiv x.val h |
| 75 | let b : TateComparison.Add.Tate.torsion q B h := ⟨f y, by |
| 76 | change (q ^ h) • f y = 0 |
| 77 | rw [← map_nsmul, hy] |
| 78 | exact x.property⟩ |
| 79 | obtain ⟨t, ht⟩ := TateComparison.Evaluation.Tate.evaluate_surjective q hdivB h b |
| 80 | refine ⟨t, Subtype.ext ?_⟩ |
| 81 | change g (t.val h).val = x.val |
| 82 | have hb : (t.val h).val = f y := congrArg Subtype.val ht |
| 83 | rw [hb, hgf] |
| 84 | exact hy |
| 85 | |
| 86 | /-- The quotient is computed from the actual Tate map of f and identifies |
| 87 | canonically with the original kernel of f. -/ |
| 88 | def tateCokernelKernelEquiv |
| 89 | (hfg : ∀ y, f (g y) = (q ^ h) • y) (hgf : ∀ x, g (f x) = (q ^ h) • x) |
| 90 | (hf : Function.Surjective f) (hdiv : ∀ x : A, ∃ y, q • y = x) : |
| 91 | TateComparison.Add.Tate.Module (H := B) q ⧸ (TateComparison.Add.Tate.map q f).toAddMonoidHom.range ≃+ f.ker := |
| 92 | (QuotientAddGroup.quotientAddEquivOfEq (tateConnectingMap_ker q h f g hfg hgf).symm).trans |
| 93 | (QuotientAddGroup.quotientKerEquivOfSurjective (tateConnectingMap q h f g hfg) |
| 94 | (tateConnectingMap_surjective q h f g hfg hgf hf hdiv)) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TateCokernel.Construction |