- All logicians are mortal.
- Aristotle is a logician.
- ∴ Aristotle is mortal.
logic.quest _
[ a logical reasoning operating system ]
┌────────────────────────────────────────────────────────────────────────┐
│ PROTOCOL : TRUTH-EVAL │
│ VERSION : 4.7.2 │
│ AUTHORITY : THE OBSERVER │
│ STATUS : ACTIVE │
└────────────────────────────────────────────────────────────────────────┘
logic.quest is not a game. it is a deduction engine -- a sealed environment where premises are inputs, conclusions are outputs, and every step between is a gate to be traversed. you will learn to read the wiring of an argument. you will learn to feel a contradiction before you see it. you will descend.
each puzzle compiles. each solution propagates. each error halts the system. truth is not opinion -- truth is whatever survives the truth table.
SYLLOGISMS
// AND-GATE :: both premises must hold| A | B | A && B |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
intersection ≡ conjunction ≡ truth held in common
TRUTH TABLES
// OR-GATE :: at least one input asserts| P | Q | R | ¬R | P ∨ Q | (P ∨ Q) ∨ ¬R |
|---|---|---|---|---|---|
| T | T | T | F | T | T |
| T | F | T | F | T | T |
| F | T | F | T | T | T |
| F | F | T | F | F | F |
| F | F | F | T | F | T |
- TRUE :: assertion holds
- FALSE :: contradiction
- UNKNOWN :: pending eval
┌───┬───┬─────┐ │ P │ Q │ P∨Q │ ├───┼───┼─────┤ │ T │ F │ T │ └───┴───┴─────┘
PARADOXES
// NOT-GATE :: inversion at the boundary" this statement is false. "
- if TRUE → it is FALSE → contradiction.
- if FALSE → it is TRUE → contradiction.
R = { x | x ∉ x }
does R contain itself?
- R ∈ R → R ∉ R
- R ∉ R → R ∈ R
replace plank₁. is the ship the same?
replace plank₂...n. when does identity break?
DEDUCTION
// XOR-GATE :: exactly one signal asserts- there are 3 suspects: A, B, C. exactly one is guilty.
- A says: "B did it."
- B says: "i did not do it."
- C says: "A is lying."
- exactly one of them tells the truth.
$ tap a suspect to evaluate the propagation...
| A | B | A ⊕ B |
|---|---|---|
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | F |
SYSTEM
// LIVE.METRICS :: from the deduction engine
┌─────────────────────────────────────────────────────────────────────┐
│ ENTRY POINT :: authentication required │
│ PROTOCOL :: truth-eval 4.7.2 │
│ WARNING :: descent is non-reversible │
└─────────────────────────────────────────────────────────────────────┘
JACK IN
[ solve to descend. each layer is a gate. each gate is a truth. ]