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.RepresentationTheory.Theta.Geometric.Normalized.KernelBaseChange |
| 2 | import Mathlib.RingTheory.Ideal.Nonunits |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Rank One Fiber Generators -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.RankOneFiberGenerators |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Nonvanishing in every residue-field fiber makes a section of a |
| 12 | rank-one free module a generator, and its cycle equation kills the |
| 13 | original differential coefficients without discarding nilpotents. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {R M N : Type*} [CommRing R] |
| 18 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 19 | |
| 20 | theorem rankOne_coordinate_isUnit_of_fibers (e : R ≃ₗ[R] M) (m : M) |
| 21 | (hm : ∀ (I : Ideal R) [I.IsMaximal], (1 ⊗ₜ[R] m : (R ⧸ I) ⊗[R] M) ≠ 0) : |
| 22 | IsUnit (e.symm m) := by |
| 23 | by_contra h |
| 24 | obtain ⟨I, hI, hi⟩ := exists_max_ideal_of_mem_nonunits h |
| 25 | let : I.IsMaximal := hI |
| 26 | apply hm I |
| 27 | have hq : algebraMap R (R ⧸ I) (e.symm m) = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr hi |
| 28 | calc |
| 29 | (1 ⊗ₜ[R] m : (R ⧸ I) ⊗[R] M) = 1 ⊗ₜ[R] (e.symm m • e 1) := by |
| 30 | exact congrArg (fun z : M => (1 : R ⧸ I) ⊗ₜ[R] z) |
| 31 | ((e.apply_symm_apply m).symm.trans (Normalized.RankOneKernel.rankOne_apply e (e.symm m))) |
| 32 | _ = (e.symm m • (1 : R ⧸ I)) ⊗ₜ[R] e 1 := TensorProduct.tmul_smul _ _ _ |
| 33 | _ = 0 := by rw [Algebra.smul_def, hq, zero_mul, TensorProduct.zero_tmul] |
| 34 | |
| 35 | theorem rankOne_differential_zero_of_unit_coordinate (e : R ≃ₗ[R] M) |
| 36 | (d : M →ₗ[R] N) (m : M) (hd : d m = 0) (hu : IsUnit (e.symm m)) : |
| 37 | d (e 1) = 0 := by |
| 38 | have he : e.symm m • d (e 1) = 0 := by |
| 39 | rw [← map_smul, ← Normalized.RankOneKernel.rankOne_apply, e.apply_symm_apply, hd] |
| 40 | exact hu.smul_eq_zero.mp he |
| 41 | |
| 42 | theorem rankOne_differential_zero_of_fiber_generator (e : R ≃ₗ[R] M) |
| 43 | (d : M →ₗ[R] N) (m : M) (hd : d m = 0) |
| 44 | (hm : ∀ (I : Ideal R) [I.IsMaximal], (1 ⊗ₜ[R] m : (R ⧸ I) ⊗[R] M) ≠ 0) : |
| 45 | d (e 1) = 0 := |
| 46 | rankOne_differential_zero_of_unit_coordinate e d m hd |
| 47 | (rankOne_coordinate_isUnit_of_fibers e m hm) |
| 48 | |
| 49 | theorem rankOne_generator_cycle_iff (e : R ≃ₗ[R] M) (d : M →ₗ[R] N) : |
| 50 | (∃ m : M, d m = 0 ∧ IsUnit (e.symm m)) ↔ d (e 1) = 0 := by |
| 51 | constructor |
| 52 | · rintro ⟨m, hd, hu⟩ |
| 53 | exact rankOne_differential_zero_of_unit_coordinate e d m hd hu |
| 54 | · intro hd |
| 55 | refine ⟨e 1, hd, ?_⟩ |
| 56 | rw [e.symm_apply_apply] |
| 57 | exact isUnit_one |
| 58 | |
| 59 | theorem rankOne_generator_cycle_equations |
| 60 | (T : Type*) [CommRing T] [Algebra R T] {I : Type*} (b : Module.Basis I R N) |
| 61 | (e : R ≃ₗ[R] M) (d : M →ₗ[R] N) : |
| 62 | (∃ m : T ⊗[R] M, d.baseChange T m = 0 ∧ |
| 63 | IsUnit ((Normalized.KernelBaseChange.rankOneBaseChange T e).symm m)) ↔ |
| 64 | Ideal.span (Set.range fun i => b.repr (d (e 1)) i) ≤ RingHom.ker (algebraMap R T) := by |
| 65 | rw [rankOne_generator_cycle_iff] |
| 66 | change (1 ⊗ₜ[R] d (e 1) : T ⊗[R] N) = 0 ↔ _ |
| 67 | rw [Normalized.KernelBaseChange.tensor_one_eq_zero_iff_coefficients T b, Ideal.span_le] |
| 68 | exact ⟨fun h _ ⟨i, hi⟩ => hi ▸ h i, fun h i => h ⟨i, rfl⟩⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.RepresentationTheory.Theta.Geometric.RankOneFiberGenerators |