Glucose Wiki — Logic Universe
Binary, truth, and clean thinking.
Home Wiki Knowledge Centre Glossary Quiz

Logic Universe: Foundations & Reasoning

A single journey from the simplest idea of truth to full argument craft. Tap glowing chips for deeper rules, tables, and examples.

0) Symbol Key (friendly first)

We’ll say things in normal English first, then show the compact symbols once you’re comfortable.

✨ You don’t need heavy symbols to think logically. Symbols just save space once you *already* understand the idea.

1) Binary: 0 and 1, the skeleton of truth

Binary uses only two values: 0 = False and 1 = True. Truth tables are just binary counting through all possible worlds.

Binary 0 → 15 (colour-pattern table)
Why bits flip in patterns
🧠 With n variables there are 2ⁿ possible worlds. That’s why 3 variables gives 8 rows, 4 variables gives 16, and so on.

Here’s a taste of the “beat” inside binary:

Rightmost bit: 0 1 0 1 0 1 0 1 ... Next bit: 0 0 1 1 0 0 1 1 ... Next bit: 0 0 0 0 1 1 1 1 ...

Those rhythms become the skeleton of every truth table you will ever build.

2) Boolean Logic & Gates (with human intuition)

Gates are truth tables turned into machines. Memorise the *idea* first, then the 4-bit “signature” second.

NOT (negation)

not P means the opposite of P.

Pnot P
01
10

AND

P and Q is true only when both are true. Think: two people must press the launch button.

PQP and Q
000
010
100
111

AND signature: 0001

OR

P or Q is true if at least one is true. Think: either keycard opens the door.

PQP or Q
000
011
101
111

OR signature: 0111

XOR (exclusive or)

P xor Q is true when exactly one is true. Think: choose rice or noodles — but not both.

PQP xor Q
000
011
101
110

XOR signature: 0110

If and only if (biconditional)

P iff Q is true when P and Q match. Think: membership works both ways — you’re a member exactly when you have the pass.

PQP iff Q
001
010
100
111

Biconditional signature: 1001

Implication (“if P then Q”)

If P then Q is only false in one world: when P happens but Q doesn’t.

PQIf P then Q
001
011
100
111

Implication signature: 1101

**Paris example:** If I’m in Paris, then I’m in France. The rule only breaks if I claim Paris but not France.

Material implication explained
NAND is universal (quick demo)

3) Propositional Logic (rules of inference)

Propositional logic treats whole statements as blocks. We test which moves preserve truth.

Modus Ponens (valid)

1) If P then Q 2) P Therefore Q
MP truth table proof

Modus Tollens (valid)

1) If P then Q 2) not Q Therefore not P
MT truth table proof

Affirming the consequent (invalid)

Form:

1) If P then Q 2) Q Therefore P

Why invalid? Because Q can happen for other reasons besides P.

If something is a square, then it has 4 sides. This thing has 4 sides. Therefore it is a square? No. It could be a rectangle, rhombus, kite… Q does not guarantee P.
Affirming the consequent table

Denying the antecedent (invalid)

1) If P then Q 2) not P Therefore not Q

Why invalid? Not-P doesn’t stop Q happening another way.

If I’m in Paris then I’m in France. I’m not in Paris. Therefore I’m not in France? No. I might be in Lyon, Nice, or London.
Denying antecedent table
🔥 Human intuition summary: “If P then Q” gives you a one-way guarantee: P forces Q. But Q does **not** force P unless the rule is “P iff Q”.

4) Predicate Logic (things in the world)

Predicate logic adds objects and domains. We’ll use English, with a one-time symbol view.

Quantifiers (English + symbols)

5) Categorical Logic: AEIO

Categorical logic describes how two circles (sets) overlap. AEIO are four “shapes of meaning”.

A: All S are P E: No S are P I: Some S are P O: Some S are not P

AEIO meanings + colour table

Minimum overlap rule (aliens example)

1) All aliens are green. (Aliens ⊆ Green) 2) Some green things are scary. (Green overlaps Scary) Therefore: aliens scary? Not guaranteed. The “some” might be frogs, paint, or grass.
Minimum overlap explained again

6) Square of Opposition

The square shows how AEIO statements “push” against each other.

A E I O Contraries Subaltern Subaltern Subcontraries Contradictories

Tap for full relations.

Square relations (full)

7) Transformations: Obversion, Conversion, Contraposition

These are safe ways to rewrite categorical statements.

Obversion (always valid)
Conversion (valid/partial/invalid)
Contraposition (validities)

8) Syllogisms (chains of categories)

A syllogism links S and P through a middle term M. Validity is about distribution and overlap.

Classic valid form (Barbara)

All humans are mortal. (All M are P) Socrates is a human. (All S are M) Therefore Socrates mortal. (All S are P)

Invalid form (foxes/cars)

Some foxes are grey. Some cars are fast. Therefore foxes fast. No shared middle term → no bridge → invalid.
Valid moods (pattern list)
Invalid moods (pattern list)
Middle term rule (intuition)
🧩 Overlap intuition: “Some” only guarantees a tiny overlap. It never lets you jump to an “all” conclusion.

9) Three domains, one family

Logic comes in domains:

They overlap because they all track the same thing: which worlds allow truth to flow safely.

10) Building arguments (from natural English)

An argument is a bridge: premises → inference → conclusion. We build it in natural English first, then formalise if needed.

✅ Debate rule: Let someone speak naturally first. Then help them sharpen it. Don’t weaponise definitions against beginners.

Domain example (your fridge story)

You KNOW there are exactly two takeaway boxes: • one is rice • one is kungpo chicken If you remove the rice, the other MUST be chicken. Because the domain has only two known options. Twist: If you didn’t know your flatmate also brought takeaway, the domain expands. You remove rice… the other might be kungpo chicken, or curry chicken, or noodles, or anything. Logic depends on knowing your full domain.

11) Fallacies (why they feel tempting)

Fallacies are arguments that *sound* right because the brain fills gaps.

Formal fallacies
Informal fallacies

12) Socratic method & debate maxims

Socratic steps
Debate maxims
🕊️ Debate is cooperative: two minds searching a map together — not two egos fighting for a crown.

13) Logic games (training ground)

Games build intuition faster than memorising lists. We’ll do them in dedicated tool pages, but the vibe is here: logic should feel like play.

Tools (after the course)

These are your revisit-anytime labs. We’ll build them next.

Truth Table Builder

Enter formulas like (P and Q) → not R and auto-generate tables + patterns.

AEIO Mapper

Visualise categorical statements as overlapping circles.

Syllogism Tester

Test validity, distribution, middle-term rules.

Logic Games

Mini-puzzles for real skill, not rote memory.