sigmatypen
Sigmatypen, or Sigma types, are a kind of dependent pair type in type theory, also called dependent sums. Given a type A and a family of types B(x) indexed by x:A, the Sigma type Σ x:A. B(x) consists of pairs (a, b) where a:A and b:B(a).
Formation rules state that if A is a type and for each a:A the type B(a) is
In programming terms, Sigma types can be deconstructed through pattern matching, allowing access to the first
Sigma types are used to encode values together with a witness or proof that depends on the
Related concepts include dependent types and dependent function types (Pi types). Sigma types provide a constructive