Mercurial > hg > Papers > 2021 > soto-prosym
view Paper/src/term1.agda @ 0:c59202657321
init
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Nov 2021 06:55:58 +0900 |
parents | |
children |
line wrap: on
line source
stmt2Cond : {c10 :ℕ} → Cond stmt2Cond {c10} env = (Equal (varn env) c10) ∧ (Equal (vari env) 0) lemma1 : {c10 :ℕ} → Axiom (stmt1Cond {c10}) (λ env → record { varn = varn env ; vari = 0 }) (stmt2Cond {c10}) lemma1 {c10} env = impl⇒ ( λ cond → let open ≡-Reasoning in begin ? -- ?0 ≡⟨ ? ⟩ -- ?1 ? -- ?2 ∎ ) -- ?0 : Bool -- ?1 : stmt2Cond (record { varn = varn env ; vari = 0 }) ≡ true -- ?2 : Bool