1. Modus Ponens
(P Q : Prop) (hp : P) (hpq : P → Q) : Q
LogicEasy Solve 2. Commutativity of Conjunction
(P Q : Prop) : P ∧ Q → Q ∧ P
LogicEasy Solve 3. Commutativity of Disjunction
(P Q : Prop) : P ∨ Q → Q ∨ P
LogicEasy Solve 4. Contrapositive
(P Q : Prop) (h : P → Q) : ¬ Q → ¬ P
LogicEasy Solve 5. Right Identity of Addition
(n : Nat) : n + 0 = n
Natural NumbersEasy Solve 6. Currying and Uncurrying
(P Q R : Prop) : (P ∧ Q → R) ↔ (P → Q → R)
LogicEasy Solve 7. Right Identity of List Append
{α : Type} (xs : List α) : xs ++ [] = xs
ListsEasy Solve 8. Left Identity of Addition
(n : Nat) : 0 + n = n
InductionMedium Solve 9. Associativity of Addition
(a b c : Nat) : (a + b) + c = a + (b + c)
InductionMedium Solve 10. Commutativity of Addition
(a b : Nat) : a + b = b + a
InductionMedium Solve 11. De Morgan's Law for Disjunction
(P Q : Prop) : ¬ (P ∨ Q) ↔ ¬ P ∧ ¬ Q
LogicMedium Solve 12. Existential Premise to Universal
{α : Type} (P : α → Prop) (Q : Prop) : ((∃ x, P x) → Q) ↔ (∀ x, P x → Q)
QuantifiersMedium Solve 13. Length of Appended Lists
{α : Type} (xs ys : List α) : (xs ++ ys).length = xs.length + ys.length
ListsMedium Solve 14. Map Distributes over Append
{α β : Type} (f : α → β) (xs ys : List α) : (xs ++ ys).map f = xs.map f ++ ys.map f
ListsMedium Solve 15. Triple Negation Collapse
(P : Prop) : ¬ ¬ ¬ P → ¬ P
LogicMedium Solve 16. Gauss's Triangular Sum Formula
(n : Nat) : 2 * sumTo n = n * (n + 1)
InductionHard Solve 17. List Reverse is an Involution
{α : Type} (xs : List α) : xs.reverse.reverse = xs
ListsHard Solve 18. Peirce's Law
(P Q : Prop) : ((P → Q) → P) → P
Classical LogicHard Solve 19. Smullyan's Drinker Paradox
{α : Type} [Nonempty α] (P : α → Prop) : ∃ x : α, P x → ∀ y : α, P y
Classical LogicHard Solve 20. Cantor's Diagonal Theorem
{α : Type} (f : α → (α → Prop)) : ¬ ∀ g : α → Prop, ∃ x : α, f x = g
Set TheoryHard Solve 21. Transitivity of Implication
(P Q R : Prop) (hpq : P → Q) (hqr : Q → R) : P → R
LogicEasy Solve 22. Associativity of Conjunction
(P Q R : Prop) : (P ∧ Q) ∧ R ↔ P ∧ (Q ∧ R)
LogicEasy Solve 23. Distributivity of And over Or
(P Q R : Prop) : P ∧ (Q ∨ R) ↔ (P ∧ Q) ∨ (P ∧ R)
LogicEasy Solve 24. Double Negation Introduction
(P : Prop) : P → ¬¬P
LogicEasy Solve 25. Double Negation of Excluded Middle
(P : Prop) : ¬¬(P ∨ ¬P)
LogicMedium Solve 26. Negation of Existential Quantifier
{α : Type} (P : α → Prop) : (¬∃ x, P x) ↔ ∀ x, ¬P x
QuantifiersEasy Solve 27. Frobenius Rule
{α : Type} (P : α → Prop) (Q : Prop) : (∃ x, P x ∧ Q) ↔ (∃ x, P x) ∧ Q
QuantifiersMedium Solve 28. Russell's Barber Paradox
(α : Type) (Shaves : α → α → Prop) : ¬∃ b, ∀ x, Shaves b x ↔ ¬Shaves x x
QuantifiersMedium Solve 29. Material Implication
(P Q : Prop) : (P → Q) ↔ (¬P ∨ Q)
Classical LogicMedium Solve 30. De Morgan's Law for Conjunction
(P Q : Prop) : ¬(P ∧ Q) ↔ ¬P ∨ ¬Q
Classical LogicHard Solve 31. Left Multiplication by Zero
(n : Nat) : 0 * n = 0
Natural NumbersEasy Solve 32. Right Cancellation of Addition
(a b c : Nat) (h : a + c = b + c) : a = b
Natural NumbersEasy Solve 33. Commutativity of Multiplication
(m n : Nat) : m * n = n * m
Natural NumbersMedium Solve 34. Sum of Two Even Numbers
(m n : Nat) (hm : ∃ a, m = 2 * a) (hn : ∃ b, n = 2 * b) : ∃ c, m + n = 2 * c
Natural NumbersEasy Solve 35. Every Natural Number Is Even or Odd
(n : Nat) : (∃ k, n = 2 * k) ∨ (∃ k, n = 2 * k + 1)
Natural NumbersMedium Solve 36. Divisibility of Linear Combinations
(d a b x y : Nat) (ha : ∃ k, a = d * k) (hb : ∃ m, b = d * m) : ∃ q, x * a + y * b = d * q
Natural NumbersMedium Solve 37. Sum of the First n Odd Numbers
(n : Nat) : sumOdd n = n * n
InductionMedium Solve 38. Geometric Sum of Powers of Two
(n : Nat) : sumPow2 n + 1 = 2 ^ (n + 1)
InductionMedium Solve 39. Powers of Two Exceed Linear Growth
(n : Nat) : n < 2 ^ n
InductionMedium Solve 40. Sum of Squares Formula
(n : Nat) : 6 * sumSq n = n * (n + 1) * (2 * n + 1)
InductionHard Solve 41. Map Preserves List Length
{α β : Type} (f : α → β) (xs : List α) : (xs.map f).length = xs.length
ListsEasy Solve 42. Map Respects Function Composition
{α β γ : Type} (f : β → γ) (g : α → β) (xs : List α) : (xs.map g).map f = xs.map (fun x => f (g x))
ListsEasy Solve 43. Reverse Preserves List Length
{α : Type} (xs : List α) : xs.reverse.length = xs.length
ListsEasy Solve 44. Reverse of Appended Lists
{α : Type} (xs ys : List α) : (xs ++ ys).reverse = ys.reverse ++ xs.reverse
ListsMedium Solve 45. Filter Cannot Increase Length
{α : Type} (p : α → Bool) (xs : List α) : (xs.filter p).length ≤ xs.length
ListsEasy Solve 46. Filter is Idempotent
{α : Type} (p : α → Bool) (xs : List α) : (xs.filter p).filter p = xs.filter p
ListsMedium Solve 47. Tail-Recursive List Sum Equivalence
(xs : List Nat) : fastSum xs = listSum xs
Verified AlgorithmsMedium Solve 48. Tail-Recursive Reverse Equivalence
{α : Type} (xs : List α) : fastRev xs = xs.reverse
Verified AlgorithmsMedium Solve 49. Insertion Sort Preserves Length
(xs : List Nat) : (isort xs).length = xs.length
Verified AlgorithmsMedium Solve 50. Insertion Sort Produces a Sorted List
(xs : List Nat) : Sorted (isort xs)
Verified AlgorithmsHard Solve 51. Composition of Injective Functions
(α β γ : Type) (f : α → β) (g : β → γ) (hf : ∀ x y, f x = f y → x = y) (hg : ∀ x y, g x = g y → x = y) : ∀ x y, g (f x) = g (f y) → x = y
Functions & RelationsEasy Solve 52. Composition of Surjective Functions
(α β γ : Type) (f : α → β) (g : β → γ) (hf : ∀ b, ∃ a, f a = b) (hg : ∀ c, ∃ b, g b = c) : ∀ c, ∃ a, g (f a) = c
Functions & RelationsEasy Solve 53. Left Inverse Implies Injectivity
(α β : Type) (f : α → β) (g : β → α) (h : ∀ x, g (f x) = x) : ∀ x y, f x = f y → x = y
Functions & RelationsEasy Solve 54. Right Inverse Implies Surjectivity
(α β : Type) (f : α → β) (g : β → α) (h : ∀ y, f (g y) = y) : ∀ y, ∃ x, f x = y
Functions & RelationsEasy Solve 55. Uniqueness of Function Inverses
(α β : Type) (f : α → β) (g h : β → α) (hg : ∀ x, g (f x) = x) (hh : ∀ y, f (h y) = y) : g = h
Functions & RelationsMedium Solve 56. Mirroring a Binary Tree is an Involution
{α : Type} (t : BinTree α) : mirror (mirror t) = t
Data StructuresEasy Solve 57. Mirroring Preserves Binary Tree Size
{α : Type} (t : BinTree α) : treeSize (mirror t) = treeSize t
Data StructuresEasy Solve 58. Functorial Composition of Tree Map
{α β γ : Type} (f : β → γ) (g : α → β) (t : BinTree α) : treeMap f (treeMap g t) = treeMap (fun x => f (g x)) t
Data StructuresMedium Solve 59. De Morgan's Law for Set Union
(α : Type) (A B : α → Prop) : (fun x => ¬(A x ∨ B x)) = (fun x => ¬A x ∧ ¬B x)
Set TheoryMedium Solve 60. Lawvere's Fixed-Point Theorem
(α β : Type) (f : α → α → β) (hsurj : ∀ g : α → β, ∃ a, f a = g) (h : β → β) : ∃ b, h b = b
Set TheoryHard Solve