view Paper/src/cbc-condition.agda.replaced @ 0:c59202657321

init
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Nov 2021 06:55:58 +0900
parents
children 339fb67b4375
line wrap: on
line source

data whileTestState  : Set where
  s1 : whileTestState
  s2 : whileTestState
  sf : whileTestState

whileTestStateP : whileTestState @$\rightarrow$@ Envc @$\rightarrow$@  Set
whileTestStateP s1 env = (vari env @$\equiv$@ 0) @$\wedge$@ (varn env @$\equiv$@ c10 env)
whileTestStateP s2 env = (varn env + vari env @$\equiv$@ c10 env)
whileTestStateP sf env = (vari env @$\equiv$@ c10 env)