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.AbelianModuli.HilbertConstruction.MixedPowerFiniteDifferences |
| 2 | |
| 3 | /-! # Integer Mixed Power Differences -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerMixedPowerDifferences |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The mixed power-difference coefficient holds integrally. Casts |
| 10 | and restriction to integer arguments commute with every difference. -/ |
| 11 | |
| 12 | theorem fwdDiff_iter_int_restrict (f : ℚ → ℚ) (d : ℤ) (n : ℕ) (z : ℤ) : |
| 13 | (fwdDiff d)^[n] (fun w : ℤ => f (w : ℚ)) z = |
| 14 | (fwdDiff (d : ℚ))^[n] f (z : ℚ) := by |
| 15 | induction n generalizing z with |
| 16 | | zero => rfl |
| 17 | | succ n ih => |
| 18 | rw [Function.iterate_succ_apply', Function.iterate_succ_apply'] |
| 19 | change (fwdDiff d)^[n] (fun w : ℤ => f (w : ℚ)) (z + d) - |
| 20 | (fwdDiff d)^[n] (fun w : ℤ => f (w : ℚ)) z = |
| 21 | (fwdDiff (d : ℚ))^[n] f ((z : ℚ) + d) - (fwdDiff (d : ℚ))^[n] f (z : ℚ) |
| 22 | rw [ih, ih, Int.cast_add] |
| 23 | |
| 24 | theorem fwdDiff_iter_int_cast (f : ℤ → ℤ) (d : ℤ) (n : ℕ) (z : ℤ) : |
| 25 | (fwdDiff d)^[n] (fun w : ℤ => (f w : ℚ)) z = (((fwdDiff d)^[n] f z : ℤ) : ℚ) := by |
| 26 | induction n generalizing z with |
| 27 | | zero => rfl |
| 28 | | succ n ih => |
| 29 | rw [Function.iterate_succ_apply', Function.iterate_succ_apply'] |
| 30 | change (fwdDiff d)^[n] (fun w : ℤ => (f w : ℚ)) (z + d) - |
| 31 | (fwdDiff d)^[n] (fun w : ℤ => (f w : ℚ)) z = |
| 32 | (((fwdDiff d)^[n] f (z + d) - (fwdDiff d)^[n] f z : ℤ) : ℚ) |
| 33 | rw [ih, ih, Int.cast_sub] |
| 34 | |
| 35 | theorem integer_mixedPower_finiteDifference (g : ℕ) (d : ℤ) (hd : d ≠ 0) (z : ℤ) : |
| 36 | fwdDiff 1 ((fwdDiff d)^[g] (fun w : ℤ => w ^ (g + 1))) z = |
| 37 | ((g + 1).factorial : ℤ) * d ^ g := by |
| 38 | apply Int.cast_injective (α := ℚ) |
| 39 | have hcast : ((fwdDiff 1 ((fwdDiff d)^[g] (fun w : ℤ => w ^ (g + 1))) z : ℤ) : ℚ) = |
| 40 | fwdDiff 1 ((fwdDiff (d : ℚ))^[g] (fun w : ℚ => w ^ (g + 1))) (z : ℚ) := by |
| 41 | change (((fwdDiff d)^[g] (fun w : ℤ => w ^ (g + 1)) (z + 1) - |
| 42 | (fwdDiff d)^[g] (fun w : ℤ => w ^ (g + 1)) z : ℤ) : ℚ) = _ |
| 43 | rw [Int.cast_sub, ← fwdDiff_iter_int_cast, ← fwdDiff_iter_int_cast] |
| 44 | have he : (fun w : ℤ => ((w ^ (g + 1) : ℤ) : ℚ)) = |
| 45 | (fun w : ℤ => (w : ℚ) ^ (g + 1)) := by funext w; exact Int.cast_pow w _ |
| 46 | rw [he, fwdDiff_iter_int_restrict (fun w : ℚ => w ^ (g + 1)) d g (z + 1), |
| 47 | fwdDiff_iter_int_restrict (fun w : ℚ => w ^ (g + 1)) d g z, Int.cast_add, Int.cast_one] |
| 48 | rfl |
| 49 | rw [hcast, MixedPowerFiniteDifferences.mixedPower_finiteDifference g (d : ℚ) (by exact_mod_cast hd)] |
| 50 | simp only [Int.cast_mul, Int.cast_pow, Int.cast_natCast] |
| 51 | |
| 52 | theorem integer_mixedMonomial_finiteDifference (g : ℕ) (c d z : ℤ) (hd : d ≠ 0) : |
| 53 | fwdDiff 1 ((fwdDiff d)^[g] (fun w : ℤ => c * w ^ (g + 1))) z = |
| 54 | c * ((g + 1).factorial : ℤ) * d ^ g := by |
| 55 | change fwdDiff 1 ((fwdDiff d)^[g] (c • (fun w : ℤ => w ^ (g + 1)))) z = _ |
| 56 | rw [fwdDiff_iter_const_smul, fwdDiff_const_smul] |
| 57 | change c * fwdDiff 1 ((fwdDiff d)^[g] (fun w : ℤ => w ^ (g + 1))) z = _ |
| 58 | rw [integer_mixedPower_finiteDifference g d hd z, mul_assoc] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerMixedPowerDifferences |