Mercurial > hg > Papers > 2021 > soto-thesis
view paper/src/term1.agda @ 4:bf1f62556b81
add while_test_init_imple
author | soto |
---|---|
date | Thu, 11 Feb 2021 17:03:31 +0900 |
parents | 959f4b34d6f4 |
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