prev: Table of Precedences
E [x := R] or ExR denotes an expression that is the same as E, but with all the occurrences of x replaced by "(R)". Unnecessary parentheses maybe removed after substitution.
e.g: (z + y) [z := 5] becomes ((5) + y) becomes (by removing unnecessary parentheses) (5 + y)
If x is a list of *distinct* x1,x2,...xn of variables and R a list R1 ,R2,...Rn of expressions then ExR denotes the *simultaneous* replacement in E of the variables of x by corresponding expressions of R, each expression being enclosed by parentheses.
(z + y) [z,y := 5,6] becomes ((5) + (6)) becomes (by removing unnecessary parentheses) (5 + 6)
next: Inference Rules
No comments:
Post a Comment