# Logic
## Microsim (three.js)
<div class="microsim-player">
<!-- MICROSIM:PENDING_DEPLOY:BEGIN v1.7 g08 — embed target is not on the CDN; restore with g08 --undeploy-clear -->
<p class="wt-pending"><strong>Microsim staged, not yet on the CDN.</strong> <code>Logic.html</code> is built and deploy-ready in <code>Microsims for Dissemination/</code>, but the Netlify project still serves the geometry+spintronics set only. The player is disabled until the deploy lands; the explanatory text below is unchanged.</p>
<!--
<iframe src="https://wikitube-3d-microsims.netlify.app/Logic.html" width="100%" height="620" frameborder="0" loading="lazy" sandbox="allow-scripts allow-same-origin"></iframe>
-->
<!-- MICROSIM:PENDING_DEPLOY:END -->
</div>
*The formal backbone of computing: propositional connectives evaluate exactly as a Boolean circuit switches, and the valid-argument forms below are the inference rules that automatic theorem provers chain together to certify programs correct.*
> Logic is the systematic study of valid inference — which conclusions *must* be true whenever a set of premises is true. Propositional logic builds statements from atomic propositions joined by connectives (and, or, not, if–then) and assigns each the truth value TRUE or FALSE. An argument form is *valid* when no assignment of truth values makes every premise true while the conclusion is false. This microsim lets you pick a classic argument form, flip the shared proposition's truth value, and watch in 3D whether the conclusion is forced — cleanly separating two valid forms from two seductive fallacies.
## About this microsim
The scene draws an argument as a linked 3D structure — premises, a conditional, and a conclusion arranged in space. The argument-form selector chooses **Modus Ponens (valid)**, **Modus Tollens (valid)**, **Denying the Antecedent**, or **Affirming the Consequent**; the first two are deductively valid and the last two are formal fallacies. The **TRUE** toggle sets the truth value fed into the shared proposition, so you can test whether the conclusion is genuinely forced or merely suggested. Press **▶ Play** to animate truth propagating step-by-step from premises to conclusion, drag with the mouse to orbit the structure, and use **Reset View** to return the camera to its default angle. Because you *see* the conclusion resolve before reading why, each fallacy shows up as a case where true premises leave the conclusion undetermined.
## Related microsims
- Modus ponens — the canonical valid form, isolated and animated
- Truth table — the row-by-row method every verdict here rests on
- Validity (logic) — the exact property separating the valid forms from the fallacies
- Formal fallacy — why affirming the consequent and denying the antecedent fail
- Logical connective — the AND/OR/NOT/IF–THEN operators the premises are built from
- Propositional calculus — the formal system these argument forms live inside
- Negation — related ALGORITHM microsim
## Links (Wikipedia order)
<!-- injected from _registry/childlinks/Logic.json (2026-07-30T02:09:12Z) -->
`A_priori_and_a_posteriori` · `Abductive_reasoning` · `Abhidharma` · `Absolute_idealism` · `Achintya_Bheda_Abheda` · `Action_theory_(philosophy)` · `Advaita_Vedanta` · `Aesthetic_emotions` · `Aesthetics` · `African_philosophy` · `Africana_philosophy` · `Agriculturalism` · `Ajñana` · `Albertus_Magnus` · `Alfred_North_Whitehead` · `Alfred_Tarski` · [[Algorithm]] · `American_philosophy` · `Ampliative` · `Analytic_philosophy` · `Analytical_Marxism` · `Analytical_feminism` · `Analytic–synthetic_distinction` · `Anarchism` · `Ancient_Egyptian_philosophy` · `Ancient_Greek_philosophy` · `Ancient_Roman_philosophy` · `Ancient_history` · `Ancient_philosophy` · `Anekantavada` · `Antecedent_(logic)` · `Anti-realism` · `Antihumanism` · `Antinomy` · `Applied_ethics` · `Applied_philosophy` · `Argument` · `Argumentation_theory` · `Aristotelianism` · `Aristotle` · `Atomism` · `Augustinianism` · `Australian_philosophy` · `Averroes` · `Averroism` · `Avicenna` · `Avicennism` · `Axiom` · `Aztec_philosophy` · `Barbara_H._Partee` · `Bayesian_epistemology` · `Begriffsschrift` · `Behaviorism` · `Belief` · `Bertrand_Russell` · `Bhedabheda` · `Bishop_(chess)` · `Boethius` · `Boolean_algebra` · `Bradley_Dowden` · `British_idealism` · `British_philosophy` · `Buddhism` · `Buddhist_philosophy` · `Byzantine_philosophy` · `Cantor's_theorem` · `Cartesianism` · `Chan_Buddhism` · `Characteristica_universalis` · `Charvaka` · `Chess` · `Chinese_philosophy` · `Christian_philosophy` · `Classical_Realism` · `Classical_liberalism` · `Classical_logic` · [[Claude_Shannon]] · `Coherentism` · `Communitarianism` · `Compatibilism` · `Completeness_(logic)` · `Computability_theory` · `Computational_logic` · [[Computer_science]] · `Concept` · `Conceptualism` · `Confucianism` · `Conjunction_introduction` · `Consequent` · `Consequentialism` · `Conservatism` · `Consistency` · `Constructivism_(philosophy_of_mathematics)` · `Contemporary_philosophy` · `Continental_philosophy` · `Continuum_hypothesis` · `Contradiction` · `Conventionalism` · `Converse_(logic)` · `Critical_rationalism` · `Critical_theory` · `Critical_thinking` · `Cynicism_(philosophy)` · `Cyrenaics` · `Czech_philosophy` · `Danish_philosophy` · `Decidability_(logic)` · `Deconstruction` · `Deductive_closure` · [[Deductive_reasoning]] · `Defeasible_reasoning` · `Definition` · `Denotation` · `Denying_the_antecedent` · `Deontic_logic` · `Deontology` · `Description` · `Determinism` · `Deviant_logic` · `Dialetheism` · `Dialogue` · `Dichotomy` · `Dirk_van_Dalen` · `Discourse` · `Dispositio` · `Douglas_N._Walton` · `Dutch_philosophy` · `Dvaita_Vedanta` · `Eastern_philosophy` · `Edo_neo-Confucianism` · `Edward_Craig_(philosopher)` · `Eleatics` · `Eliminative_materialism` · `Emergentism` · `Empiricism` · `Epicureanism` · `Epiphenomenalism` · `Epistemic_modal_logic` · `Epistemological_particularism` · `Epistemology` · `Eretrian_school` · `Ethics` · `Ethiopian_philosophy` · `Event_(philosophy)` · `Existential_quantification` · `Existentialism` · `Experimental_philosophy` · `Explanation` · `Expression_(mathematics)` · `Expressive_power_(computer_science)` · `Fallacy` · `False_dilemma` · `Falsifiability` · `Feminist_philosophy` · `Fideism` · [[First-order_logic]] · `Formal_fallacy` · `Formal_language` · `Formal_proof` · `Formal_semantics_(natural_language)` · [[Formal_system]] · `Formalism_(art)` · `Foundationalism` · `Foundations_of_mathematics` · `Frankfurt_School` · `Free_will` · `French_philosophy` · `Function_(mathematics)` · `Functionalism_(philosophy_of_mind)` · `Georg_Cantor` · `Georg_Wilhelm_Friedrich_Hegel` · [[George_Boole]] · `Georgian_philosophy` · `German_idealism` · `German_philosophy` · `Gottfried_Wilhelm_Leibniz` · `Gottlob_Frege` · `Graham_Priest` · `Hard_determinism` · `Hellenistic_philosophy` · `Herbert_Enderton` · `Hermeneutics` · `Higher-order_logic` · `Hilary_Putnam` · `Hilbert's_program` · `Hindu_philosophy` · `Historicism` · `History_of_logic` · `History_of_philosophy` · `History_of_philosophy_in_Finland` · `History_of_philosophy_in_Poland` · [[Holism]] · `Huayan` · `Humanism` · `Hypothetical_syllogism` · `Idealism` · `Illuminationism` · `Imperative_logic` · `Incompatibilism` · `Indian_philosophy` · `Indigenous_American_philosophy` · `Individualism` · `Indonesian_philosophy` · [[Inductive_reasoning]] · `Inference` · `Informal_fallacy` · `Informal_logic` · `Internalism_and_externalism` · `Interpretation_(logic)` · `Intuitionistic_logic` · `Iranian_philosophy` · `Irish_philosophy` · `Irving_Copi` · `Islamic_philosophy` · `Italian_idealism` · `Italian_philosophy` · `J._L._Mackie` · `Jaakko_Hintikka` · `Jain_philosophy` · `Jainism` · `Jan_Łukasiewicz` · `Japanese_philosophy` · `Jewish_philosophy` · `Joan_Moschovakis` · `John_P._Burgess` · `John_Rawls` · `John_Stuart_Mill` · `Judeo-Islamic_philosophies_(800–1400)` · `Kalam` · `King_(chess)` · `Knowledge` · `Kokugaku` · `Korean_Confucianism` · `Korean_philosophy` · `Krausism` · `Kurt_Gödel` · `Kyoto_School` · `Language` · `Large_cardinal` · `Law_of_excluded_middle` · `Legal_positivism` · `Legalism_(Chinese_philosophy)` · `Libertarianism_(metaphysics)` · `Linguistic_entailment` · `Linguistics` · `List_of_Boolean_algebra_topics` · `List_of_Slovene_philosophers` · `List_of_fallacies` · `List_of_logic_symbols` · `List_of_logicians` · `List_of_mathematical_logic_topics` · `List_of_paradoxes` · `List_of_rules_of_inference` · `List_of_set_theory_topics` · `Logic_(disambiguation)` · `Logic_in_Islamic_philosophy` · `Logic_in_computer_science` · `Logic_programming` · `Logic_puzzle` · `Logic_translation` · `Logical_conjunction` · `Logical_connective` · `Logical_consequence` · `Logical_disjunction` · `Logical_form` · `Logical_positivism` · `Logical_reasoning` · `Logical_truth` · `Logically_(company)` · `Logician_(disambiguation)` · `Logicism` · `Logos` · `Ludwig_Wittgenstein` · `Madhyamaka` · `Map_(mathematics)` · `Marxist_philosophy` · `Material_conditional` · `Materialism` · `Mathematical_logic` · `Mathematics` · `Mazdakism` · `Medieval_philosophy` · `Megarian_school` · `Metalogic` · `Metamathematics` · `Metaphilosophy` · `Metaphysical_naturalism` · `Metaphysics` · `Middle_Ages` · `Middle_Eastern_philosophy` · `Middle_Platonism` · `Mind` · `Mind–body_dualism` · `Mithraism` · `Modal_logic` · `Model_theory` · `Modern_philosophy` · `Modernism` · `Modus_ponens` · `Mohism` · `Monism` · `Moral_absolutism` · `Moral_nihilism` · `Moral_particularism` · `Moral_realism` · `Moral_skepticism` · `Moral_universalism` · `Morality` · `Mīmāṃsā` · `Name` · `Natural_deduction` · `Natural_language` · `Natural_law` · `Naturalism_(philosophy)` · `Naturalized_epistemology` · `Navya-Nyāya` · [[Necessity_and_sufficiency]] · `Negation` · `Neo-Confucianism` · `Neo-Kantianism` · `Neo-Marxism` · `Neo-scholasticism` · `Neoplatonism` · `Neopythagoreanism` · `New_Confucianism` · `New_historicism` · `Newtonianism` · `Nihilism` · `Nimbarka_Sampradaya` · `Nominalism` · `Non-classical_logic` · `Non-monotonic_logic` · `Normative_ethics` · `Nyaya` · `Objective_idealism` · `Objectivism` · `Obligation` · `Occamism` · [[Ontology]] · `Ordinary_language_philosophy` · `Organon` · `Outline_of_logic` · `Outline_of_philosophy` · `Paraconsistent_logic` · `Paradox` · `Penelope_Maddy` · `Peripatetic_school` · `Permission_(philosophy)` · `Phenomenology_(philosophy)` · `Philosophical_logic` · `Philosophical_methodology` · `Philosophical_pessimism` · `Philosophical_realism` · `Philosophical_skepticism` · `Philosophy` · `Philosophy_in_Canada` · `Philosophy_in_Malta` · `Philosophy_in_Taiwan` · `Philosophy_of_Friedrich_Nietzsche` · `Philosophy_of_Søren_Kierkegaard` · `Philosophy_of_education` · `Philosophy_of_information` · `Philosophy_of_language` · `Philosophy_of_logic` · `Philosophy_of_mathematics` · `Philosophy_of_mind` · `Philosophy_of_religion` · [[Philosophy_of_science]] · `Physicalism` · `Platonic_Academy` · `Platonism` · `Political_philosophy` · `Positivism` · `Possible_world` · `Post-structuralism` · `Postanalytic_philosophy` · `Postcritique` · `Posthumanism` · `Postmodern_philosophy` · `Practical_philosophy` · `Pragmatism` · `Pre-Socratic_philosophy` · `Predicate_(grammar)` · `Premise` · `Principia_Mathematica` · `Principle_of_bivalence` · `Principle_of_compositionality` · `Principle_of_explosion` · `Prior_Analytics` · [[Probability]] · `Process_philosophy` · `Prolog` · `Proof_theory` · [[Property_(philosophy)]] · [[Proposition]] · `Propositional_logic` · `Psychologism` · `Psychology` · `Pudgalavada` · `Pyrrhonism` · `Pythagoreanism` · `Quantifier_(logic)` · `Quantum_logic` · [[Quantum_mechanics]] · `Quietism_(philosophy)` · `Rationalism` · `Rationality` · `Real_number` · `Reality` · `Reason` · `Reductionism` · `Reference` · `Reformed_epistemology` · `Relativism` · `Renaissance_humanism` · `Richard_Montague` · `Robert_Audi` · `Romanian_philosophy` · `Rule_of_inference` · `Russell's_paradox` · `Russian_cosmism` · `Russian_philosophy` · `Samkhya` · `Sarvastivada` · `Sautrāntika` · `Scholasticism` · `School_of_Names` · `School_of_Naturalists` · `School_of_the_Sextii` · `Scientific_method` · `Scientific_realism` · `Scientific_skepticism` · `Scientism` · `Scotism` · `Scottish_philosophy` · `Second_Sophistic` · `Semantics` · `Sense_and_reference` · `Sentence_(linguistics)` · `Sequent_calculus` · [[Set_theory]] · `Sheffer_stroke` · `Shuddhadvaita` · `Simon_Blackburn` · `Singular_term` · `Social_constructionism` · `Social_contract` · `Social_philosophy` · `Socialism` · `Solipsism` · `Sophist` · `Soundness` · `Spanish_philosophy` · `Speech_act` · `Square_of_opposition` · `Stephen_Cole_Kleene` · `Stoicism` · `Structuralism` · `Subject_(grammar)` · `Subjective_idealism` · `Subjectivism` · `Substitution_(logic)` · `Sufi_philosophy` · `Susan_Haack` · `Susanne_Bobzien` · `Svatantrika–Prasaṅgika_distinction` · `Syllogism` · `Symbol_(formal)` · `Syntax` · `Syntax_(logic)` · `Systemics` · `Taoism` · `Tautology_(logic)` · `Ted_Honderich` · `Temporal_logic` · `Term_logic` · `Terminology` · `Theoretical_philosophy` · `Thomism` · `Tiantai` · `Tibetan_Buddhism` · `Transactionalism` · `Transcendental_idealism` · `Transcendentalism` · [[Transistor]] · `Truth` · `Truth-bearer` · `Truth_condition` · `Truth_function` · `Truth_table` · `Truth_value` · `Ubuntu_philosophy` · `Utilitarianism` · `Vaisheshika` · `Validity_(logic)` · `Value_theory` · `Vector_logic` · `Vedanta` · `Vienna_Circle` · `Vietnamese_philosophy` · `Virtue_ethics` · `Vishishtadvaita` · `Well-formed_formula` · `Western_Marxism` · `Western_philosophy` · `Willard_Van_Orman_Quine` · `William_Kneale` · `William_of_Ockham` · `Xuanxue` · `Yangism` · `Yoga_Sutras_of_Patanjali` · `Yogachara` · `Yugoslav_philosophy` · `Zen` · `Zoroastrianism` · `Zurvanism` · `Ājīvika` · `Śūnyatā`
## Overview
As a discipline, logic runs from Aristotle's term logic and syllogistic (4th century BC) through George Boole's algebra of thought (1847–1854) to the modern symbolic logic of Frege and Russell. Classical propositional logic rests on the principle of bivalence — every proposition is exactly TRUE or FALSE — and is *truth-functional*: the value of a compound statement is fixed entirely by the values of its parts. This framework underlies mathematical proof, digital hardware, and program verification. Its central lesson, made concrete by the four forms in the sim, is that validity is a property of an argument's *form*, independent of the particular content of its propositions.
## Valid forms and formal fallacies
Write the conditional as $P \to Q$ ("if $P$ then $Q
quot;). The two valid rules and two fallacies all start from that premise:
$\frac{P \to Q,\ \ P}{\therefore\ Q}\ \text{(modus ponens)} \qquad \frac{P \to Q,\ \ \lnot Q}{\therefore\ \lnot P}\ \text{(modus tollens)}$
An argument is valid **iff** in every truth-table row where all premises are TRUE, the conclusion is TRUE too — equivalently, when (premises $\to$ conclusion) is a tautology. The material conditional's table is:
| $P$ | $Q$ | $P \to Q$ |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
*Affirming the consequent* infers $P$ from $P \to Q$ and $Q$. Row 3 ($P$ FALSE, $Q$ TRUE) makes both premises TRUE yet the conclusion $P$ FALSE — a countermodel, so the form is invalid. *Denying the antecedent* ($P \to Q,\ \lnot P \vdash \lnot Q$) fails on that very same row. Modus ponens and modus tollens have no such row, which is exactly what the animation reveals.
## Controls -> what each maps to
| Control | Maps to | Range / values | Meaning |
|---|---|---|---|
| Argument-form choice | The inference rule under test | Modus Ponens (valid), Modus Tollens (valid), Denying the Antecedent, Affirming the Consequent | Selects which premise–conclusion pattern is drawn and evaluated |
| TRUE | Truth value of the shared proposition | TRUE / FALSE (toggle) | Sets a premise's truth so you can hunt for a counterexample |
| ▶ Play | Truth-propagation animation | Play / pause | Steps the inference from premises to conclusion |
| Reset View | Camera orientation | Button (no range) | Returns the 3D view to its default angle |
## Learning objective
After playing, a learner can predict whether an if–then argument is valid and explain why affirming the consequent and denying the antecedent fail — by pointing to the single truth-table row where true premises meet a false conclusion.
## Limits and connections
This sim covers classical, bivalent propositional logic; predicate, modal, and many-valued systems extend it with quantifiers, necessity, or truth values beyond TRUE/FALSE. The same truth-functional evaluation is what a Boolean circuit computes in silicon, tying valid argument directly to hardware design.
## Poster & source
<div class="microsim-fallback">
<!-- poster image pending backfill -->
<p><em>Live microsim · <a href="https://wikitube-3d-microsims.netlify.app/Logic.html">open full</a> · source: Microsims for Dissemination/ALGORITHM_microsims/Logic.html</em></p>
</div>
<!-- CRAFT-LINK:START g12 -->
*Built to the [[WT!Three_js_Microsim_Master_Class|three.js Master Class]].*
<!-- CRAFT-LINK:END -->
## Wikipedia : Wikitube
**Strict pair:** [Wikipedia](https://en.wikipedia.org/wiki/Logic) : [Wikitube](https://en.wikitube.io/wiki/Logic)
## Previous hub tags
Tree parent: [[Game_theory]].
Legacy hubs: `ALGORITHM`.
---
*Sources: 1 legacy note. Minted wave 1, 2026-07-30 (v1.6 order).*