Skip to content

Commit

Permalink
fix typo in comment defining macros (#6306)
Browse files Browse the repository at this point in the history
The existing comment describes macros as "formulas of the form
`(forall X (= (f X) T[X]))` ... where `T[X]` does not contain `X`". This is
incorrect; of course the macros' definitions are allowed to be in terms of
the macros' arguments. The comment should say "...does not contain `f`" because
macros can't be recursive.
  • Loading branch information
jesboat committed Aug 29, 2022
1 parent a0ca5d7 commit f5d2b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/macros/macro_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Revision History:
\brief Macros are universally quantified formulas of the form:
(forall X (= (f X) T[X]))
(forall X (iff (f X) T[X]))
where T[X] does not contain X.
where T[X] does not contain f.
This class is responsible for storing macros and expanding them.
It has support for backtracking and tagging declarations in an expression as forbidded for being macros.
Expand Down

0 comments on commit f5d2b9b

Please sign in to comment.