annotate prepaper/src/whileTestSemSound.agda.replaced @ 0:3dba680da508

init-test
author soto
date Tue, 08 Dec 2020 19:06:49 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3dba680da508 init-test
soto
parents:
diff changeset
1 whileTestPSemSound : (c : @$\mathbb{N}$@ ) (output : Envc )
3dba680da508 init-test
soto
parents:
diff changeset
2 @$\rightarrow$@ output @$\equiv$@ whileTestP c (@$\lambda$@ e @$\rightarrow$@ e)
3dba680da508 init-test
soto
parents:
diff changeset
3 @$\rightarrow$@ @$\top$@ implies ((vari output @$\equiv$@ 0) @$\wedge$@ (varn output @$\equiv$@ c))
3dba680da508 init-test
soto
parents:
diff changeset
4 whileTestPSemSound c output refl = proof (@$\lambda$@ _ @$\rightarrow$@ record { pi1 = refl ; pi2 = refl })