Hint 2 for the barber paradox
¶
Try
by_contra a have b := a barber obtain ⟨b1, b2⟩ := b by_cases h : shaves barber barber
Lean at MC 2020
Introduction
1. Logic in Lean - Part 1
2. Logic in Lean - Part 2
3. Infinitely Many Primes
4. Sqrt 2 is irrational
5. Bits & Pieces
Additional Problems for Practice
Pretty Symbols in Lean
Glossary of tactics
More tactics
Solutions on GitHub
Lean Live Editor
Lean Documentation
Leanprover Community
Quick search