Skip to content

Commit

Permalink
Add exercises to Calculating.lean
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamStrickland committed Jan 7, 2025
1 parent aa24fd3 commit 6443436
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MathLean/Ch02/Calculating.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import MathLean.Common

example (a b c : ℝ) : a * b * c = b * (a * c) := by
rw [mul_comm a b]
rw [mul_assoc b a c]

example (a b c : ℝ) : c * b * a = b * (a * c) := by
sorry

example (a b c : ℝ) : a * (b * c) = b * (a * c) := by
sorry

0 comments on commit 6443436

Please sign in to comment.