annotate paper/src/cbc-condition.agda.replaced @ 9:95a5f8e76944

fix cbc_agda, cbc_hoare and Conclusion.tex
author ryokka
date Fri, 07 Feb 2020 21:40:26 +0900
parents
children e8655e0264b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
1 data whileTestState : Set where
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
2 s1 : whileTestState
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
3 s2 : whileTestState
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
4 sf : whileTestState
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
5
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
6 whileTestStateP : whileTestState @$\rightarrow$@ Envc @$\rightarrow$@ Set
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
7 whileTestStateP s1 env = (vari env @$\equiv$@ 0) /\ (varn env @$\equiv$@ c10 env)
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
8 whileTestStateP s2 env = (varn env + vari env @$\equiv$@ c10 env)
95a5f8e76944 fix cbc_agda, cbc_hoare and Conclusion.tex
ryokka
parents:
diff changeset
9 whileTestStateP sf env = (vari env @$\equiv$@ c10 env)