Skip to content
Snippets Groups Projects
Commit cfdef486 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Remove some unnecessary Implicit Types.

These are no longer needed, since fill is no longer a type class.
parent 228dff90
No related branches found
No related tags found
No related merge requests found
...@@ -108,9 +108,6 @@ Inductive ectx_item := ...@@ -108,9 +108,6 @@ Inductive ectx_item :=
Notation ectx := (list ectx_item). Notation ectx := (list ectx_item).
Implicit Types Ki : ectx_item.
Implicit Types K : ectx.
Definition fill_item (Ki : ectx_item) (e : expr) : expr := Definition fill_item (Ki : ectx_item) (e : expr) : expr :=
match Ki with match Ki with
| AppLCtx e2 => App e e2 | AppLCtx e2 => App e e2
...@@ -195,7 +192,7 @@ Definition atomic (e: expr) := ...@@ -195,7 +192,7 @@ Definition atomic (e: expr) :=
We could potentially make this a generic construction. *) We could potentially make this a generic construction. *)
Inductive prim_step Inductive prim_step
(e1 : expr) (σ1 : state) (e2 : expr) (σ2: state) (ef: option expr) : Prop := (e1 : expr) (σ1 : state) (e2 : expr) (σ2: state) (ef: option expr) : Prop :=
Ectx_step (K : ectx) e1' e2' : Ectx_step K e1' e2' :
e1 = fill K e1' e2 = fill K e2' e1 = fill K e1' e2 = fill K e2'
head_step e1' σ1 e2' σ2 ef prim_step e1 σ1 e2 σ2 ef. head_step e1' σ1 e2' σ2 ef prim_step e1 σ1 e2 σ2 ef.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment