view Paper/src/bt_impl/bt_env.agda.replaced @ 32:4915eaa51ee0 default tip

Add front
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Thu, 23 Feb 2023 18:39:56 +0900
parents a72446879486
children
line wrap: on
line source

data bt {n : Level} (A : Set n) : Set n where
  leaf : bt A
  node :  (key : !$\mathbb{N}$!) !$\rightarrow$! (value : A) !$\rightarrow$!
    (left : bt A ) !$\rightarrow$! (right : bt A ) !$\rightarrow$! bt A

record Env {n : Level} (A : Set n) : Set n where
  field
    varn : !$\mathbb{N}$!
    varv : A
    vart : bt A
    varl : List (bt A)
open Env