view 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 source

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 )))