Module Type KNOT_PROP.
Declare Module TF:TY_FUNCTOR_PROP.
Parameter knot : Type.
Parameter ag_knot : ageable knot.
Existing Instance ag_knot.
Existing Instance ag_prod.
Definition predicate := (knot * other) -> Prop.
Parameter squash : (nat * F predicate) -> knot.
Parameter unsquash : knot -> (nat * F predicate).
Definition approx (n:nat) (p:predicate) : predicate :=
fun w => level w < n /\ p w.

Axiom squash_unsquash : forall x, squash (unsquash x) = x.
Axiom unsquash_squash : forall n x', unsquash (squash (n,x')) = (n, fmap F (approx n) x').