diff --git a/prover/strategies/core.md b/prover/strategies/core.md index 4a5a95ac9..07693e8af 100644 --- a/prover/strategies/core.md +++ b/prover/strategies/core.md @@ -63,10 +63,11 @@ cooled back into the sequence strategy. ```k syntax ResultStrategy ::= "#hole" - rule S1 . S2 => S1 ~> #hole . S2 ... + rule S1 . S2 => S1 ~> #hole . S2 requires notBool(isResultStrategy(S1)) andBool notBool(isSequenceStrategy(S1)) - rule S1:ResultStrategy ~> #hole . S2 => S1 . S2 ... + rule GOAL:Pattern + S1:ResultStrategy ~> #hole . S2 => subgoal(GOAL, S1 . S2) ``` The `noop` (no operation) strategy is the unit for sequential composition: