Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no tricks when proving associativity of min #168

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions MIL/C02_Basics/S04_More_on_Order_and_Divisibility.lean
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ whether or not you use these tricks,
we encourage you to prove the following:
TEXT. -/
-- QUOTE:
-- BOTH:
example : max a b = max b a := by
/- EXAMPLES:
sorry
Expand All @@ -141,8 +140,13 @@ SOLUTIONS: -/
apply max_le
apply le_max_right
apply le_max_left
-- QUOTE.

-- BOTH:
/- TEXT:
There is no obvious way to shorten the proof of the following theorem with the mentioned tricks.
At the very least, try using dots or the ``show`` tactic to structure the proof you found:
TEXT. -/
-- QUOTE:
example : min (min a b) c = min a (min b c) := by
/- EXAMPLES:
sorry
Expand Down