mirror of
https://github.com/SinTan1729/lean-talk-sp24.git
synced 2024-12-25 21:28:36 -06:00
new: Added references
This commit is contained in:
parent
a91eef1132
commit
7d6ba8fcdb
2 changed files with 9 additions and 2 deletions
|
@ -23,9 +23,10 @@ def IsOdd (n : ℕ) : Bool := ¬IsEven n
|
||||||
|
|
||||||
#eval IsEven 9
|
#eval IsEven 9
|
||||||
#eval IsOdd 9
|
#eval IsOdd 9
|
||||||
|
#eval IsEven 8
|
||||||
|
#eval IsOdd 8
|
||||||
|
|
||||||
example {n : ℕ} : IsOdd n = ((n%2) = 1) := by
|
example {n : ℕ} : IsOdd n ↔ ((n%2) = 1) := by
|
||||||
apply iff_iff_eq.mp
|
|
||||||
constructor
|
constructor
|
||||||
-- <;>
|
-- <;>
|
||||||
· intro h
|
· intro h
|
||||||
|
|
6
references.md
Normal file
6
references.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# References
|
||||||
|
|
||||||
|
1. [Mathematics in Lean by Patrick Mossad and Jeremy Avigad](https://leanprover-community.github.io/mathematics_in_lean/mathematics_in_lean.pdf)
|
||||||
|
2. [The Mathlib 4 API docs](https://leanprover-community.github.io/mathlib4_docs/)
|
||||||
|
3. [The Lean Zulip Chat](https://leanprover.zulipchat.com/)
|
||||||
|
|
Loading…
Reference in a new issue