aboutsummaryrefslogtreecommitdiff
path: root/include/atp/normalize/formula.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
commitbf4f464cec8b6515d9e5131d43847ef9b2fd21d1 (patch)
tree8cff611e6dab7473c3bb601e58658fa44f0fd86f /include/atp/normalize/formula.h
parent6fac8eb886f1e60a5a075c48a5f7648bb537f74e (diff)
downloadratp-bf4f464cec8b6515d9e5131d43847ef9b2fd21d1.tar.gz
ratp-bf4f464cec8b6515d9e5131d43847ef9b2fd21d1.tar.xz
style: reformat codebase with consistent indentation
Diffstat (limited to 'include/atp/normalize/formula.h')
-rw-r--r--include/atp/normalize/formula.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/include/atp/normalize/formula.h b/include/atp/normalize/formula.h
index 2cd7900..1bcc021 100644
--- a/include/atp/normalize/formula.h
+++ b/include/atp/normalize/formula.h
@@ -35,15 +35,15 @@ namespace atp {
/// AST node types for first-order logic formulas.
enum class FormulaKind : uint8_t {
- kAtom, ///< Predicate application: P(t1, ..., tn)
- kEquality, ///< Equality atom: t1 = t2 (distinguished for equality reasoning)
- kNot, ///< Negation: ¬F
- kAnd, ///< Conjunction: F ∧ G
- kOr, ///< Disjunction: F ∨ G
- kImplies, ///< Implication: F → G
- kIff, ///< Biconditional: F ↔ G
- kForall, ///< Universal: ∀x. F
- kExists, ///< Existential: ∃x. F
+ kAtom, ///< Predicate application: P(t1, ..., tn)
+ kEquality, ///< Equality atom: t1 = t2 (distinguished for equality reasoning)
+ kNot, ///< Negation: ¬F
+ kAnd, ///< Conjunction: F ∧ G
+ kOr, ///< Disjunction: F ∨ G
+ kImplies, ///< Implication: F → G
+ kIff, ///< Biconditional: F ↔ G
+ kForall, ///< Universal: ∀x. F
+ kExists, ///< Existential: ∃x. F
};
/// A first-order logic formula node.
@@ -77,10 +77,8 @@ struct Formula {
std::unique_ptr<Formula> rhs);
static std::unique_ptr<Formula> makeIff(std::unique_ptr<Formula> lhs,
std::unique_ptr<Formula> rhs);
- static std::unique_ptr<Formula> makeForall(SymbolId var,
- std::unique_ptr<Formula> body);
- static std::unique_ptr<Formula> makeExists(SymbolId var,
- std::unique_ptr<Formula> body);
+ static std::unique_ptr<Formula> makeForall(SymbolId var, std::unique_ptr<Formula> body);
+ static std::unique_ptr<Formula> makeExists(SymbolId var, std::unique_ptr<Formula> body);
};
} // namespace atp