Equations
- SCE.instReprTyp = { reprPrec := SCE.instReprTyp.repr }
Equations
- One or more equations did not get rendered due to their size.
- SCE.instReprTyp.repr SCE.Typ.int prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Typ.int")).group prec✝
- SCE.instReprTyp.repr SCE.Typ.top prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Typ.top")).group prec✝
Instances For
Equations
- SCE.substTyp d S SCE.Typ.int = SCE.Typ.int
- SCE.substTyp d S SCE.Typ.top = SCE.Typ.top
- SCE.substTyp d S (a.arr a_1) = (SCE.substTyp d S a).arr (SCE.substTyp d S a_1)
- SCE.substTyp d S (a.marr a_1) = (SCE.substTyp d S a).marr (SCE.substTyp d S a_1)
- SCE.substTyp d S a.sig = (SCE.substTyp d S a).sig
- SCE.substTyp d S (a.and a_1) = (SCE.substTyp d S a).and (SCE.substTyp d S a_1)
- SCE.substTyp d S (a.or a_1) = (SCE.substTyp d S a).or (SCE.substTyp d S a_1)
- SCE.substTyp d S (SCE.Typ.rcd a a_1) = SCE.Typ.rcd a (SCE.substTyp d S a_1)
- SCE.substTyp d S (SCE.Typ.var a) = if a = d then S else SCE.Typ.var a
- SCE.substTyp d S a.mu = (SCE.substTyp (d + 1) S a).mu
Instances For
Equations
- SCE.instReprSandbox = { reprPrec := SCE.instReprSandbox.repr }
Equations
- SCE.instReprSandbox.repr SCE.Sandbox.sandboxed prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Sandbox.sandboxed")).group prec✝
- SCE.instReprSandbox.repr SCE.Sandbox.open_ prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Sandbox.open_")).group prec✝
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
- mstruct : Exp → Exp
- mfunctor : Sandbox → Typ → Exp → Exp
- mclos : Exp → Typ → Exp → Exp
- mlink : Exp → Exp → Exp
- mapp : Exp → Exp → Exp
- nmrg : Exp → Exp → Exp
- letb : Exp → Exp → Exp
- openm : Exp → Exp → Exp
- mlinkn : Exp → Exp → 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
- One or more equations did not get rendered due to their size.
- SCE.instReprExp.repr SCE.Exp.query prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Exp.query")).group prec✝
- SCE.instReprExp.repr SCE.Exp.unit prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "SCE.Exp.unit")).group prec✝
Instances For
Equations
- SCE.instReprExp = { reprPrec := SCE.instReprExp.repr }
- 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)
- vmclos {v : Exp} {A : Typ} {e : Exp} : Value v → Value (v.mclos A e)
- vmstruct {v : Exp} : Value v → Value v.mstruct
- vmrg {v₁ v₂ : Exp} : Value v₁ → Value v₂ → Value (v₁.mrg v₂)
- vlrec {v : Exp} {l : String} : Value v → Value (Exp.lrec l v)
- 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)
Instances For
- rcd (label : String) (T : Typ) : LabelIn label (Typ.rcd label T)
- andl (A B : Typ) (label : String) : LabelIn label A → LabelIn label (A.and B)
- andr (A B : Typ) (label : String) : LabelIn label B → LabelIn label (A.and B)
- sig (A : Typ) (label : String) : LabelIn label A → LabelIn label A.sig
Instances For
- zero (label : String) (T : Typ) : SRLookup (Typ.rcd label T) label T
- andl (A B : Typ) (label : String) (T : Typ) : SRLookup A label T → ¬LabelIn label B → SRLookup (A.and B) label T
- andr (A B : Typ) (label : String) (T : Typ) : SRLookup B label T → ¬LabelIn label A → SRLookup (A.and B) label T
- sig (A : Typ) (label : String) (T : Typ) : SRLookup A label T → SRLookup A.sig label T