-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data/complex/basic):
#ℂ = 𝔠
(#12871)
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/- | ||
Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Violeta Hernández Palacios | ||
-/ | ||
|
||
import data.complex.basic | ||
import data.real.cardinality | ||
|
||
/-! | ||
# The cardinality of the complex numbers | ||
This file shows that the complex numbers have cardinality continuum, i.e. `#ℂ = 𝔠`. | ||
-/ | ||
|
||
open cardinal set | ||
|
||
open_locale cardinal | ||
|
||
/-- The cardinality of the complex numbers, as a type. -/ | ||
@[simp] theorem mk_complex : #ℂ = 𝔠 := | ||
by rw [mk_congr complex.equiv_real_prod, mk_prod, lift_id, mk_real, continuum_mul_self] | ||
|
||
/-- The cardinality of the complex numbers, as a set. -/ | ||
@[simp] lemma mk_univ_complex : #(set.univ : set ℂ) = 𝔠 := | ||
by rw [mk_univ, mk_complex] | ||
|
||
/-- The complex numbers are not countable. -/ | ||
lemma not_countable_complex : ¬ countable (set.univ : set ℂ) := | ||
by { rw [← mk_set_le_omega, not_le, mk_univ_complex], apply cantor } |