Science Fair Projects Ideas - Typed lambda calculus

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Typed lambda calculus

Typed versions of the lambda calculus extend the standard lambda calculus with types. By assigning to each term a type, one can insist on type compatibility during substitutions. This is a clean theoretical model of the way types operate in conventional programming languages; it is of course a restriction on the programmer. Many typed lambda calculi exist, varying in the types and typing features they support.

Simply typed lambda calculus

In the simply typed lambda calculus, each term is either a base type in the case of a constant, or a composite type in the case of a function (lambda abstraction). Composite types are denoted αβ for functions from (values of) type α to (values of) type β. The type of a function application depends on the type of the function being applied and the type of the argument.

As an example, natural language utterances can be considered as follows:

  • Nouns are constants of type e, for entity.
  • Sentences have type t, for truth.
  • Verbs are regarded as functions from nouns to sentences, or et.

Uses of lambda calculi

The great advantage of simply-typed over untyped lambda calculus is that every term is or can be reduced to a normal form. This is because all forms of the untyped lambda calculus that do not have normal forms cannot receive valid types. For example, the famous Ω combinator

Ω ≡ (λ x . x x) (λ x . x x)

cannot be simply typed.

Indeed, the normal form property holds for still more powerful typed lambda calculi, such as System F.

Because of this property, a decidable equational system can be developed that considers lambda terms equal if and only if they have the same normal form (up to α-conversion). Typed lambda calculi with this property are often used to form types for typed functional programming languages, as part of the type checking process requires checking two types for equality. Notable examples in this family are Haskell, Standard ML and Caml.

Typed lambda calculi are typically associated to various intuitionistic logics through Curry-Howard isomorphisms.

See also

12-03-2008 10:22:39
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice