Simple Case - one component or variable can change.
$ Net{S,W(x',x,y,z)}::= rel [s1,s2:$ S](s1.z=s2.z and s2.y=s1.y and W(s2.x, s1.x, s2.y, s2.z) )
Examples of simple changes
. . . . . . . . . ( end of section Examples of simple changes) <<Contents | End>> In general a dynamic predicate contains one or more variables that end with apostrophes. These variables are called the dynamic variables, and the others are called the static variables. For example in
A more general form is: $ Net{S, W(x1', x2',..., x1, x2,..., z1, z2,...))} ::= rel [s1,s2:$ S] (s2.(z1, z2,..)=s1.(z1, z2,...) and W(s2.x1, s2.x2, ..., s1.x1, s1.x2, ..., s2.z1, s2.z2,...) where S is any documentation defining the state space.
If there are several assertions they are equivalent to their conjunction:
Notice that if a predicate appears that has no dynamic variables then it specifies a condition - something that must be true for the process to complete successfully.
If a record (in a database, program, object, etc) is described by documentation Net{D} and w is a dynamic predicate in the variables of D then
For example, given
then
If a record (in a database, program, object, etc) is described by named documentation N=Net{D} thenN' (N-prime) stands for network with the same variables as N, but with he variables in its wffs decorated by a prime[ as in Z]. For example
Putting these above rules to work we can document the end of quarter update to an enrolment as
In general the effect of
Conveniences
It is usually convenient to omit the types of the variables when dynamic
predicates appear in a relational expression. In this case the the
predicate inherits the previous state space. Further, the dollars and
braces can be ommitted without ambiguity.
If Example=(y::Int; y'=x; do(y>3; y'=y-3);y<=3)
Problem
Given N1 and N2 are Dynamic - calculate $ N1;$ N2.
Algorithm
Suppose $ N3= $ N1; $ N2 then N3 is found by
List
. . . . . . . . . ( end of section List) <<Contents | End>>
Example Calcuations
Quasi-Normal Form
It is easy to show that any relational expression with no 'do's and made up
of simple dynamic predicates can have its semicolons removed and be reduced
to a non-unique but standard conjunctive form:
. . . . . . . . . ( end of section Calculations) <<Contents | End>>
Sequential Structures
. . . . . . . . . ( end of section Sequential Structures) <<Contents | End>>
These are still used by systems analysts even tho' they are no longer fashionable [ http://www.csci.csusb.edu/dick/papers/rjb04bDFDs/ ] and misunderstood.
A combination of my Flosets and standard Digraphs can be used to model systems of communicating parts: [ math_23_Flow_Diagrams.html ] without specifying the precise interactions.
[click here
if you can fill this hole]
Parallel Operations
The intersection of two relations requires both of them to hold:
Notice that a simple expression can stop the processing
Worse
This motivates the follwoing two abbreviations:
.RoadWorksAhead
Most intractable problems have a form like this.
[click here
if you can fill this hole]
. . . . . . . . . ( end of section Concurrent Structures) <<Contents | End>>
. . . . . . . . . ( end of section Dynamics) <<Contents | End>>
Notes on MATHS Notation
Special characters are defined in
[ intro_characters.html ]
that also outlines the syntax of expressions and a document.
Proofs follow a natural deduction style that start with assumptions ("Let") and continue to a consequence ("Close Let") and then discard the assumptions and deduce a conclusion. Look here [ Block Structure in logic_25_Proofs ] for more on the structure and rules.
The notation also allows you to create a new network of variables and constraints. A "Net" has a number of variables (including none) and a number of properties (including none) that connect variables. You can give them a name and then reuse them. The schema, formal system, or an elementary piece of documentation starts with "Net" and finishes "End of Net". For more, see [ notn_13_Docn_Syntax.html ] for these ways of defining and reusing pieces of logic and algebra in your documents. A quick example: a circle = Net{radius:Positive Real, center:Point}.
For a complete listing of pages in this part of my site by topic see [ home.html ]
Notes on the Underlying Logic of MATHS
The notation used here is a formal language with syntax
and a semantics described using traditional formal logic
[ logic_0_Intro.html ]
plus sets, functions, relations, and other mathematical extensions.
For a more rigorous description of the standard notations see