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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b5fffa8ae875 fix chapter hoare
ryokka
parents: 2
diff changeset
1 _@$\Rightarrow$@_ : Bool @$\rightarrow$@ Bool @$\rightarrow$@ Bool
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 false @$\Rightarrow$@ _ = true
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3 true @$\Rightarrow$@ true = true
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
4 true @$\Rightarrow$@ false = false
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
5
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
6 Axiom : Cond @$\rightarrow$@ PrimComm @$\rightarrow$@ Cond @$\rightarrow$@ Set
4
b5fffa8ae875 fix chapter hoare
ryokka
parents: 2
diff changeset
7 Axiom pre comm post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ ( post (comm env)) @$\equiv$@ true
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
8
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
9 Tautology : Cond @$\rightarrow$@ Cond @$\rightarrow$@ Set
4
b5fffa8ae875 fix chapter hoare
ryokka
parents: 2
diff changeset
10 Tautology pre post = @$\forall$@ (env : Env) @$\rightarrow$@ (pre env) @$\Rightarrow$@ (post env) @$\equiv$@ true