P.two_rows_table_without_brackets aattr
(cexpr2pres_charcount ~priority:60 ~assoc:true ~tail:[] a)
(cexpr2pres_charcount ~priority:60 ~assoc:false ~tail:tail b)
- (P.Mo(sattr,"-"))))
+ (P.Mo(sattr,"-"))));
+
+(* div *)
+Hashtbl.add C2P.symbol_table "div" (binary
+ (fun a b ~priority ~assoc ~tail aattr sattr ->
+ if (priority > 60) || (priority = 60 && assoc) then
+ P.row_with_brackets aattr
+ (cexpr2pres ~priority:60 ~assoc:true ~tail:[] a)
+ (cexpr2pres ~priority:60 ~assoc:false
+ ~tail:(P.Mtext([],")")::tail) b)
+ (P.Mo(sattr,"/"))
+ else
+ P.row_without_brackets aattr
+ (cexpr2pres ~priority:60 ~assoc:true ~tail:[] a)
+ (cexpr2pres ~priority:60 ~assoc:false ~tail:tail b)
+ (P.Mo(sattr,"/"))));
+
+Hashtbl.add C2P.symbol_table_charcount "div" (binary
+ (fun a b ~priority ~assoc ~tail aattr sattr ->
+ if (priority > 60) || (priority = 60 && assoc) then
+ P.two_rows_table_with_brackets aattr
+ (cexpr2pres_charcount ~priority:60 ~assoc:true ~tail:[] a)
+ (cexpr2pres_charcount ~priority:60 ~assoc:false
+ ~tail:(P.Mtext([],")")::tail) b)
+ (P.Mo(sattr,"/"))
+ else
+ P.two_rows_table_without_brackets aattr
+ (cexpr2pres_charcount ~priority:60 ~assoc:true ~tail:[] a)
+ (cexpr2pres_charcount ~priority:60 ~assoc:false ~tail:tail b)
+ (P.Mo(sattr,"/"))))
;;
None, Some "cic:/Coq/Arith/Minus/mult.con"))
:: List.map acic2cexpr args));;
+Hashtbl.add symbol_table "cic:/Coq/Reals/Rdefinitions/Rminus.con"
+ (fun aid sid args acic2cexpr ->
+ Appl
+ (Some aid, (Symbol (Some sid, "minus",
+ None, Some "cic:/Coq/Reals/Rdefinitions/Rminus.con"))
+ :: List.map acic2cexpr args));;
+
+(* div *)
+Hashtbl.add symbol_table "cic:/Coq/Reals/Rdefinitions/Rdiv.con"
+ (fun aid sid args acic2cexpr ->
+ Appl
+ (Some aid, (Symbol (Some sid, "div",
+ None, Some "cic:/Coq/Reals/Rdefinitions/Rdiv.con"))
+ :: List.map acic2cexpr args));;
+