Equations
- One or more equations did not get rendered due to their size.
- Core.instReprTyp.repr Core.Typ.int prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Core.Typ.int")).group prec✝
- Core.instReprTyp.repr Core.Typ.top prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Core.Typ.top")).group prec✝
Instances For
Equations
- Core.instReprTyp = { reprPrec := Core.instReprTyp.repr }
Equations
- Core.substTyp d S Core.Typ.int = Core.Typ.int
- Core.substTyp d S Core.Typ.top = Core.Typ.top
- Core.substTyp d S (a.arr a_1) = (Core.substTyp d S a).arr (Core.substTyp d S a_1)
- Core.substTyp d S (a.and a_1) = (Core.substTyp d S a).and (Core.substTyp d S a_1)
- Core.substTyp d S (a.or a_1) = (Core.substTyp d S a).or (Core.substTyp d S a_1)
- Core.substTyp d S (Core.Typ.rcd a a_1) = Core.Typ.rcd a (Core.substTyp d S a_1)
- Core.substTyp d S (Core.Typ.var a) = if a = d then S else Core.Typ.var a
- Core.substTyp d S a.mu = (Core.substTyp (d + 1) S a).mu
Instances For
- query : Exp
- proj : Exp → Nat → Exp
- lit : Nat → Exp
- unit : Exp
- lam : Typ → Exp → Exp
- box : Exp → Exp → Exp
- clos : Exp → Typ → Exp → Exp
- app : Exp → Exp → Exp
- mrg : Exp → Exp → Exp
- lrec : String → Exp → Exp
- rproj : Exp → String → Exp
- inl : Typ → Exp → Exp
- inr : Typ → Exp → Exp
- case : Exp → Exp → Exp → Exp
- flam : Typ → Typ → Exp → Exp
- fclos : Exp → Typ → Typ → Exp → Exp
- fold : Typ → Exp → Exp
- unfold : Exp → Exp
Instances For
Equations
- Core.instReprExp = { reprPrec := Core.instReprExp.repr }
Equations
- One or more equations did not get rendered due to their size.
- Core.instReprExp.repr Core.Exp.query prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Core.Exp.query")).group prec✝
- Core.instReprExp.repr Core.Exp.unit prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Core.Exp.unit")).group prec✝
Instances For
- vint {n : Nat} : Value (Exp.lit n)
- vunit : Value Exp.unit
- vclos {v : Exp} {A : Typ} {e : Exp} : Value v → Value (v.clos A e)
- vrcd {v : Exp} {l : String} : Value v → Value (Exp.lrec l v)
- vmrg {v1 v2 : Exp} : Value v1 → Value v2 → Value (v1.mrg v2)
- vinl {v : Exp} {B : Typ} : Value v → Value (Exp.inl B v)
- vinr {v : Exp} {A : Typ} : Value v → Value (Exp.inr A v)
- vfclos {v : Exp} {A B : Typ} {e : Exp} : Value v → Value (v.fclos A B e)
- vfold {v : Exp} {T : Typ} : Value v → Value (Exp.fold T v)