Equivalences involving ℕ #
This file defines some additional constructive equivalences using Encodable and the pairing
function on ℕ.
@[simp]
@[simp]
An equivalence between ℤ and ℕ, through ℤ ≃ ℕ ⊕ ℕ and ℕ ⊕ ℕ ≃ ℕ.
Instances For
An equivalence between α × α and α, given that there is an equivalence between α and ℕ.
Equations
- e.prodEquivOfEquivNat = Trans.trans (Trans.trans (e.prodCongr e) Nat.pairEquiv) e.symm