@@ -68,12 +68,18 @@ static std::ostream &format_rec(std::ostream &os, const multi_ary_exprt &src)
68
68
operator_str = u8" \u2227 " ; // wedge, U+2227
69
69
else if (src.id () == ID_or)
70
70
operator_str = u8" \u2228 " ; // vee, U+2228
71
+ else if (src.id () == ID_xor)
72
+ operator_str = u8" \u2295 " ; // + in circle, U+2295
71
73
else if (src.id () == ID_le)
72
74
operator_str = u8" \u2264 " ; // <=, U+2264
73
75
else if (src.id () == ID_ge)
74
76
operator_str = u8" \u2265 " ; // >=, U+2265
75
77
else if (src.id () == ID_notequal)
76
78
operator_str = u8" \u2260 " ; // /=, U+2260
79
+ else if (src.id () == ID_implies)
80
+ operator_str = u8" \u21d2 " ; // /=, U+21D2
81
+ else if (src.id () == ID_iff)
82
+ operator_str = u8" \u21d4 " ; // /=, U+21D4
77
83
else
78
84
operator_str = id2string (src.id ());
79
85
@@ -212,8 +218,12 @@ std::ostream &format_rec(std::ostream &os, const exprt &expr)
212
218
}
213
219
else if (id == ID_type)
214
220
return format_rec (os, expr.type ());
215
- else if (id == ID_forall || id == ID_exists)
216
- return os << id << ' ' << format (to_quantifier_expr (expr).symbol ()) << " : "
221
+ else if (id == ID_forall)
222
+ return os << id << u8" \u2200 : "
223
+ << format (to_quantifier_expr (expr).symbol ().type ()) << " . "
224
+ << format (to_quantifier_expr (expr).where ());
225
+ else if (id == ID_exists)
226
+ return os << id << u8" \u2203 : "
217
227
<< format (to_quantifier_expr (expr).symbol ().type ()) << " . "
218
228
<< format (to_quantifier_expr (expr).where ());
219
229
else if (id == ID_let)
0 commit comments