OpenMath Content Dictionary: ecc

Canonical URL:
http://http://www.openmath.org/cd/ecc.ocd
CD Base:
http://www.openmath.org/cd
CD File:
ecc.ocd
CD as XML Encoded OpenMath:
ecc.omcd
Defines:
Pair, PairProj1, PairProj2, SigmaType, Tuple, type, typecoerce
Date:
2004-03-30
Version:
2 (Revision 1)
Review Date:
2017-12-31
Status:
experimental


     This document is distributed in the hope that it will be useful, 
     but WITHOUT ANY WARRANTY; without even the implied warranty of 
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

     The copyright holder grants you permission to redistribute this 
     document freely as a verbatim copy. Furthermore, the copyright
     holder permits you to develop any derived work from this document
     provided that the following conditions are met.
       a) The derived work acknowledges the fact that it is derived from
          this document, and maintains a prominent reference in the 
          work to the original source.
       b) The fact that the derived work is not the original OpenMath 
          document is stated prominently in the derived work.  Moreover if
          both this document and the derived work are Content Dictionaries
          then the derived work must include a different CDName element,
          chosen so that it cannot be confused with any works adopted by
          the OpenMath Society.  In particular, if there is a Content 
          Dictionary Group whose name is, for example, `math' containing
          Content Dictionaries named `math1', `math2' etc., then you should 
          not name a derived Content Dictionary `mathN' where N is an integer.
          However you are free to name it `private_mathN' or some such.  This
          is because the names `mathN' may be used by the OpenMath Society
          for future extensions.
       c) The derived work is distributed under terms that allow the
          compilation of derived works, but keep paragraphs a) and b)
          intact.  The simplest way to do this is to distribute the derived
          work under the OpenMath license, but this is not a requirement.
     If you have questions about this license please contact the OpenMath
     society at http://www.openmath.org.
  Author: OpenMath Consortium
  SourceURL: https://github.com/OpenMath/CDs
            

Extended Calculus of Constructions Primitives Initial version: O. Caprotti (July 1, 1999) Revised: O. Caprotti (September 8, 1999)


type

Role:
semantic-attribution
Description:

Attribution tag to denote type-judgement

Signatures:
sts


[Next: typecoerce] [Last: Tuple] [Top]

typecoerce

Role:
semantic-attribution
Description:

Attribution tag to denote type-judgement with coercion

Signatures:
sts


[Next: SigmaType] [Previous: type] [Top]

SigmaType

Role:
binder
Description:

The binder symbol used to construct the type of Cartesian products. The (either plain or attributed) variables might occur in the body \OM\ object.

Signatures:
sts


[Next: Pair] [Previous: typecoerce] [Top]

Pair

Role:
application
Description:

The pairing constructor. It takes two OpenMath objects as first element and second element of the pair, and a third optional OpenMath object that represents the type of the pair.

Example:
Pair ( 0 , 1 )
Signatures:
sts


[Next: PairProj1] [Previous: SigmaType] [Top]

PairProj1

Role:
application
Description:

The first projection function that extracts the first component of a Pair. It satisfies the sigma-reduction rule.

Example:
PairProj1 ( Pair ( 0 , 1 ) ) = 0
Signatures:
sts


[Next: PairProj2] [Previous: Pair] [Top]

PairProj2

Role:
application
Description:

The second projection function that extracts the second component of a Pair. It satisfies sigma-reduction rule.

Example:
PairProj2 ( Pair ( 0 , 1 ) ) = 1
Signatures:
sts


[Next: Tuple] [Previous: PairProj1] [Top]

Tuple

Role:
application
Description:

The n-ary tupling constructor when n>2. The arguments are the element of the tuple. Tuple objects can also be constructed by successive nesting of Pair.

Example:
Pair ( 0 , Pair ( 1 , 2 ) ) = Tuple ( 0 , 1 , 2 )
Signatures:
sts


[First: type] [Previous: PairProj2] [Top]