@[reducible, inline]
The definition of equal cardinality. For simplicity we restrict attention to the Type 0 universe.
This is analogous to Chapter3.SetTheory.Set.EqualCard, but we are not using the latter since
the Chapter 3 set theory is deprecated.
Equations
- Chapter8.EqualCard X Y = ∃ (f : X → Y), Function.Bijective f
Instances For
Equivalence with Mathlib's Cardinal.mk concept
@[implicit_reducible]
Equations
@[reducible, inline]
Equations
Instances For
@[reducible, inline]
Equations
Instances For
Equivalence with Mathlib's Denumerable concept (cf. Remark 8.1.2)
Equivalence with Mathlib's Countable typeclass
@[reducible, inline]
Equations
- Chapter8.Nat.min X = if hX : X.Nonempty then ⋯.choose else 0
Instances For
Proposition 8.1.5
Corollary 8.1.7
theorem
Chapter8.AtMostCountable.subset'
{A : Type}
{X Y : Set A}
(hX : AtMostCountable ↑X)
(hY : Y ⊆ X)
:
Proposition 8.1.8 / Exercise 8.1.4
theorem
Chapter8.AtMostCountable.image
{X : Type}
(hX : CountablyInfinite X)
{Y : Type}
(f : X → Y)
:
AtMostCountable ↑(f '' Set.univ)
Corollary 8.1.9 / Exercise 8.1.5
theorem
Chapter8.CountablyInfinite.union
{A : Type}
{X Y : Set A}
(hX : CountablyInfinite ↑X)
(hY : CountablyInfinite ↑Y)
:
CountablyInfinite ↑(X ∪ Y)
Proposition 8.1.10 / Exercise 8.1.7
theorem
Chapter8.CountablyInfinite.prod
{X Y : Type}
(hX : CountablyInfinite X)
(hY : CountablyInfinite Y)
:
CountablyInfinite (X × Y)
Corollary 8.1.14 / Exercise 8.1.8
@[reducible, inline]
Exercise 8.1.10. Note the lack of the noncomputable keyword in the abbrev.
Equations
- Chapter8.explicit_bijection = sorry