$ moses-verifier --tu-darmstadt --sem formal
TU Darmstadt • MAIS • Modellierung, Spezifikation und Semantik

Modellierung, Spezifikation und Semantik (MoSeS)

Interaktives Lehr- und Simulationslabor für Formale Methoden (TU Darmstadt). Verstehen und verifizieren Sie Hoare-Tripel $\{P\}\,c\,\{Q\}$, schwächste Vorbedingungen ($wp$), operationelle Big-Step Semantik ($\Downarrow$), Kripke-Strukturen & Temporallogik (LTL/CTL) sowie Resolutions- und DPLL-Beweise.

[+] Klausur-Programme:

Hoare-Spezifikation $\{P\}\,c\,\{Q\}$

WHILE-Sprache

Verifikationsbedingungen (VCG) & Korrektheit

✓ Partiell Korrekt
Angewendete Hoare-Regeln:
1. Zuweisungsaxiom: $\{Q[E/x]\}\;x := E\;\{Q\}$
2. Sequenzregel: $\{P\}\,c_1\,\{R\} \wedge \{R\}\,c_2\,\{Q\} \implies \{P\}\,c_1; c_2\,\{Q\}$
3. While-Regel: $\{I \wedge b\}\,c\,\{I\} \implies \{I\}\,\text{while } b \text{ do } c\,\{I \wedge \neg b\}$
4. Konsequenzregel: $(P \implies P') \wedge \{P'\}\,c\,\{Q'\} \wedge (Q' \implies Q) \implies \{P\}\,c\,\{Q\}$