Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-g7rbq Total loading time: 0 Render date: 2024-07-30T23:57:00.199Z Has data issue: false hasContentIssue false

6 - Theory Structure

Published online by Cambridge University Press:  17 September 2009

Lawrence C. Paulson
Affiliation:
University of Cambridge
Get access

Summary

A large proof should be organized as a collection of theories. An LCF theory has a signature: its type constructors, constants, infixes, predicates. It may have parent theories, inheriting all their symbols and axioms. This rich environment may be extended by new axioms. Theorems may be proved and recorded in the theory.

Existing theories may become the parents of a new theory if their signatures are disjoint. Names of types, constants, infixes, and predicates cannot be hidden or renamed to avoid clashes. Each theory has separate name spaces for its axioms and theorems. An axiom is designated by the pair (theory name, axiom name), a theorem by (theory name, theorem name).

Theories do not have a tree structure: sharing always occurs. In Figure 6.1, the theory T has parents T1 and T2. They both have T4 as a parent. Both the theories T3 and T4 have T5 as a parent; both T4 and T5 have PPλ as a parent. Symbols declared in a common ancestor are shared. If the symbol + is declared in T4 then it is visible in both T1 and T2 and does not cause a clash between the two theories. But if it were declared in both T2 and T3 then T1 and T2 would clash during the construction of T.

Every theory is ultimately descended from PPλ. A theory is the child of its parents.

Type
Chapter
Information
Logic and Computation
Interactive Proof with Cambridge LCF
, pp. 163 - 180
Publisher: Cambridge University Press
Print publication year: 1987

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Theory Structure
  • Lawrence C. Paulson, University of Cambridge
  • Book: Logic and Computation
  • Online publication: 17 September 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526602.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Theory Structure
  • Lawrence C. Paulson, University of Cambridge
  • Book: Logic and Computation
  • Online publication: 17 September 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526602.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Theory Structure
  • Lawrence C. Paulson, University of Cambridge
  • Book: Logic and Computation
  • Online publication: 17 September 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526602.007
Available formats
×