Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/axiom-taut.agda.replaced @ 4:b5fffa8ae875
fix chapter hoare
author | ryokka |
---|---|
date | Wed, 29 Jan 2020 22:36:17 +0900 |
parents | c7acb9211784 |
children |
line wrap: on
line source
_@$\Rightarrow$@_ : Bool @$\rightarrow$@ Bool @$\rightarrow$@ Bool false @$\Rightarrow$@ _ = true true @$\Rightarrow$@ true = true true @$\Rightarrow$@ false = false Axiom : Cond @$\rightarrow$@ PrimComm @$\rightarrow$@ Cond @$\rightarrow$@ Set Axiom pre comm post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ ( post (comm env)) @$\equiv$@ true Tautology : Cond @$\rightarrow$@ Cond @$\rightarrow$@ Set Tautology pre post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ (post env) @$\equiv$@ true