Homotopy Type Theory decimal numbers > history (Rev #2, changes)

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

Idea

The decimal numbers as familiar from school mathematics.

Definition

The type of decimal numbers, denoted [1/10]\mathbb{Z}[1/10], has several definitions as a higher inductive type.

Definition 1

Decimal numbers are defined as the higher inductive type generated by:

  • A function ()/10 ():×[1/10](-)/10^{(-)} : \mathbb{Z} \times \mathbb{N} \rightarrow \mathbb{Z}[1/10]
  • A dependent product of functions between identities representing that equivalent decimals are equal:
    equivdec: a: b: c: d:(a10 d=c10 b)(a/10 b=c/10 d)equivdec : \prod_{a:\mathbb{Z}} \prod_{b:\mathbb{N}} \prod_{c:\mathbb{Z}} \prod_{d:\mathbb{N}} (a \cdot 10^d = c \cdot 10^b) \to (a/10^b = c/10^d)
  • A set-truncator
    τ 0: a:[1/10] b:[1/10]isProp(a=b)\tau_0: \prod_{a:\mathbb{Z}[1/10]} \prod_{b:\mathbb{Z}[1/10]} isProp(a=b)

Properties

TODO: Show that the decimal numbers are a Heyting ordered Heyting integral domain with decidable equality, decidable apartness, and decidable linear order, and that the decimal numbers are an a Heyting integral subdomain of the rational numbers.

See also

Revision on February 26, 2022 at 21:01:35 by Anonymous?. See the history of this page for a list of all contributions to it.