Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/agda-mcg.agda.replaced @ 11:831316a767e8
add hoare figure
author | ryokka |
---|---|
date | Mon, 10 Feb 2020 14:20:21 +0900 |
parents | 95a5f8e76944 |
children | e8655e0264b8 |
line wrap: on
line source
whileTestPwP : {l : Level} {t : Set l} @$\rightarrow$@ (c10 : @$\mathbb{N}$@) @$\rightarrow$@ ((env : Envc ) @$\rightarrow$@ (mdg : (vari env @$\equiv$@ 0) /\ (varn env @$\equiv$@ c10 env)) @$\rightarrow$@ t) @$\rightarrow$@ t whileTestPwP c10 next = next env record { pi1 = refl ; pi2 = refl } where env : Envc env = whileTestP c10 ( @$\lambda$@ env @$\rightarrow$@ env )