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.NumberTheory.PadicHodge.IntegralComparison.Projective.DifferentialTransition |
| 2 | |
| 3 | /-! # Oriented Differentials -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.OrientedDifferentials |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The signed top differential frames have the exact transition of |
| 10 | O(-n-1), over every commutative base ring. -/ |
| 11 | |
| 12 | open Equiv OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.CoordinateJacobian OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ComplementSign |
| 13 | |
| 14 | universe u v w |
| 15 | variable {S : Type u} [CommRing S] {M : Type v} [AddCommGroup M] [Module S M] |
| 16 | {R : Type w} [CommRing R] [Algebra R S] [Module R M] |
| 17 | {n : ℕ} |
| 18 | |
| 19 | def complementIndex (i k : Fin (n + 1)) (h : k ≠ i) : Fin n := |
| 20 | (finSuccAboveEquiv i).symm ⟨k, h⟩ |
| 21 | |
| 22 | @[simp] theorem succAbove_complementIndex (i k : Fin (n + 1)) (h : k ≠ i) : |
| 23 | i.succAbove (complementIndex i k h) = k := |
| 24 | congrArg Subtype.val ((finSuccAboveEquiv i).apply_symm_apply ⟨k, h⟩) |
| 25 | |
| 26 | theorem coordinates_swap (i k : Fin (n + 1)) (h : k ≠ i) (u : Sˣ) |
| 27 | (x : Fin (n + 1) → S) (hi : x i = 1) (j : Fin n) : |
| 28 | CoordinateJacobian.coordinates (complementIndex i k h) u (fun j => x (i.succAbove j)) j = |
| 29 | ((u⁻¹ : Sˣ) : S) * x (swap i k (i.succAbove j)) := by |
| 30 | by_cases hj : j = complementIndex i k h |
| 31 | · subst j |
| 32 | simp [CoordinateJacobian.coordinates, hi] |
| 33 | · have hjk : i.succAbove j ≠ k := by |
| 34 | intro he |
| 35 | exact hj (i.succAbove_right_injective (he.trans (succAbove_complementIndex i k h).symm)) |
| 36 | rw [CoordinateJacobian.coordinates, ite_eq_right hj, swap_apply_of_ne_of_ne (Fin.succAbove_ne i j) hjk] |
| 37 | |
| 38 | theorem signed_wedge_transition (D : Derivation R S M) (i k : Fin (n + 1)) |
| 39 | (h : k ≠ i) (u : Sˣ) (x : Fin (n + 1) → S) (hi : x i = 1) (hk : x k = (u : S)) : |
| 40 | (((-1 : ℤˣ) ^ k.val * (-1) * (-1) ^ i.val)) • |
| 41 | exteriorPower.ιMulti S n (fun j => D (((u⁻¹ : Sˣ) : S) * x (k.succAbove j))) = |
| 42 | (-((u⁻¹ : Sˣ) : S) ^ (n + 1)) • |
| 43 | exteriorPower.ιMulti S n (fun j => D (x (i.succAbove j))) := by |
| 44 | have hw := DifferentialTransition.wedge_differential_coordinates D |
| 45 | (complementIndex i k h) u (fun j => x (i.succAbove j)) (by simpa using hk) |
| 46 | have he : (fun j => D (CoordinateJacobian.coordinates (complementIndex i k h) u |
| 47 | (fun j => x (i.succAbove j)) j)) = |
| 48 | (fun j => D (((u⁻¹ : Sˣ) : S) * x (k.succAbove j))) ∘ ComplementSign.complement (swap i k) i := by |
| 49 | funext j |
| 50 | rw [coordinates_swap i k h u x hi] |
| 51 | simp only [Function.comp_apply] |
| 52 | congr 2 |
| 53 | apply congrArg x |
| 54 | simpa only [swap_apply_left] using (ComplementSign.succAbove_complement (swap i k) i j).symm |
| 55 | rw [he, AlternatingMap.map_perm, ComplementSign.sign_complement_swap i k h.symm] at hw |
| 56 | exact hw |
| 57 | |
| 58 | theorem oriented_wedge_transition (D : Derivation R S M) (i k : Fin (n + 1)) |
| 59 | (h : k ≠ i) (u : Sˣ) (x : Fin (n + 1) → S) (hi : x i = 1) (hk : x k = (u : S)) : |
| 60 | (-1 : S) ^ i.val • exteriorPower.ιMulti S n (fun j => D (x (i.succAbove j))) = |
| 61 | (u : S) ^ (n + 1) • ((-1 : S) ^ k.val • |
| 62 | exteriorPower.ιMulti S n (fun j => D (((u⁻¹ : Sˣ) : S) * x (k.succAbove j)))) := by |
| 63 | have hw := signed_wedge_transition D i k h u x hi hk |
| 64 | simp only [Units.smul_def, Units.val_mul, Units.val_pow_eq_pow_val, |
| 65 | Units.val_neg, Units.val_one, ← Int.cast_smul_eq_zsmul S, |
| 66 | Int.cast_mul, Int.cast_pow, Int.cast_neg, Int.cast_one] at hw |
| 67 | have hsign : (-1 : S) ^ i.val * (-1 : S) ^ i.val = 1 := by |
| 68 | rw [← mul_pow] |
| 69 | simp |
| 70 | have hu : (u : S) ^ (n + 1) * ((u⁻¹ : Sˣ) : S) ^ (n + 1) = 1 := by |
| 71 | rw [← mul_pow, Units.mul_inv] |
| 72 | exact one_pow _ |
| 73 | have he := congrArg (fun z => (-((u : S) ^ (n + 1)) * (-1 : S) ^ i.val) • z) hw |
| 74 | simp only [smul_smul] at he |
| 75 | have hl : -((u : S) ^ (n + 1)) * (-1 : S) ^ i.val * |
| 76 | ((-1 : S) ^ k.val * -1 * (-1 : S) ^ i.val) = (u : S) ^ (n + 1) * (-1 : S) ^ k.val := by |
| 77 | calc |
| 78 | _ = (u : S) ^ (n + 1) * (-1 : S) ^ k.val * |
| 79 | ((-1 : S) ^ i.val * (-1 : S) ^ i.val) := by ring |
| 80 | _ = _ := by rw [hsign, mul_one] |
| 81 | have hr : -((u : S) ^ (n + 1)) * (-1 : S) ^ i.val * |
| 82 | -((u⁻¹ : Sˣ) : S) ^ (n + 1) = (-1 : S) ^ i.val := by |
| 83 | calc |
| 84 | _ = ((u : S) ^ (n + 1) * ((u⁻¹ : Sˣ) : S) ^ (n + 1)) * (-1 : S) ^ i.val := by ring |
| 85 | _ = _ := by rw [hu, one_mul] |
| 86 | rw [hl, hr] at he |
| 87 | simpa only [smul_smul] using he.symm |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.OrientedDifferentials |