Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/term1.agda.replaced @ 2:c7acb9211784
add code, figure. and paper fix content
author | ryokka |
---|---|
date | Mon, 27 Jan 2020 20:41:36 +0900 |
parents | |
children | b5fffa8ae875 |
line wrap: on
line source
stmt2Cond : {c10 :@$\mathbb{N}$@} → Cond stmt2Cond {c10} env = (Equal (varn env) c10) @$\wedge$@ (Equal (vari env) 0) lemma1 : {c10 :@$\mathbb{N}$@} → Axiom (stmt1Cond {c10}) (@$\lambda$@ env → record { varn = varn env ; vari = 0 }) (stmt2Cond {c\ 10}) lemma1 {c10} env = impl@$\Rightarrow$@ ( @$\lambda$@ cond → let open @$\equiv$@-Reasoning in begin ? -- ?0 @$\equiv$@@$\langle$@ ? @$\rangle$@ -- ?1 ? -- ?2 @$\blacksquare$@ ) -- ?0 : Bool -- ?1 : stmt2Cond (record { varn = varn env ; vari = 0 }) @$\equiv$@ true -- ?2 : Bool