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.AbelianVariety.InvariantClosed |
| 2 | import Mathlib.Topology.Algebra.Group.Quotient |
| 3 | import Mathlib.Topology.Connected.LocallyConnected |
| 4 | import Mathlib.GroupTheory.OrderOfElement |
| 5 | |
| 6 | /-! # Power Lie -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianVariety.PowerLie.Constructions.ExteriorCohomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Power maps and connectedness for ExteriorCohomology |
| 14 | |
| 15 | The derivative of the n-th power map at the identity is multiplication by n. |
| 16 | A compact locally connected commutative group whose positive power maps are |
| 17 | surjective is connected, since its finite component quotient is then trivial. |
| 18 | -/ |
| 19 | |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 21 | open Set Filter |
| 22 | |
| 23 | section Derivative |
| 24 | variable {E G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [Group G] [TopologicalSpace G] [ChartedSpace E G] [LieGroup 𝓘(ℝ, E) ∞ G] |
| 26 | |
| 27 | theorem mfderiv_pow_one (n : ℕ) (v : E) : |
| 28 | mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ n) 1 v = (n : ℝ) • v := by |
| 29 | induction n with |
| 30 | | zero => |
| 31 | have hf : (fun g : G => g ^ 0) = (fun _ => (1 : G)) := by funext g; simp |
| 32 | have hd : mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ 0) 1 = (0 : E →L[ℝ] E) := by |
| 33 | rw [hf, mfderiv_const] |
| 34 | rfl |
| 35 | have hv := congrArg (fun L : E →L[ℝ] E => L v) hd |
| 36 | simpa only [Nat.cast_zero, zero_smul] using! hv |
| 37 | | succ n ih => |
| 38 | have hs : MDifferentiableAt 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ n) 1 := |
| 39 | (contMDiff_pow (I := 𝓘(ℝ, E)) (n := ∞) n).mdifferentiableAt (by simp) |
| 40 | have hc := mfderiv_comp (I := 𝓘(ℝ, E)) (I' := 𝓘(ℝ, E).prod 𝓘(ℝ, E)) |
| 41 | (I'' := 𝓘(ℝ, E)) (1 : G) |
| 42 | ((contMDiff_mul 𝓘(ℝ, E) ∞).mdifferentiableAt (by simp)) |
| 43 | (hs.prodMk mdifferentiableAt_id) |
| 44 | have he : (fun p : G × G => p.1 * p.2) ∘ (fun g : G => (g ^ n, id g)) = |
| 45 | (fun g : G => g ^ (n + 1)) := by funext g; exact (pow_succ g n).symm |
| 46 | rw [he, one_pow] at hc |
| 47 | have hp := mfderiv_prodMk (I := 𝓘(ℝ, E)) hs mdifferentiableAt_id |
| 48 | rw [hp, mfderiv_id] at hc |
| 49 | have hv := congrArg (fun f : E →L[ℝ] E => f v) hc |
| 50 | change mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ (n + 1)) 1 v = |
| 51 | mfderiv (𝓘(ℝ, E).prod 𝓘(ℝ, E)) 𝓘(ℝ, E) (fun p : G × G => p.1 * p.2) |
| 52 | (1, 1) (mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ n) 1 v, v) at hv |
| 53 | have hz := hv.trans (InvariantClosed.Constructions.ExteriorCohomology.mfderiv_mul_one (E := E) (G := G) |
| 54 | (mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ n) 1 v) v) |
| 55 | rw [ih] at hz |
| 56 | simpa only [Nat.cast_add, Nat.cast_one, add_smul, one_smul] using hz |
| 57 | |
| 58 | theorem mfderiv_pow_one_injective (n : ℕ) (hn : n ≠ 0) : |
| 59 | Function.Injective (mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) (fun g : G => g ^ n) 1) := by |
| 60 | intro v w h |
| 61 | have he : (n : ℝ) • v = (n : ℝ) • w := |
| 62 | (mfderiv_pow_one (E := E) (G := G) n v).symm.trans |
| 63 | (h.trans (mfderiv_pow_one (E := E) (G := G) n w)) |
| 64 | exact smul_right_injective (M := E) (show (n : ℝ) ≠ 0 from Nat.cast_ne_zero.mpr hn) he |
| 65 | |
| 66 | end Derivative |
| 67 | |
| 68 | variable {G : Type*} [CommGroup G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 69 | [CompactSpace G] [LocallyConnectedSpace G] |
| 70 | |
| 71 | theorem connectedSpace_of_surjective_positive_powers |
| 72 | (hp : ∀ n : ℕ, n ≠ 0 → Function.Surjective (fun g : G => g ^ n)) : ConnectedSpace G := by |
| 73 | let N := Subgroup.connectedComponentOfOne G |
| 74 | let : DiscreteTopology (G ⧸ N) := QuotientGroup.discreteTopology isOpen_connectedComponent |
| 75 | let : Finite (G ⧸ N) := finite_of_compact_of_discrete |
| 76 | let : Fintype (G ⧸ N) := Fintype.ofFinite _ |
| 77 | have hmem (g : G) : g ∈ N := by |
| 78 | obtain ⟨h, hh⟩ := hp (Fintype.card (G ⧸ N)) (Fintype.card_ne_zero) g |
| 79 | apply (QuotientGroup.eq_one_iff g).mp |
| 80 | rw [← hh, QuotientGroup.mk_pow] |
| 81 | exact pow_card_eq_one |
| 82 | apply connectedSpace_iff_connectedComponent.mpr |
| 83 | exact ⟨(1 : G), Set.eq_univ_of_forall hmem⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianVariety.PowerLie.Constructions.ExteriorCohomology |