Scott Information Systems #
Following Dana Scott, "Domains for Denotational Semantics" (ICALP 1982) and the compact presentation in Glynn Winskel, The Formal Semantics of Programming Languages, Chapter 8.
Following Scott's Definition 2.1, an information system is a structure
(P, Δ, Con, ⊢) where
Pis a set of data objects / propositions (our token typeα);Δ ∈ Pis a distinguished least informative object (here the fieldbot);Conis a set of finite subsets ofP, the consistent sets; and⊢(entailment, hereEnt) relates a finite set to a token it forces.
Scott's six axioms (Def. 2.1) are, for finite u, v ⊆ P and X ∈ P:
- (i)
u ∈ Conwheneveru ⊆ v ∈ Con—con_subset - (ii)
{X} ∈ Con—con_sing - (iii)
u ∪ {X} ∈ Conwheneveru ⊢ X—ent_con - (iv)
u ⊢ Δ—ent_bot - (v)
u ⊢ XwheneverX ∈ u—ent_refl - (vi) if
v ⊢ Yfor allY ∈ uandu ⊢ Xthenv ⊢ X—ent_trans
The domain determined by an information system is the poset of its elements (a.k.a. ideals): sets of tokens that are consistent on every finite subset and closed under entailment, ordered by inclusion. This file sets up the structure, the notion of element, and the partial order; later files build the function, product, and sum spaces.
This is the 1982 presentation; the development is kept choice-free (constructive), matching Scott's emphasis on the constructive nature of the definitions.
A Scott information system on a type of tokens α, following Scott's
Definition 2.1
in "Domains for Denotational Semantics" (ICALP 1982).
DecidableEq α is required so that finite token sets support union (X ∪ {a})
and the
other Finset operations the axioms mention.
- bot : α
The distinguished least-informative object
Δ. The consistent finite sets of tokens.
Entailment:
Ent u ameans the consistent setuforces the tokena.(i) Consistency is downward closed under
⊆.(ii) Every singleton is consistent.
(iii) A set entailing
astays consistent whenais added. Scott writes this asu ∪ {a} ∈ Con; we use the definitionally identicalinsert a u, because mathlib'sFinsetunion instance (unlikeinsert) depends onClassical.choice, which would break the constructive development.(iv) The least token
Δis entailed by every consistent set.(v) Entailment is reflexive on members of a consistent set.
- ent_trans {u v : Finset α} {c : α} : v ∈ self.Con → u ∈ self.Con → (∀ y ∈ u, self.Ent v y) → self.Ent u c → self.Ent v c
(vi) Entailment is transitive (cut): if a consistent
ventails every member of a consistentu, andu ⊢ c, thenv ⊢ c.
Instances For
An element (ideal) of the domain: a set of tokens that is consistent on every finite subset and closed under entailment.
- carrier : Set α
The underlying set of tokens.
Every finite subset of the element is consistent.
The element is closed under entailment.
Instances For
Elements are ordered by inclusion of their carriers; this is the Scott ordering.