Skip to content

Commit

Permalink
Fix typos and description of rules (cvc5#9920)
Browse files Browse the repository at this point in the history
The biggest change is to the FACTORING rule, since the current
description implies that not necessary all duplicates are removed
and that the order can change.
  • Loading branch information
hansjoergschurr authored Sep 21, 2023
1 parent adbd74d commit 04ead7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/proof/proof_rule.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@ enum class PfRule : uint32_t
* .. math::
* \inferrule{C_1 \mid -}{C_2}
*
* where the set representations of :math:`C_1` and :math:`C_2` are the same
* and the number of literals in :math:`C_2` is smaller than that of
* :math:`C_1`. \endverbatim
* where :math:`C_2` is the clause :math:`C_1`, but every occurence of a literal
* after its first occurence is omitted.
* \endverbatim
*/
FACTORING,
/**
Expand Down Expand Up @@ -566,7 +566,7 @@ enum class PfRule : uint32_t
* :math:`pol`, as defined in
* :cpp:enumerator:`RESOLUTION <cvc5::internal::PfRule::RESOLUTION>`
* - let :math:`C_1'` be equal, in its set representation, to :math:`C_1`,
* - for each :math:`i > 1`, let :math:`C_i'` be equal, it its set
* - for each :math:`i > 1`, let :math:`C_i'` be equal, in its set
* representation, to :math:`C_{i-1} \diamond{L_{i-1},\mathit{pol}_{i-1}}
* C_i'`
*
Expand Down Expand Up @@ -1028,7 +1028,7 @@ enum class PfRule : uint32_t
*
* .. math::
* \inferrule{- \mid (\ite{C}{F_1}{F_2})}{(\ite{C}{F_1}{F_2}) \lor \neg C
* \lor \not F_1}
* \lor \neg F_1}
*
* \endverbatim
*/
Expand Down Expand Up @@ -1062,7 +1062,7 @@ enum class PfRule : uint32_t
*
* .. math::
*
* \inferrule{-\mid t}{t = t)}
* \inferrule{-\mid t}{t = t}
* \endverbatim
*/
REFL,
Expand Down

0 comments on commit 04ead7c

Please sign in to comment.