Documentation
LeanCourse
.
MIL
.
C04_Sets_and_Functions
.
S01_Sets
Search
Google site search
return to top
source
Imports
Init
LeanCourse.Common
Mathlib.Data.Set.Lattice
Mathlib.Data.Nat.Prime.Basic
Imported by
evens
odds
primes
source
def
evens
:
Set
ℕ
Equations
evens
=
{
n
:
ℕ
|
Even
n
}
Instances For
source
def
odds
:
Set
ℕ
Equations
odds
=
{
n
:
ℕ
|
¬
Even
n
}
Instances For
source
def
primes
:
Set
ℕ
Equations
primes
=
{
x
:
ℕ
|
Nat.Prime
x
}
Instances For