logo
English Slovak

ATP using Resolution

Priority of operators:
  1. NOT (¬)
  2. NAND (↑)
  3. NOR (↓)
  4. NIMPLIES (⇏)
  5. XOR (⊕)
  6. AND (∧)
  7. OR (∨)
  8. IMPLIES (⇒)
  9. EQUIV (⇔)
Input and Output

There is an option on the left side to change the size of text in input and output field.
On the right side, there is an option to change the appearance of the website.

To evaluate the formula, enter the formula in the input field using the keys below the field, or simply copy the formula from LaTeX into the field. It is also possible to enter formulas manually, all possible accepted forms of operators are listed in the "Syntax" section. The input field checks the syntax.

After pressing the "SUBMIT" button, the output window will appear and the following data will be written in the left part of the output window: Subsequently, the formula will be converted into Conjunctive Normal Form (CNF). This is done using the following steps:
  1. Removal of implication and equivalence: highlighted implications/equivalences are rewritten as follows in the next step:
  2. φ ⇔ ψ ≡ (φ ⇒ ψ) ∧ (ψ ⇒ φ) ≡ (¬φ ∨ ψ) ∧ (¬ψ ∨ φ)
    φ ⇒ ψ ≡ ¬φ ∨ ψ

  3. Putting the negation in parentheses and removing the operators ↑, ↓, ⇏, ⊕:
  4. ¬(φ ∧ ψ) ≡ ¬φ ∨ ¬ψ
    ¬(φ ∨ ψ) ≡ ¬φ ∧ ¬ψ
    φ ↑ ψ ≡ ¬(φ ∧ ψ) ≡ ¬φ ∨ ¬ψ
    φ ↓ ψ ≡ ¬(φ ∨ ψ) ≡ ¬φ ∧ ¬ψ
    φ ⇏ ψ ≡ ¬(φ ⇒ ψ) ≡ ¬(¬φ ∨ ψ) ≡ φ ∧ ¬ψ
    φ ⊕ ψ ≡ ¬(φ ⇔ ψ) ≡ ¬((¬φ ∨ ψ) ∧ (¬ψ ∨ φ)) ≡ φ ∧ ¬ψ ∨ ψ ∧ ¬φ

  5. Inserting disjunctions inside parentheses:
  6. φ ∨ (ψ ∧ θ) ≡ (φ ∨ ψ) ∧ (φ ∨ θ)
    (ψ ∧ θ) ∨ φ ≡ (ψ ∨ φ) ∧ (θ ∨ φ)
    (φ ∧ ψ) ∨ (θ ∧ ω) ≡ (φ ∨ θ) ∧ (φ ∨ ω) ∧ (ψ ∨ θ) ∧ (ψ ∨ ω)

  7. Simplification by removing clauses with complementary literals, duplicate clauses and duplicate literals:
  8. ¬φ ∨ φ ≡ ⊤
    (φ ∨ ψ) ∧ (ψ ∨ φ) ≡ φ ∨ ψ
    φ ∨ ψ ∨ φ ≡ φ ∨ ψ
If any of these steps did not cause any change in the formula, it will not be written in the output window.
Under the input field, it is possible to set the resolution strategy and the method of listing the tree.

Resolution strategies: Reduced Tree - Instead of showing all clauses and resolvers in the tree, it will show only those that led to the result.
In the right part of the output window it is possible to switch between 2 representations of resolution, namely:
Every part of output, namely the text output, the table, and the tree can be copied using the buttons under the output window in a form of LaTeX code. The table is converted to tabular format and tree is converted to an image in tikz format.