Skip to content

Commit f71e049

Browse files
oskgostrub
authored andcommitted
clarify that only the topmost instance of the binary operator is decomposed.
1 parent 753ced1 commit f71e049

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

doc/tactics/hoare-split.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tactic: `hoare split`
55
The `hoare split` tactic applies to **Hoare-logic goals only** whose
66
postcondition is a conjunction.
77

8-
In this situation, the program is required to establish *all* components of
8+
In this situation, the program is required to establish *both* components of
99
the postcondition. The `hoare split` tactic makes this explicit by splitting
1010
the original goal into independent Hoare goals, one for each conjunct.
1111

@@ -17,6 +17,10 @@ only decomposes the logical structure of the postcondition.
1717
The `hoare split` tactic is new and subject to change. Its interface and
1818
behavior may evolve in future versions of EasyCrypt.
1919

20+
Currently, it only splits the top-most conjunction into two conjuncts.
21+
If you have nested conjunctions in the postcondition, you can
22+
apply `hoare split` multiple times to fully decompose the postcondition.
23+
2024
.. contents::
2125
:local:
2226

0 commit comments

Comments
 (0)