Mercurial > hg > Papers > 2021 > soto-prosym
diff Paper/src/while_loop_verif/verif_term.agda.replaced @ 2:9176dff8f38a
ADD while loop description
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 05 Nov 2021 15:19:08 +0900 |
parents | |
children | 339fb67b4375 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Paper/src/while_loop_verif/verif_term.agda.replaced Fri Nov 05 15:19:08 2021 +0900 @@ -0,0 +1,5 @@ +whileTestSpec1 : (c10 : @$\mathbb{N}$@) @$\rightarrow$@ (e1 : Env ) @$\rightarrow$@ vari e1 @$\equiv$@ c10 @$\rightarrow$@ @$\top$@ +whileTestSpec1 _ _ x = tt + +proofGears : {c10 : @$\mathbb{N}$@ } @$\rightarrow$@ @$\top$@ +proofGears {c10} = whileTest@$\prime$@ {_} {_} {c10} (@$\lambda$@ n p1 @$\rightarrow$@ conversion1 n p1 (@$\lambda$@ n1 p2 @$\rightarrow$@ whileLoop@$\prime$@ n1 p2 (@$\lambda$@ n2 p3 @$\rightarrow$@ whileTestSpec1 c10 n2 p3 ))) \ No newline at end of file