view paper/src/term1.agda @ 19:046b2b20d6c7 default tip

fix
author ryokka
date Mon, 09 Mar 2020 11:25:49 +0900
parents 8ef64db63497
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