ncatlab.org

positive type in nLab

Positive types

Context

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

homotopy levels

semantics

Positive types

Idea

In type theory, a positive type is one whose constructors are regarded as primary. Its eliminators are derived from these by the rule that “to use an element of a positive type, it is necessary and sufficient to specify what should be done for all possible ways that element could have been constructed”.

The opposite notion is a negative type, forming two polarities.

In categorical semantics of type theory, positive types correspond to “from the left” universal properties (i.e. for mapping out).

In denotational semantics, positive types behave well with respect to “call-by-value?” and other eager evaluation? strategies.

Examples

Last revised on September 30, 2023 at 17:37:53. See the history of this page for a list of all contributions to it.