new: Added references

This commit is contained in:
Sayantan Santra 2024-02-07 16:47:21 -06:00
parent a91eef1132
commit 7d6ba8fcdb
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
2 changed files with 9 additions and 2 deletions

View file

@ -23,9 +23,10 @@ def IsOdd (n : ) : Bool := ¬IsEven n
#eval IsEven 9
#eval IsOdd 9
#eval IsEven 8
#eval IsOdd 8
example {n : } : IsOdd n = ((n%2) = 1) := by
apply iff_iff_eq.mp
example {n : } : IsOdd n ↔ ((n%2) = 1) := by
constructor
-- <;>
· intro h

6
references.md Normal file
View 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/)