comparison 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
comparison
equal deleted inserted replaced
1:3910f4639344 2:9176dff8f38a
1 whileTestSpec1 : (c10 : @$\mathbb{N}$@) @$\rightarrow$@ (e1 : Env ) @$\rightarrow$@ vari e1 @$\equiv$@ c10 @$\rightarrow$@ @$\top$@
2 whileTestSpec1 _ _ x = tt
3
4 proofGears : {c10 : @$\mathbb{N}$@ } @$\rightarrow$@ @$\top$@
5 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 )))