Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ayberkt committed Jul 10, 2017
2 parents fae6152 + 1682b91 commit bc3c369
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,20 @@ approximations of the connectives, we can pipe this proposition into `sequents`.
```
which gives the following:
```
• NTS ---> A ∧ B ⊃ B ∧ A
- Apply ⊃R.
- New goal: A ∧ B ----> B ∧ A
• NTS A ∧ B ----> B ∧ A
- Apply ∧R.
- New goal: A ∧ B ----> B
- New goal: A ∧ B ----> A
• NTS A ∧ B ----> B
- New goal: A, B ----> B
- Apply ∧L.
• NTS A, B ----> B
- Note: B ∈ [A, B]
- Apply init.
- QED
• NTS A ∧ B ----> A
- New goal: A, B ----> A
- Apply ∧L.
• NTS A, B ----> A
- Note: A ∈ [B, A]
- Apply init.
- QED
Proof found!
Theorem: A ∧ B ⊃ B ∧ A.
• A, B ----> B by init
• A ∧ B ----> B by ∧L
• B, A ----> A by init
• A ∧ B ----> A by ∧L
• A ∧ B ----> B ∧ A by ∧R
• ----> A ∧ B ⊃ B ∧ A by ⊃R
QED
```

By the way, you can also generate LaTeX with `--latex` flag:
You can also generate LaTeX with `--latex` flag:
```
➜ echo "A /\ B => B /\ A" | ./sequents --latex > out.tex
➜ pdflatex out.tex
Expand Down

0 comments on commit bc3c369

Please sign in to comment.