Prev Up Next
Go backward to 3.2 Extensions of the subsort relation
Go up to 3 Semantics
Go forward to 3.4 Expansions to an underlying logic

3.3 Well-typed terms and formulas

As terms now have types instead of sorts, the definition of well-sorted terms and formulas should be replaced with a definition of well-typed terms and formulas.

The rules for well-typedness are almost as before. Here, we will just mention those that are concerned with subtyping:

If T is a well-typed term of type t and t < => t', then T is also a well-typed term of type t'.

A term T of type t must only be casted to a type t', if t' < -> t.

A formula T e t is well-typed only if T is a well-typed term of type t' and t < => t'.


CoFI Note: L-2 --Version 1.0-- 10 April 1997.
Comments to ah@it.dtu.dk

Prev Up Next