Symbolic Logic:Programming:Value Set Proof
Contents |
[edit] Set Membership Equivalence
[edit] Proof
Firstly is a Value Set because,
- A1 is true
- A3
- A4
is,
simplifies to,
which is true,
Secondly using A2,
so every Value Set Y with S(Y) = Y must equal
[edit] Functions of a Value Set
The following theorem gives the function on a value set of a type using the function of the type.
- (B1)
[edit] Proof
Let,
firstly we need to prove that K satisfies the axioms of a Value Set, if X is a value set,
[edit] Step 1
To prove that axiom A3 holds,
so,
[edit] Step 2
From (A4) applied to X,
which implies,
Which is (A4) applied to K.
[edit] Step 3
As obeys the definition of a Value Set now prove that it equals . Let .
From A6,
From A1,
which implies,
so,
but also by simplifying,
so from A2,
gives,
[edit] Function of Multiple Parameters
If F is a value set of functions on a value set of a values,
- (B2)
Let,
firstly we need to prove that K satisfies the axioms of a Value Set, if X is a value set,
[edit] Step 1
To prove that axiom A3 holds,
so,
gives,
which is A3 applied to K.
[edit] Step 2
From (A4) applied to F and X,
combining them,
gives,
as,
then
which is A4 applied to K.
[edit] Step 3
As satisfies the definition of a Value Set now prove that it equals . Let and . Then .
From A6,
From A1,
which implies,
so,
but also,
so from A2,
so,
[edit] Function of Vector of Parameters
If x is a vector, and X is a vector of Value Sets (representing multiple parameters) then,
- (B4)
[edit] Proof
Use induction. Firstly B1 gives the case for a scalar (n = 1).
Assume that B4 holds for a vector of size n then prove it holds for a vector of size n+1. Start with,
- (B3)
Let be a scalar and is a vector of size n. Also let .
Let,
then,
and,
Also let,
in,
- (B3)
becomes,
Which is B4 for n+1, so by induction B4 holds for any number of parameters >= 1.
[edit] Assertions on Value Sets
- (C1)
[edit] Proof
From A5
And, .
Using,
- (A1)
gives,
and,
or,
[edit] Pruning Empty Worlds
- (C2)
also,
which simplifies to,
so using A2,
[edit] Resolution
The standard form for Possible Worlds is defined as,
Then the resolution rule is,
If , and are a Value Sets, where
then,
[edit] Proof
therefore,
but,
so,
[edit] Links
- Symbolic Logic:Programming:Value Set
- Symbolic Logic:Programming:Value Set Programming
- Symbolic Logic:Programming
- Intelligence and Reasoning