| Exists _ -> "exists"
| Fold (_, kind, term) ->
sprintf "fold %s %s" (pp_reduction_kind kind) (pp_term_ast term)
- | Generalize (_, term, pattern) ->
- sprintf "generalize %s %s" (pp_term_ast term) (pp_pattern pattern)
+ | Generalize (_, term, ident, pattern) ->
+ sprintf "generalize %s%s %s" (pp_term_ast term)
+ (match ident with None -> "" | Some id -> " as " ^ id)
+ (pp_pattern pattern)
| Goal (_, n) -> "goal " ^ string_of_int n
| Fourier _ -> "fourier"
| Injection (_, term) -> "injection " ^ pp_term_ast term