metamathematics of contexts

16
METAMATHEMATICS OF CONTEXTS

Upload: hossam-saraya

Post on 14-Apr-2017

780 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Metamathematics of contexts

METAMATHEMATICS OF CONTEXTS

Page 2: Metamathematics of contexts

Outline

Introduction to contexts

The general system Notation

Syntax

Semantics Models

Vocabularies

Satisfaction

Provability

Useful theorems

Extensions for the general system Consistency Model

Truth Model

Flatness Model

Page 3: Metamathematics of contexts

How context formalism can be useful?

• In the context of situation calculus

• On(x , y , s) – Object x is on top of object y in situation s.

• Above(x , y , s) – Situation calculus does not have a definition for above.

So, using context formalism, the agent can (import) the definition of above from the context of common sense knowledge.

E.g. Above means on. The agent then should relate that Above(x , y, s) means On(x , y , s)

Page 4: Metamathematics of contexts

Propositional logic of contexts

• modality is used to express that sentence holds in context

• Each context has it’s own vocabulary.

• The vocabulary of a context is the set of atoms that are meaningful in that context.

Page 5: Metamathematics of contexts

Notation

• Given that X and Y are Sets then:

• is the set of partial functions from X to Y.

• is the set of subsets of X.

• is the set of all finite sequences in X that can be treated as a tree.

• is a range over .

• is the empty sequence.

Page 6: Metamathematics of contexts

Syntax

• Let be the set of all contexts, P be the set of all propositional atoms.

• We can now build the set of all well-formed formulas (wffs) using K and P in the following recursive fashion:

• We will also be using the following abbreviations

Page 7: Metamathematics of contexts

Semantics - Model

• In this system, a model , will be a function which maps a context sequence to a set of partial truth assignments denoted by or .

• Why a context sequence instead of a single context?

• The truth assignments need to be partial. Why?

Page 8: Metamathematics of contexts

Semantics - Vocabularies

• A Vocabulary of a context is the set of atoms that are meaningful in that context.

• is a function that given a model , returns the vocabulary for that model.

• Different contexts can have different vocabularies. That’s why the truth assignments need to be partial.

Page 9: Metamathematics of contexts

Semantics - Satisfaction

Why? Because we add a third logic value other than true, false. So if X is not true, it doesn’t have to be false.

Page 10: Metamathematics of contexts

Provability

• A formula is provable in context with vocabulary Vocab iff it is an instance of an axiom schema or follows from provable formulas by the inference rules mentioned above.

Page 11: Metamathematics of contexts

Useful Theorems

Ps. The previous theorems are proved using the axioms, inference rules in the previous slide.

Page 12: Metamathematics of contexts

System Extensions - Consistency

• Sometimes it’s desirable to ensure that all contexts are consistent.

• In this extension we examine the class of consistent models

. A model iff for any context sequence in the domain of that model holds.

• In other words, if no two truth assignments give different truth values for the same atom, then the model that maps the context to these truth assignments can be described as consistent.

Page 13: Metamathematics of contexts

System Extension - Truth

• A model is a truth model, formally iff for any context sequence in the domain of that model,

• In other words, if the model has only one or less truth assignment function, it can be described as a truth model.

Page 14: Metamathematics of contexts

System Extension - Flatness

• For some applications, all contexts will be identical regardless of which context are they viewed from. This is called flatness.

• A model is flat, formally , iff for any context sequences and any context

Page 15: Metamathematics of contexts

Questions

Page 16: Metamathematics of contexts

Thank you