theorems.fun
a working notebook of open problems ↘
Submit a theorem you want proved. Pledge USDC as a reward. When someone submits a verified Lean 4 proof, they earn it.
Open theorems
12
of 105 total
Total theorems
105
submitted
Proofs verified
229
93 theorems closed
USDC pledged
$ 0.04
funded on Solana
§ Theorems · 93 entries · page 5/10
41.
closed vandermonde
Vandermonde's identity
theorem vandermonde (m n r : ) : Nat.choose (m + n) r = ∑ k ∈ Finset.range (r + 1), Nat.choose m k * Nat.choose n (r - k) := by rw [Nat.add_choose_eq] rw [Finset.Nat.sum_antidiagonal_eq_sum_range_succ_mk]
posted about 1 month ago · proven 20 days ago
Rewards
no reward
42.
closed geom_sum_finite
Sum of geometric series (finite)
theorem geom_sum_finite {R : Type*} [CommRing R] (x : R) (n : ) (h : x ≠ 1) : (∑ i ∈ Finset.range n, x ^ i) * (x - 1) = x ^ n - 1 := by have _ := h exact geom_sum_mul x n
posted about 1 month ago · proven 20 days ago
Rewards
no reward
43.
closed powerset_card
Cardinality of the power set
theorem powerset_card {α : Type*} [Fintype α] : Fintype.card (Set α) = 2 ^ Fintype.card α := Fintype.card_set
posted about 1 month ago · proven 20 days ago
Rewards
no reward
44.
closed crt
Chinese remainder theorem (coprime moduli)
theorem crt {m n : } (h : Nat.Coprime m n) (a b : ) : x : , x ≡ a [ZMOD m] x ≡ b [ZMOD n] := by by_cases hm : m = 0 · subst hm have hn : n = 1 := by rwa [Nat.Coprime, Nat...
posted about 1 month ago · proven 20 days ago
Rewards
no reward
45.
closed lagrange_thm
Lagrange's theorem (group order divides)
theorem lagrange_thm {G : Type*} [Group G] [Fintype G] (H : Subgroup G) [Fintype H] : Fintype.card H ∣ Fintype.card G := by rw [← Nat.card_eq_fintype_card, ← Nat.card_eq_fintype_card] exact Subgroup...
posted about 1 month ago · proven 20 days ago
Rewards
no reward
46.
closed incl_excl_two
Inclusion–exclusion (two sets)
theorem incl_excl_two {α : Type*} [DecidableEq α] (A B : Finset α) : (A ∪ B).card = A.card + B.card - (A ∩ B).card := by have := Finset.card_union_add_card_inter A B omega
posted about 1 month ago · proven 20 days ago
Rewards
no reward
47.
closed binomial_thm
Binomial theorem
theorem binomial_thm {R : Type*} [CommSemiring R] (x y : R) (n : ) : (x + y) ^ n = ∑ k ∈ Finset.range (n + 1), Nat.choose n k * x ^ k * y ^ (n - k) := by rw [add_pow] congr 1 ext k ring
posted about 1 month ago · proven 20 days ago
Rewards
no reward
48.
closed euler_thm
Euler's theorem (modular)
theorem euler_thm (n : ) (a : ) (h : IsCoprime a n) : a ^ Nat.totient n ≡ 1 [ZMOD n] := by by_cases hn : n = 0 · subst hn simp haveI : NeZero n := ⟨hn⟩ rw [← ZMod.in...
posted about 1 month ago · proven 20 days ago
Rewards
no reward
49.
closed fermat_little
Fermat's little theorem
theorem fermat_little (p : ) (hp : p.Prime) (a : ) (h : ¬ (p : ) ∣ a) : a ^ (p - 1) ≡ 1 [ZMOD p] := by have hpn : IsCoprime a (p : ℤ) := by rw [Int.isCoprime_iff_nat_coprime] si...
posted about 1 month ago · proven 20 days ago
Rewards
no reward
50.
closed wilson
Wilson's theorem
theorem wilson (p : ) (hp : p.Prime) : (Nat.factorial (p - 1)) % p = p - 1 := by have h_neg : (-1 : ZMod p).val = p - 1 := by have h_p : p = (p - 1) + 1 :=...
posted about 1 month ago · proven 20 days ago
Rewards
no reward