Pair

Polymorphic product type. Eliminate with ``match`` over the single ``mk`` constructor (the generated recursor ``Pair_rec`` is also available). The field measures also expose the constructor's values to refinements, including dependent contracts over either component.
Imports
open Copy;
Table of Contents

Types

Pair

(inductive)
inductive Pair a b
Measures
first : a
second : b

Constructors

For each type in this module: inductive types list their declared constructors; opaque types list any local function whose name starts with mk and which returns a value of that type.

Pair (inductive)

mk

constructor
{p : (Pair a b) | first p = fst && second p = snd}