Definition

Discreteness in constructive mathematics refers to decidable equality. It is the property that any two elements of a type can be computationally distinguished or identified in finite time.

Formal Statement

A type is discrete if:

Properties

  1. Strictness: This is a much stronger condition than merely being a set.
  2. Hedberg’s Theorem: If a type has decidable equality, it is necessarily a set (an hSet).
  3. Examples:
    • , , and finite types are discrete.
    • (Real Numbers) is not discrete. We cannot decide if a computed real number equals in finite time.

References