Module Raw := MSet.Raw.Fixpoint raw_mem_between (m: Raw.tree) : bool :=
  match m with
  | Raw.Leaf => false
  | Raw.Node _ l x r =>
      if above_low_bound x
      then if below_high_bound x
           then true
           else raw_mem_between l
      else raw_mem_between r
  end.Definition mem_between (m: t) : bool := raw_mem_between m.(MSet.this).

Lemma raw_mem_between_1: forall m, raw_mem_between m = true -> exists x, Raw.In x m /\ above_low_bound x = true /\ below_high_bound x = true.