Homotopy Type Theory irrational numbers > history (Rev #3, changes)

Showing changes from revision #2 to #3: Added | Removed | Changed

Contents

Whenever editing is allowed on the nLab again, this article should be ported over there.

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 tight apartness relation r#sr # s in RR is defined as

In set theory

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

Let RR be an Archimedean ordered integral domain with the integers R\mathbb{Z} \subseteq R being a integral subdomain of RR, with injection fR Rf \in R^\mathbb{Z} \to R. An element rRr \in R is irrational if

Let us define the dependent type on RR

isIrrational(r)a.b.((f(a)<0)(0<f(a)))((f(a)r<f(b))(f(b)<f(a)r))isIrrational(r) \coloneqq \forall a \in \mathbb{Z}. \forall b \in \mathbb{Z}. ((f(a) \lt 0) \vee (0 \lt f(a))) \wedge ((f(a) \cdot r \lt f(b)) \vee (f(b) \lt f(a) \cdot r))
isIrrational(r) a: b:(f(a)#0)×(f(a)r#f(b))isIrrational(r) \coloneqq \prod_{a:\mathbb{Z}} \prod_{b:\mathbb{Z}} (f(a) # 0) \times (f(a) \cdot r # f(b))

The type of irrational numbers in RR is defined as

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

Irrational(R){rR|isIrrational(r)}Irrational(R) \coloneqq \{r \in R \vert isIrrational(r) \}

The type of irrational numbers in RR is defined as:

In homotopy type theory

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

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 tight apartness relation r#sr # s in RR is defined as

r#s(r<s)+(s<r)r # s \coloneqq \Vert (r \lt s) + (s \lt r) \Vert

Let us define the dependent type on RR

isIrrational(r) a: b:(f(a)#0)×(f(a)r#f(b))isIrrational(r) \coloneqq \prod_{a:\mathbb{Z}} \prod_{b:\mathbb{Z}} (f(a) # 0) \times (f(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 April 14, 2022 at 06:01:48 by Anonymous?. See the history of this page for a list of all contributions to it.