anchor.diff:        EBufCreate (Stack, translate_expr env init, EConstant (UInt32, "1"))
   
     | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e2 ])
  -    when (string_of_mlpath p = "FStar.Buffer.createL" || string_of_mlpath p = "LowStar.Buffer.alloca_of_list" ||
  -          string_of_mlpath p = "LowStar.Monotonic.Buffer.malloca_of_list") ->
  +    when (string_of_mlpath p = "FStar.Buffer.createL" || string_of_mlpath p = "LowStar.Monotonic.Buffer.malloca_of_list") ->
         EBufCreateL (Stack, List.map (translate_expr env) (list_elements e2))
   
     | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ _; e2 ])
  -    when string_of_mlpath p = "LowStar.Buffer.gcmalloc_of_list" ||
  -         string_of_mlpath p = "LowStar.Monotonic.Buffer.mgcmalloc_of_list" ->
  +    when string_of_mlpath p = "LowStar.Monotonic.Buffer.mgcmalloc_of_list" ||
  +         string_of_mlpath p = "LowStar.Buffer.gcmalloc_of_list" ->
         EBufCreateL (Eternal, List.map (translate_expr env) (list_elements e2))
   
     | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) } , [ _rid; init ])
  
positive.code:       EBufFree (translate_expr env e2)
  
    (* Generic buffer operations. *)
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2; _e3 ]) when (string_of_mlpath p = "FStar.Buffer.sub" || string_of_mlpath p = "LowStar.Buffer.sub") ->
        EBufSub (translate_expr env e1, translate_expr env e2)
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2; _e3; _e4 ]) when string_of_mlpath p = "LowStar.Monotonic.Buffer.msub" ->
        EBufSub (translate_expr env e1, translate_expr env e2)
  
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2 ]) when (string_of_mlpath p = "FStar.Buffer.join") ->
        (translate_expr env e1)
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2 ]) when (string_of_mlpath p = "FStar.Buffer.offset" || string_of_mlpath p = "LowStar.Buffer.offset") ->
        EBufSub (translate_expr env e1, translate_expr env e2)
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2; _e3 ]) when string_of_mlpath p = "LowStar.Monotonic.Buffer.moffset" ->
        EBufSub (translate_expr env e1, translate_expr env e2)
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ e1; e2; e3 ])
  
negative.code:       EBufCreate (Eternal, translate_expr env init, EConstant (UInt32, "1"))
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) }, [ _e0; e1; e2 ])
      when (string_of_mlpath p = "FStar.Buffer.rcreate" || string_of_mlpath p = "LowStar.Monotonic.Buffer.mgcmalloc") ->
        EBufCreate (Eternal, translate_expr env e1, translate_expr env e2)
  
    | MLE_App ({ expr = MLE_TApp({ expr = MLE_Name p }, _) } , [ _rid; init ])
  