Conversation
|
The hoare case can be done outside the TCB using |
|
There is still value in considering a high-level (non-TCB) tactic that infers the split postconditions and internally produces the As an aside, I think we could generalize this to split all program-independent products that sit at the head of the postcondition (including universal quantification, and implications whose LHS does not use program variables). |
|
Ok. Will move it outside the TCB, I should have seen that. But the tactic (that is going to have more complex inference mechanism) allows better proof edition. |
|
Done. As a side note, the internal API for conseq is a non-sense and has to be rewritten. |
Introduce a new Hoare-only tactic `hoare split` that decomposes goals with conjunctive postconditions into independent Hoare goals. It is intentionally restricted to Hoare logic, where this rule is sound.
|
The docs say that it should be splitting apart conjunctions recursively ("one for each conjunct"), but the implementation doesn't do that. |
Introduce a new Hoare-only tactic
hoare splitthat decomposes goals with conjunctive postconditions into independent Hoare goals.It is intentionally restricted to Hoare logic, where this rule is sound.