CADiZ

Reference manual / Z-related commands / In situ replacement commands / generalization


The generalization command disjoins with a predicate a similar predicate from which selected free variables are universally quantified.

p(i)   \trarrow   p(i) \lor (\forall i : \tau @ p(i))

Interactively, one or more free variables (reference expressions) within the predicate must be crossed, and the predicate itself must be selected and inspected. All the selections must be within a goal.

The generalization command is analogous to the quantification tac command in reverse. It is particularly useful in preparing a numeric formula for the linear decision command, which is not applicable in the presence of free variables.

Tactic example

"generalization" p e1 e2

This example applies the generalization command to predicate p containing free variables e1 and e2.


IT 19-Apr-2000