view prepaper/src/whileTestSemSound.agda @ 0:3dba680da508

init-test
author soto
date Tue, 08 Dec 2020 19:06:49 +0900
parents
children
line wrap: on
line source

whileTestPSemSound : (c : ℕ ) (output : Envc )
  → output ≡ whileTestP c (λ e → e)
  → ⊤ implies ((vari output ≡ 0) ∧ (varn output ≡ c))
  whileTestPSemSound c output refl = proof (λ _ → record { pi1 = refl ; pi2 = refl })