Module Type KNOT_BASIC.
Declare Module KI:KNOT_FULL_BASIC_INPUT.
Parameter knot: Type.
Parameter ageable_knot : ageable knot.
Existing Instance ageable_knot.
Parameter predicate: Type.
Parameter squash : (nat * F predicate) -> knot.
Parameter unsquash : knot -> (nat * F predicate).
Parameter approx : nat -> predicate -> predicate.

Axiom unsquash_squash : forall (n:nat) (f:F predicate),
unsquash (squash (n,f)) = (n, fmap F (approx n) (approx n) f).