Module TF := TyFunctorProp2TyFunctor(K.TF).
Definition knot : Type := K.knot.
Definition predicate := (knot * other) -> T.
Definition ag_knot : ageable knot :=
K.ag_knot.
Existing Instance ag_knot.
Existing Instance ag_prod.
Definition squash : (nat * F predicate) -> knot :=
K.squash.
Definition unsquash : knot -> (nat * F predicate) :=
K.unsquash.
Definition approx (n:nat) (p:predicate) : predicate :=
fun w => if le_gt_dec n (level w) then T_bot else p w.

Lemma squash_unsquash : forall x, squash (unsquash x) = x.