| Metamath Proof Explorer | < Wrap Next > | |
| Browser slow? Try the
Unicode version. |
| Color key: | (1-8787) |
(8788-10368) |
(10369-10781) |
| Type | Label | Description |
|---|---|---|
| Statement | ||
| Pre-logic | ||
| Dummy link theorem for assisting proof development | ||
| Theorem | dummylink 1 |
(Note: This theorem will never appear in a completed proof and can be
ignored if you are using this database to learn logic - please start
with the next statement, wn 2.)
This is a technical theorem to assist proof development. It provides a temporary way to add an independent subproof to a proof under development, for later assignment to a normal proof step. The Metamath program's Proof Assistant requires proofs to be developed backwards from the conclusion with no gaps, and it has no mechanism that lets the user to work on isolated subproofs. This theorem provides a workaround for this limitation. It can be inserted at any point in a proof to allow an independent subproof to be developed on the side, for later use as part of the final proof. Instructions: (1) Assign this theorem to any unknown step in the proof. Typically, the last unknown step is the most convenient, since 'assign last' can be used. This step will be replicated in hypothesis dummylink.1, from where the development of the main proof can continue. (2) Develop the independent subproof backwards from hypothesis dummylink.2. If desired, use a 'let' command to pre-assign the conclusion of the independent subproof to dummylink.2. (3) After the independent subproof is complete, use 'improve all' to assign it automatically to an unknown step in the main proof that matches it. (4) After the entire proof is complete, use 'minimize */n/b/e 3syl,we?,wsb' to clean up (discard) all dummylink references automatically. This theorem was originally designed to assist importing partially completed Proof Worksheets from Mel O'Cat's mmj2 Proof Assistant GUI, but it can also be useful on its own. Interestingly, this "theorem" - or more precisely, inference - requires no axioms for its proof. |
| Propositional calculus | ||
| Recursively define primitive wffs for propositional calculus | ||
| Syntax | wn 2 |
If |
| Syntax | wi 3 |
If |
| The axioms of propositional calculus | ||
| Axiom | ax-1 4 |
Axiom Simp. Axiom A1 of [Margaris] p.
49. One of the 3 axioms of
propositional calculus. The 3 axioms are also given as Definition 2.1
of [Hamilton] p. 28. This axiom is
called Simp or "the principle of
simplification" in Principia Mathematica (Theorem *2.02 of
[WhiteheadRussell] p. 100)
because "it enables us to pass from the joint
assertion of General remarks: Propositional calculus (axioms ax-1 4 through ax-3 6 and rule ax-mp 7) can be thought of as asserting formulas that are universally "true" when their variables are replaced by any combination of "true" and "false." Propositional calculus was first formalized by Frege in 1879, using as his axioms (in addition to rule ax-mp 7) the wffs ax-1 4, ax-2 5, pm2.04 30, con3 94, nega 84, and negb 86. Around 1930, Lukasiewicz simplified the system by eliminating the third (which follows from the first two, as you can see by looking at the proof of pm2.04 30) and replacing the last three with our ax-3 6. (Thanks to Ted Ulrich for this information.) The theorems of propositional calculus are also called tautologies. Tautologies can be proved very simply using truth tables, based on the true/false interpretation of propositional calculus. To do this, we assign all possible combinations of true and false to the wff variables and verify that the result (using the rules described in wi 3 and wn 2) always evaluates to true. This is called the semantic approach. Our approach is called the syntactic approach, in which everything is derived from axioms. A metatheorem called the Completeness Theorem for Propositional Calculus shows that the two approaches are equivalent and even provides an algorithm for automatically generating syntactic proofs from a truth table. Those proofs, however, tend to be long, and the much shorter proofs that we show here were found manually. Truth tables grow exponentially with the number of variables, but it is unknown if the same is true of proofs - an answer to this would resolve the P=NP conjecture in complexity theory. |
| Axiom | ax-2 5 | Axiom Frege. Axiom A2 of [Margaris] p. 49. One of the 3 axioms of propositional calculus. It "distributes" an antecedent over two consequents. This axiom was part of Frege's original system and is known as Frege in the literature. It is also proved as Theorem *2.77 of [WhiteheadRussell] p. 108. The other direction of this axiom also turns out to be true, as demonstrated by pm5.41 169. |
| Axiom | ax-3 6 | Axiom Transp. Axiom A3 of [Margaris] p. 49. One of the 3 axioms of propositional calculus. It swaps or "transposes" the order of the consequents when negation is removed. An informal example is that the statement "if there are no clouds in the sky, it is not raining" implies the statement "if it is raining, there are clouds in the sky." This axiom is called Transp or "the principle of transposition" in Principia Mathematica (Theorem *2.17 of [WhiteheadRussell] p. 103). We will also use the term "contraposition" for this principle, although the reader is advised that in the field of philosophical logic, "contraposition" has a different technical meaning. |
| Axiom | ax-mp 7 |
Rule of Modus Ponens. The postulated inference rule of propositional
calculus. See e.g. Rule 1 of [Hamilton] p. 73. The rule says, "if
|
| Logical implication | ||
| Theorem | a1i 8 | Inference derived from axiom ax-1 4. See a1d 12 for an explanation of our informal use of the terms "inference" and "deduction." |
| Theorem | a2i 9 | Inference derived from axiom ax-2 5. |
| Theorem | syl 10 |
An inference version of the transitive laws for implication imim2 14
and
imim1 15, which Russell and Whitehead call "the
principle of the
syllogism...because...the syllogism in Barbara is derived from
them"
(quote after Theorem *2.06 of [WhiteheadRussell] p. 101). Some authors
call this law a "hypothetical syllogism."
(A bit of trivia: this is the most commonly referenced assertion in our database. In second place is ax-mp 7, followed by visset 1813, bitr 173, imp 350, and ex 373. The Metamath program command 'show usage' shows the number of references.) |
| Theorem | com12 11 | Inference that swaps (commutes) antecedents in an implication. |
| Theorem | a1d 12 |
Deduction introducing an embedded antecedent. (The proof was revised by
Stefan Allan, 20-Mar-2006.)
Naming convention: We often call a theorem a
"deduction" and suffix
its label with "d" whenever the hypotheses and conclusion are
each
prefixed with the same antecedent. This allows us to use the theorem in
places where (in traditional textbook formalizations) the standard
Deduction Theorem would be used; here |
| Theorem | a2d 13 | Deduction distributing an embedded antecedent. |
| Theorem | imim2 14 | A closed form of syllogism (see syl 10). Theorem *2.05 of [WhiteheadRussell] p. 100. |
| Theorem | imim1 15 | A closed form of syllogism (see syl 10). Theorem *2.06 of [WhiteheadRussell] p. 100. |
| Theorem | imim1i 16 | Inference adding common consequents in an implication, thereby interchanging the original antecedent and consequent. |
| Theorem | imim2i 17 | Inference adding common antecedents in an implication. |
| Theorem | imim12i 18 | Inference joining two implications. |
| Theorem | imim3i 19 | Inference adding three nested antecedents. |
| Theorem | 3syl 20 | Inference chaining two syllogisms. |
| Theorem | syl5 21 | A syllogism rule of inference. The second premise is used to replace the second antecedent of the first premise. |
| Theorem | syl6 22 | A syllogism rule of inference. The second premise is used to replace the consequent of the first premise. |
| Theorem | syl7 23 | A syllogism rule of inference. The second premise is used to replace the third antecedent of the first premise. |
| Theorem | syl8 24 | A syllogism rule of inference. The second premise is used to replace the consequent of the first premise. |