Function entails_implies_leads_to
Source pub proof fn entails_implies_leads_to<T>(
spec: TempPred<T>,
p: TempPred<T>,
q: TempPred<T>,
)
Expand description
requiresp.entails(q),
ensuresspec.entails(p.leads_to(q)),
If p ⇒ q for all executions, then p ⇝ q.
§Preconditions
§Postconditions
NOTE: there is no constraint on spec, it can be true_pred().