lemma wp_true [wp]: "p wp true = true" by (rel_simp)
theorem wp_assigns_r [wp]: "⟨σ⟩a wp r = σ † r" by rel_auto
theorem wp_skip_r [wp]: "II wp r = r" by rel_auto
theorem wp_abort [wp]: "r ≠ true ==> true wp r = false" by rel_auto
theorem wp_conj [wp]: "P wp (q ∧ r) = (P wp q ∧ P wp r)" by rel_auto
theorem wp_seq_r [wp]: "(P ;; Q) wp r = P wp (Q wp r)" by rel_auto
theorem wp_choice [wp]: "(P ⊓ Q) wp R = (P wp R ∧ Q wp R)" by (rel_auto)
theorem wp_cond [wp]: "(P ◃ b ▹r Q) wp r = ((b ==> P wp r) ∧ ((¬ b) ==> Q wp r))" by rel_auto
lemma wp_USUP_pre [wp]: "P wp (⊔i∈{0..n} ∙ Q(i)) = (⊔i∈{0..n} ∙ P wp Q(i))" by (rel_auto)
theorem wp_hoare_link: "{p}Q{r}u⟷ (Q wp r ⊑ p)" by rel_auto
text‹If two programs have the same weakest precondition for any postcondition then the programs
are the same.›
theorem wp_eq_intro: "[∧ r. P wp r = Q wp r ]==> P = Q" by (rel_auto robust, fastforce+) end
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.8Bemerkung:
(vorverarbeitet am 2026-06-13)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.