Mercurial > hg > Papers > 2019 > ryokka-sigss
comparison Paper/src/term1.agda.replaced @ 8:83d000399c9d
fix invisible char
author | ryokka |
---|---|
date | Tue, 18 Dec 2018 04:08:28 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
7:b5f17725a347 | 8:83d000399c9d |
---|---|
1 stmt2Cond : {c10 :@$\mathbb{N}$@} → Cond | |
2 stmt2Cond {c10} env = (Equal (varn env) c10) @$\wedge$@ (Equal (vari env) 0) | |
3 | |
4 lemma1 : {c10 :@$\mathbb{N}$@} → Axiom (stmt1Cond {c10}) (@$\lambda$@ env → record { varn = varn env ; vari = 0 }) (stmt2Cond {c\ | |
5 10}) | |
6 lemma1 {c10} env = impl@$\Rightarrow$@ ( @$\lambda$@ cond → let open @$\equiv$@-Reasoning in | |
7 begin | |
8 ? -- ?0 | |
9 @$\equiv$@@$\langle$@ ? @$\rangle$@ -- ?1 | |
10 ? -- ?2 | |
11 @$\blacksquare$@ ) | |
12 | |
13 -- ?0 : Bool | |
14 -- ?1 : stmt2Cond (record { varn = varn env ; vari = 0 }) @$\equiv$@ true | |
15 -- ?2 : Bool |