Homotopy Type Theory irrational numbers > history (Rev #1)

Definition

Let RR be an Archimedean ordered integral domain with the integers R\mathbb{Z} \subseteq R being a integral subdomain of RR, with monic function f:Rf:\mathbb{Z} \to R. The apartness relation r#sr # s in \mathbb{Z} and RR is defined as

r#s(r<s)×(s<r)r # s \coloneqq (r \lt s) \times (s \lt r)

and the non-zero integers are defined as

#0 a:a#0\mathbb{Z}_{#0} \coloneqq \sum_{a:\mathbb{Z}} a # 0

with monic function i: #0i:\mathbb{Z}_{#0} \to \mathbb{Z}.

Let us define the dependent type on RR

isIrrational(r) a: #0 b:f(i(a))r#f(b)isIrrational(r) \coloneqq \prod_{a:\mathbb{Z}_{#0}} \prod_{b:\mathbb{Z}} {f(i(a)) \cdot r # f(b)}

rr is irrational if the type isIrrational(r)isIrrational(r) has a term.

The type of irrational numbers in RR is defined as:

Irrational(R) r:RisIrrational(r)Irrational(R) \coloneqq \sum_{r:R} isIrrational(r)

See also

Revision on March 15, 2022 at 06:39:47 by Anonymous?. See the history of this page for a list of all contributions to it.