 |
|
| |
|
 |
 |
at Global Oneness Community.
Share your dreams and let others help you with the interpretation!
Dream Sharing Forum
|
 |
Calculus of constructions - The basics of the calculus of constructions |  | Calculus of constructions - The basics of the calculus of constructions: Encyclopedia II - Calculus of constructions - The basics of the calculus of constructions |  | The Calculus of Constructions can be considered an extension of the Curry-Howard isomorphism. The Curry-Howard isomorphism associates a term in the simply typed lambda calculus with each natural-deduction proof in intuitionistic propositional logic. The Calculus of Constructions extends this isomorphism to proofs in the full intuitionistic predicate calculus, which includes proofs of quantified statements (which we will a ...
See also:Calculus of constructions, Calculus of constructions - The basics of the calculus of constructions, Calculus of constructions - Terms, Calculus of constructions - Judgements, Calculus of constructions - Inference rules for calculus of constructions, Calculus of constructions - Defining logical operators, Calculus of constructions - Defining data types |  | | Calculus of constructions, Calculus of constructions - Defining data types, Calculus of constructions - Defining logical operators, Calculus of constructions - Inference rules for calculus of constructions, Calculus of constructions - Judgements, Calculus of constructions - Terms, Calculus of constructions - The basics of the calculus of constructions, Lambda calculus, Typed lambda calculus, Curry-Howard isomorphism, Intuitionistic logic, Intuitionistic Type Theory, Jean-Yves Girard, Thierry Coquand, System F, Lambda cube |  | |
|  |  | Calculus of constructions: Encyclopedia II - Calculus of constructions - The basics of the calculus of constructions
Calculus of constructions - The basics of the calculus of constructions
The Calculus of Constructions can be considered an extension of the Curry-Howard isomorphism. The Curry-Howard isomorphism associates a term in the simply typed lambda calculus with each natural-deduction proof in intuitionistic propositional logic. The Calculus of Constructions extends this isomorphism to proofs in the full intuitionistic predicate calculus, which includes proofs of quantified statements (which we will also call "propositions").
Calculus of constructions - Terms
A term in the calculus of constructions is constructed using the following rules:
- T is a term (also called Type)
- P is a term (also called Prop, the type of all propositions)
- If A and B are terms, then so are
The calculus of constructions has 4 types of objects:
- proofs, which are terms whose types are propositions
- propositions, which are also known as small types
- predicates, which are functions that return propositions
- large types, which are the types of predicates. (P is an example of a large type)
- T itself, which is the type of large types.
Calculus of constructions - Judgements
In the calculus of constructions, a judgement is a typing inference:
Which can be read as the implication
If variables have types , then term has type .
The valid judgements for the calculus of constructions are derivable from a set of inference rules. In the following, we use Γ to mean a sequence of type assignments , and we use K to mean either P or T. We will write A:B:C to mean "A has type B, and B has type C". We will write B(x: = N) to mean the result of substituting the term N for the variable x in the term B.
An inference rule is written in the form
which means
If is a valid judgement, then so is
Calculus of constructions - Inference rules for calculus of constructions
Calculus of constructions - Defining logical operators
The calculus of constructions is very parsimonious when it comes to basic operators: the only logical operator for forming propositions is . However, this one operator is sufficient to define all the other logical operators:
Calculus of constructions - Defining data types
The basic data types used in computer science can be defined within the Calculus of Constructions:
Booleans
Naturals
Product
Disjoint union A + B
Other related archivesCoq, Curry-Howard isomorphism, Intuitionistic Type Theory, Intuitionistic logic, Jean-Yves Girard, Lambda calculus, Lambda cube, System F, Typed lambda calculus, datatypes, first-class values, intuitionistic propositional logic, simply typed lambda calculus, strongly normalizing, typed lambda calculus, types
 Adapted from the Wikipedia article "The basics of the calculus of constructions", under the G.N U Free Docmentation License. Please also see http://en.wikipedia.org/wiki |
|
|
More material related to Calculus Of Constructions can be found here:
|
|
« Back
|
Search the Global Oneness web site |
|
|
|
|
 |
Sneak-Peek of Global Oneness Community
Hi friend! The Global Oneness Community, the place for information and sharing about Oneness is not really launched yet (you will see there is still some clean up to do) ...but it is now open for a sneak-peek! And if you wish - please register and become one of the very first members to do so! Jonas
Forum Home,
Articles,
Photo Gallery,
Videos,
News,
Sitemap
...and much more!
|