Mercurial > hg > Papers > 2020 > ryokka-master
annotate 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 |
rev | line source |
---|---|
4 | 1 _@$\Rightarrow$@_ : Bool @$\rightarrow$@ Bool @$\rightarrow$@ Bool |
2 | 2 false @$\Rightarrow$@ _ = true |
3 true @$\Rightarrow$@ true = true | |
4 true @$\Rightarrow$@ false = false | |
5 | |
6 Axiom : Cond @$\rightarrow$@ PrimComm @$\rightarrow$@ Cond @$\rightarrow$@ Set | |
4 | 7 Axiom pre comm post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ ( post (comm env)) @$\equiv$@ true |
2 | 8 |
9 Tautology : Cond @$\rightarrow$@ Cond @$\rightarrow$@ Set | |
4 | 10 Tautology pre post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ (post env) @$\equiv$@ true |