Inference Rules: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Nicolas m added ONE_POINT_L |
imported>Nicolas m Added comment for one point rule with 'exists' quantifier |
||
Line 154: | Line 154: | ||
{{RRRow}}|*||{{Rulename|DISTINCT_CASE}}|| <math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(\textbf{P}) \qquad \textbf{H}, {WD}(\textbf{P}), \textbf{P} \;\;\vdash \;\; \textbf{\textbf{G}} \qquad \textbf{H}, {WD}(\textbf{P}), \lnot \textbf{P} \;\;\vdash \;\; \textbf{G}}{\textbf{H} \;\;\vdash\;\; \textbf{G}}</math> || case distinction on predicate <math>\textbf{P}</math> || M | {{RRRow}}|*||{{Rulename|DISTINCT_CASE}}|| <math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(\textbf{P}) \qquad \textbf{H}, {WD}(\textbf{P}), \textbf{P} \;\;\vdash \;\; \textbf{\textbf{G}} \qquad \textbf{H}, {WD}(\textbf{P}), \lnot \textbf{P} \;\;\vdash \;\; \textbf{G}}{\textbf{H} \;\;\vdash\;\; \textbf{G}}</math> || case distinction on predicate <math>\textbf{P}</math> || M | ||
{{RRRow}}| ||{{Rulename|ONE_POINT_L}}||<math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(E) \qquad \textbf{H}, \forall x, \ldots, \ldots,z \qdot [y \bcmeq E]\textbf{P} \land \ldots \land \ldots \land [y \bcmeq E]\textbf{Q} \limp [y \bcmeq E]\textbf{R} \;\;\vdash \;\; \textbf{G}}{ \textbf{H}, \forall x, \ldots, y, \ldots, z \qdot \textbf{P} \land \ldots \land y = E \land \ldots \land \textbf{Q} \limp \textbf{R} \;\;\vdash\;\; \textbf{G}}</math>|| | {{RRRow}}| ||{{Rulename|ONE_POINT_L}}||<math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(E) \qquad \textbf{H}, \forall x, \ldots, \ldots,z \qdot [y \bcmeq E]\textbf{P} \land \ldots \land \ldots \land [y \bcmeq E]\textbf{Q} \limp [y \bcmeq E]\textbf{R} \;\;\vdash \;\; \textbf{G}}{ \textbf{H}, \forall x, \ldots, y, \ldots, z \qdot \textbf{P} \land \ldots \land y = E \land \ldots \land \textbf{Q} \limp \textbf{R} \;\;\vdash\;\; \textbf{G}}</math>|| The rule can be applied with <math>\forall</math> as well as with <math>\exists</math> || A | ||
{{RRRow}}| ||{{Rulename|ONE_POINT_R}}||<math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(E) \qquad \textbf{H} \;\;\vdash \;\; \forall x, \ldots, \ldots,z \qdot [y \bcmeq E]\textbf{P} \land \ldots \land \ldots \land [y \bcmeq E]\textbf{Q} \limp [y \bcmeq E]\textbf{R} }{ \textbf{H} \;\;\vdash\;\; \forall x, \ldots, y, \ldots, z \qdot \textbf{P} \land \ldots \land y = E \land \ldots \land \textbf{Q} \limp \textbf{R} }</math>|| | {{RRRow}}| ||{{Rulename|ONE_POINT_R}}||<math>\frac{\textbf{H} \;\;\vdash \;\; {WD}(E) \qquad \textbf{H} \;\;\vdash \;\; \forall x, \ldots, \ldots,z \qdot [y \bcmeq E]\textbf{P} \land \ldots \land \ldots \land [y \bcmeq E]\textbf{Q} \limp [y \bcmeq E]\textbf{R} }{ \textbf{H} \;\;\vdash\;\; \forall x, \ldots, y, \ldots, z \qdot \textbf{P} \land \ldots \land y = E \land \ldots \land \textbf{Q} \limp \textbf{R} }</math>|| The rule can be applied with <math>\forall</math> as well as with <math>\exists</math> || A | ||
|} | |} |
Revision as of 09:00, 15 July 2009
Conventions used in these tables are described in The_Proving_Perspective_(Rodin_User_Manual)#Inference_Rules
Name | Rule | Side Condition | A/M
| |
---|---|---|---|---|
* | HYP |
![]() |
A
| |
* | HYP_OR |
![]() |
A
| |
* | CNTR |
![]() |
A
| |
* | FALSE_HYP |
![]() |
A
| |
* | TRUE_GOAL |
![]() |
A
| |
* | FUN_GOAL |
![]() |
where ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
A
|
* | DBL_HYP |
![]() |
A
| |
* | AND_L |
![]() |
A
| |
* | AND_R |
![]() |
A
| |
* | IMP_L1 |
![]() |
A
| |
* | IMP_R |
![]() |
A
| |
* | IMP_AND_L |
![]() |
A
| |
* | IMP_OR_L |
![]() |
A
| |
* | AUTO_MH |
![]() |
A
| |
* | NEG_IN_L |
![]() |
A
| |
* | NEG_IN_R |
![]() |
A
| |
* | XST_L |
![]() |
A
| |
* | ALL_R |
![]() |
A
| |
* | EQL_LR |
![]() |
![]() ![]() |
A
|
* | EQL_RL |
![]() |
![]() ![]() |
A
|
SUBSET_INTER |
![]() |
the ![]() |
A
| |
IN_INTER |
![]() |
the ![]() |
A
| |
NOTIN_INTER |
![]() |
the ![]() |
A
| |
* | CONTRADICT_L |
![]() |
M
| |
* | CONTRADICT_R |
![]() |
M
| |
* | CASE |
![]() |
M
| |
* | MH |
![]() |
M
| |
* | HM |
![]() |
M
| |
* | EQV |
![]() |
M
| |
* | OV_L |
![]() |
the ![]() |
M
|
* | OV_R |
![]() |
the ![]() |
M
|
* | OV_L |
![]() |
the ![]() |
M
|
* | OV_R |
![]() |
the ![]() |
M
|
* | DIS_BINTER_R |
![]() |
the occurrence of ![]() ![]() ![]() |
M
|
* | DIS_SETMINUS_R |
![]() |
the occurrence of ![]() ![]() ![]() |
M
|
* | SIM_REL_IMAGE_R |
![]() |
the occurrence of ![]() |
M
|
* | SIM_FCOMP_R |
![]() |
the occurrence of ![]() |
M
|
* | FIN_SUBSETEQ_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_BINTER_R |
![]() |
M
| |
* | FIN_SETMINUS_R |
![]() |
M
| |
* | FIN_REL_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_REL_IMG_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_REL_RAN_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_REL_DOM_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_FUN1_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_FUN2_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_FUN_IMG_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_FUN_RAN_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | FIN_FUN_DOM_R |
![]() |
the user has to write the set corresponding to ![]() |
M
|
* | LOWER_BOUND_L |
![]() |
![]() |
M
|
* | LOWER_BOUND_R |
![]() |
![]() |
M
|
* | UPPER_BOUND_L |
![]() |
![]() |
M
|
* | UPPER_BOUND_R |
![]() |
![]() |
M
|
* | FIN_LT_0 |
![]() |
M
| |
* | FIN_GE_0 |
![]() |
M
| |
* | CARD_INTERV |
![]() |
![]() |
M
|
* | CARD_EMPTY_INTERV |
![]() |
![]() |
M
|
* | CARD_SUBSETEQ |
![]() |
M
| |
* | FORALL_INST |
![]() |
![]() ![]() |
M
|
* | FORALL_INST_MP |
![]() |
![]() ![]() |
M
|
* | CUT |
![]() |
hypothesis ![]() |
M
|
* | EXISTS_INST |
![]() |
![]() ![]() |
M
|
* | DISTINCT_CASE |
![]() |
case distinction on predicate ![]() |
M
|
ONE_POINT_L |
![]() |
The rule can be applied with ![]() ![]() |
A
| |
ONE_POINT_R |
![]() |
The rule can be applied with ![]() ![]() |
A |