Created
October 15, 2019 13:29
-
-
Save arademaker/319a66d1503551ce152e3ba995f91c9e to your computer and use it in GitHub Desktop.
powerset in lean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open set | |
variable {U : Type} | |
example (A B : set U) : A ∈ powerset (A ∪ B) := | |
assume x, | |
assume : x ∈ A, | |
show x ∈ A ∪ B, from or.inl ‹x ∈ A› |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
open
can be avoided with