- | Discriminate ident -> "discriminate " ^ ident
- | Elim (term, using) ->
- sprintf "elim " ^ pp_term term ^
- (match using with None -> "" | Some term -> " using " ^ pp_term term)
- | ElimType term -> "elim type " ^ pp_term term
- | Exact term -> "exact " ^ pp_term term
- | Exists -> "exists"
- | Fold (kind, term) ->
- sprintf "fold %s %s" (pp_reduction_kind kind) (pp_term term)
- | Fourier -> "fourier"
- | Hint -> "hint"
- | Injection ident -> "injection " ^ ident
- | Intros (num, idents) ->
+ | Discriminate (_, ident) -> "discriminate " ^ ident
+ | Elim (_, term, using) ->
+ sprintf "elim " ^ pp_term_ast term ^
+ (match using with None -> "" | Some term -> " using " ^ pp_term_ast term)
+ | ElimType (_, term) -> "elim type " ^ pp_term_ast term
+ | Exact (_, term) -> "exact " ^ pp_term_ast term
+ | Exists _ -> "exists"
+ | Fold (_, kind, term) ->
+ sprintf "fold %s %s" (pp_reduction_kind kind) (pp_term_ast term)
+ | Goal (_, n) -> "goal " ^ string_of_int n
+ | Fourier _ -> "fourier"
+ | Injection (_, ident) -> "injection " ^ ident
+ | Intros (_, None, []) -> "intro"
+ | Intros (_, num, idents) ->