nLab
metalanguage

Context

Foundations

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

computational trinitarianism = propositions as types +programs as proofs +relation type theory/category theory

logiccategory theorytype theory
trueterminal object/(-2)-truncated objecth-level 0-type/unit type
falseinitial objectempty type
proposition(-1)-truncated objecth-level 1-type/h-prop
proofgeneralized elementprogram
conjunctionproductproduct type
disjunctioncoproduct ((-1)-truncation of)sum type (bracket type of)
implicationinternal homfunction type
negationinternal hom into initial objectfunction type into empty type
universal quantificationdependent productdependent product type
existential quantificationdependent sum ((-1)-truncation of)dependent sum type (bracket type of)
equivalencepath space objectidentity type
equivalence classquotientquotient type
inductioncolimitinductive type, W-type, M-type
higher inductionhigher colimithigher inductive type
completely presented setdiscrete object/0-truncated objecth-level 2-type/preset/h-set
setinternal 0-groupoidBishop set/setoid
universeobject classifiertype of types
modalityclosure operator monadmodal type theory, monad (in computer science)

homotopy levels

semantics

Contents

Idea

In formal logic, a metalanguage is a language? (formal or informal) in which the symbols and rules for manipulating another (formal) language – the object language – are themselves formulated. That is, the metalanguage is the language used when talking about the object language.

For instance the symbol ϕ may denote a proposition in a deductive system, but the statement “ϕ can be proven” is not itself a proposition in the deductive system, but a statement in the metalanguage, often denoted

ϕtrue\vdash \phi \, true

and then called a judgement instead. Or, more generally, if the truth of ϕ depends on the truth of some other proposition ψ then

ψtrueϕtrue\psi \, true \vdash \phi \, true

is the hypothetical judgement in the metalanguage that there is a proof of ϕ in the context in which ψ is assumed.

In contrast, the expression (ψϕ) may denote another proposition in the object language, a conditional statement.

Examples

References

Detailed discussion of the difference between judgements in the metalanguage and propositions in the object language is in the foundational lectures

  • Per Martin-Löf, On the meaning of logical constants and the justifications of the logical laws, leture series in Siena (1983) (web)

Revised on September 28, 2012 06:03:05 by Mike Shulman (192.16.204.218)