let prop_unop mem op tyr e te =
    let ct1 = object_of te in
    let ctr = object_of tyr in
    match op with
      | Neg  ->
          begin
            match ctr,ct1 with
              | C_int ir , C_int i1 ->
                  prop_of_int (A.i_neg ir (expr_int mem i1 ir e))
              | C_float fr , C_float f1 ->
                  prop_of_float (R.f_neg fr (expr_float mem f1 fr e))
              | _ -> assert false
          end
      | BNot ->
          begin
            match ctr,ct1 with
              | C_int ir , C_int i1 -> not_of_int (expr_int mem i1 ir e)
              | _ -> assert false
          end
      | LNot -> let term = !expr_rec mem e in not_of_value term