HomeHome Metamath Proof Explorer
Theorem List (p. 507 of 508)
< Previous  Next >
Bad symbols? Try the
GIF version.

Mirrors  >  Metamath Home Page  >  MPE Home Page  >  Theorem List Contents  >  Recent Proofs       This page: Page List

Color key:    Metamath Proof Explorer  Metamath Proof Explorer
(1-31341)
  Hilbert Space Explorer  Hilbert Space Explorer
(31342-32864)
  Users' Mathboxes  Users' Mathboxes
(32865-50710)
 

Theorem List for Metamath Proof Explorer - 50601-50700   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Definitiondf-logbALT 50601* Define the log_ operator. This is the logarithm generalized to an arbitrary base. It can be used as ((log_‘𝐵)‘𝑋) for "log base B of X". This formulation suggested by Mario Carneiro. (Contributed by David A. Wheeler, 14-Jul-2017.) (New usage is discouraged.)
log_ = (𝑏 ∈ (ℂ ∖ {0, 1}) ↦ (𝑥 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑥) / (log‘𝑏))))
 
21.53.8  Formally define notions such as reflexivity

EXPERIMENTAL. Several terms are used in comments but not directly defined in set.mm. For example, there are proofs that a number of specific relations are reflexive, but there is no formal definition of what being reflexive actually *means*. Stating the relationships directly, instead of defining a broader property such as being reflexive, can reduce proof size (because the definition of that property does not need to be expanded later). A disadvantage, however, is that there are several terms that are widely used in comments but do not have a clear formal definition.

Here we define wffs that formally define some of these key terms. The intent isn't to use these directly, but to instead provide a clear formal definition of widely-used mathematical terminology (we even use this terminology within the comments of set.mm itself).

We could define these using extensible structures, but doing so appears overly restrictive. These definitions don't require the use of extensible structures; requiring something to be in an extensible structure to use them is too restrictive. Even if an extensible structure is already in use, it may in use for other things. For example, in geometry, there is a "less-than" relation, but while the geometry itself is an extensible structure, we would have to build a new structure to state "the geometric less-than relation is transitive" (which is more work than it's probably worth). By creating definitions that aren't tied to extensible structures we create definitions that can be applied to anything, including extensible structures, in whatever way we'd like.

BJ suggests that it might be better to define these as functions. There are many advantages to doing that, but they won't work for proper classes. I'm currently trying to also support proper classes, so I have not taken that approach, but if that turns out to be unreasonable then BJ's approach is very much worth considering. Examples would be: BinRel = (𝑥 ∈ V ↦ {𝑟𝑟 ⊆ (𝑥 × 𝑥)}), ReflBinRel = (𝑥 ∈ V ↦ {𝑟 ∈ ( BinRel 𝑥) ∣ ( I ↾ 𝑥) ⊆ 𝑟}), and IrreflBinRel = (𝑥 ∈ V ↦ {𝑟 ∈ ( BinRel 𝑥) ∣ (𝑟 ∩ ( I ↾ 𝑥)) = ∅}).

For more discussion see: https://github.com/metamath/set.mm/pull/1286

 
Syntaxwreflexive 50602 Extend wff definition to include "Reflexive" applied to a class, which is true iff class R is a reflexive relation over the set A. See df-reflexive 50603. (Contributed by David A. Wheeler, 1-Dec-2019.)
wff 𝑅Reflexive𝐴
 
Definitiondf-reflexive 50603* Define reflexive relation; relation 𝑅 is reflexive over the set 𝐴 iff 𝑥𝐴𝑥𝑅𝑥. (Contributed by David A. Wheeler, 1-Dec-2019.)
(𝑅Reflexive𝐴 ↔ (𝑅 ⊆ (𝐴 × 𝐴) ∧ ∀𝑥𝐴 𝑥𝑅𝑥))
 
Syntaxwirreflexive 50604 Extend wff definition to include "Irreflexive" applied to a class, which is true iff class R is an irreflexive relation over the set A. See df-irreflexive 50605. (Contributed by David A. Wheeler, 1-Dec-2019.)
wff 𝑅Irreflexive𝐴
 
Definitiondf-irreflexive 50605* Define irreflexive relation; relation 𝑅 is irreflexive over the set 𝐴 iff 𝑥𝐴¬ 𝑥𝑅𝑥. Note that a relation can be neither reflexive nor irreflexive. (Contributed by David A. Wheeler, 1-Dec-2019.)
(𝑅Irreflexive𝐴 ↔ (𝑅 ⊆ (𝐴 × 𝐴) ∧ ∀𝑥𝐴 ¬ 𝑥𝑅𝑥))
 
21.53.9  Algebra helpers

This is an experimental approach to make it clearer (and easier) to do basic algebra in set.mm.

These little theorems support basic algebra on equations at a slightly higher conceptual level. Instead of always having to "build up" equivalent expressions for one side of an equation, these theorems allow you to directly manipulate an equality. These higher-level steps lead to easier to understand proofs when they can be used, as well as proofs that are slightly shorter (when measured in steps).

There are disadvantages. In particular, this approach requires many theorems (for many permutations to provide all of the operations). It can also only handle certain cases; more complex approaches must still be approached by "building up" equalities as is done today.

However, I expect that we can create enough theorems to make it worth doing. I'm trying this out to see if this is helpful and if the number of permutations is manageable.

To commute LHS for addition, use addcomli 11417. We might want to switch to a naming convention like addcomli 11417.

 
Theoremmvlraddi 50606 Move the right term in a sum on the LHS to the RHS. (Contributed by David A. Wheeler, 11-Oct-2018.)
𝐴 ∈ ℂ    &   𝐵 ∈ ℂ    &   (𝐴 + 𝐵) = 𝐶       𝐴 = (𝐶𝐵)
 
Theoremassraddsubi 50607 Associate RHS addition-subtraction. (Contributed by David A. Wheeler, 11-Oct-2018.)
𝐵 ∈ ℂ    &   𝐶 ∈ ℂ    &   𝐷 ∈ ℂ    &   𝐴 = ((𝐵 + 𝐶) − 𝐷)       𝐴 = (𝐵 + (𝐶𝐷))
 
Theoremjoinlmuladdmuli 50608 Join AB+CB into (A+C) on LHS. (Contributed by David A. Wheeler, 26-Oct-2019.)
𝐴 ∈ ℂ    &   𝐵 ∈ ℂ    &   𝐶 ∈ ℂ    &   ((𝐴 · 𝐵) + (𝐶 · 𝐵)) = 𝐷       ((𝐴 + 𝐶) · 𝐵) = 𝐷
 
Theoremjoinlmulsubmuld 50609 Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 15-Oct-2018.)
(𝜑𝐴 ∈ ℂ)    &   (𝜑𝐵 ∈ ℂ)    &   (𝜑𝐶 ∈ ℂ)    &   (𝜑 → ((𝐴 · 𝐵) − (𝐶 · 𝐵)) = 𝐷)       (𝜑 → ((𝐴𝐶) · 𝐵) = 𝐷)
 
Theoremjoinlmulsubmuli 50610 Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 11-Oct-2018.)
𝐴 ∈ ℂ    &   𝐵 ∈ ℂ    &   𝐶 ∈ ℂ    &   ((𝐴 · 𝐵) − (𝐶 · 𝐵)) = 𝐷       ((𝐴𝐶) · 𝐵) = 𝐷
 
Theoremmvlrmuld 50611 Move the right term in a product on the LHS to the RHS, deduction form. (Contributed by David A. Wheeler, 11-Oct-2018.)
(𝜑𝐴 ∈ ℂ)    &   (𝜑𝐵 ∈ ℂ)    &   (𝜑𝐵 ≠ 0)    &   (𝜑 → (𝐴 · 𝐵) = 𝐶)       (𝜑𝐴 = (𝐶 / 𝐵))
 
Theoremmvlrmuli 50612 Move the right term in a product on the LHS to the RHS, inference form. (Contributed by David A. Wheeler, 11-Oct-2018.)
𝐴 ∈ ℂ    &   𝐵 ∈ ℂ    &   𝐵 ≠ 0    &   (𝐴 · 𝐵) = 𝐶       𝐴 = (𝐶 / 𝐵)
 
21.53.10  Algebra helper examples

Examples using the algebra helpers.

 
Theoremi2linesi 50613 Solve for the intersection of two lines expressed in Y = MX+B form (note that the lines cannot be vertical). Here we use inference form. We just solve for X, since Y can be trivially found by using X. This is an example of how to use the algebra helpers. Notice that because this proof uses algebra helpers, the main steps of the proof are higher level and easier to follow by a human reader. (Contributed by David A. Wheeler, 11-Oct-2018.)
𝐴 ∈ ℂ    &   𝐵 ∈ ℂ    &   𝐶 ∈ ℂ    &   𝐷 ∈ ℂ    &   𝑋 ∈ ℂ    &   𝑌 = ((𝐴 · 𝑋) + 𝐵)    &   𝑌 = ((𝐶 · 𝑋) + 𝐷)    &   (𝐴𝐶) ≠ 0       𝑋 = ((𝐷𝐵) / (𝐴𝐶))
 
Theoremi2linesd 50614 Solve for the intersection of two lines expressed in Y = MX+B form (note that the lines cannot be vertical). Here we use deduction form. We just solve for X, since Y can be trivially found by using X. This is an example of how to use the algebra helpers. Notice that because this proof uses algebra helpers, the main steps of the proof are higher level and easier to follow by a human reader. (Contributed by David A. Wheeler, 15-Oct-2018.)
(𝜑𝐴 ∈ ℂ)    &   (𝜑𝐵 ∈ ℂ)    &   (𝜑𝐶 ∈ ℂ)    &   (𝜑𝐷 ∈ ℂ)    &   (𝜑𝑋 ∈ ℂ)    &   (𝜑𝑌 = ((𝐴 · 𝑋) + 𝐵))    &   (𝜑𝑌 = ((𝐶 · 𝑋) + 𝐷))    &   (𝜑 → (𝐴𝐶) ≠ 0)       (𝜑𝑋 = ((𝐷𝐵) / (𝐴𝐶)))
 
21.53.11  Formal methods "surprises"

Prove that some formal expressions using classical logic have meanings that might not be obvious to some lay readers. I find these are common mistakes and are worth pointing out to new people. In particular we prove alimp-surprise 50615, empty-surprise 50617, and eximp-surprise 50619.

 
Theoremalimp-surprise 50615 Demonstrate that when using "for all" and material implication the consequent can be both always true and always false if there is no case where the antecedent is true.

Those inexperienced with formal notations of classical logic can be surprised with what "for all" and material implication do together when the implication's antecedent is never true. This can happen, for example, when the antecedent is set membership but the set is the empty set (e.g., 𝑥𝑀 and 𝑀 = ∅).

This is perhaps best explained using an example. The sentence "All Martians are green" would typically be represented formally using the expression 𝑥(𝜑𝜓). In this expression 𝜑 is true iff 𝑥 is a Martian and 𝜓 is true iff 𝑥 is green. Similarly, "All Martians are not green" would typically be represented as 𝑥(𝜑 → ¬ 𝜓). However, if there are no Martians (¬ ∃𝑥𝜑), then both of those expressions are true. That is surprising to the inexperienced, because the two expressions seem to be the opposite of each other. The reason this occurs is because in classical logic the implication (𝜑𝜓) is equivalent to ¬ 𝜑𝜓 (as proven in imor 867). When 𝜑 is always false, ¬ 𝜑 is always true, and an or with true is always true.

Here are a few technical notes. In this notation, 𝜑 and 𝜓 are predicates that return a true or false value and may depend on 𝑥. We only say may because it actually doesn't matter for our proof. In Metamath this simply means that we do not require that 𝜑, 𝜓, and 𝑥 be distinct (so 𝑥 can be part of 𝜑 or 𝜓).

In natural language the term "implies" often presumes that the antecedent can occur in at one least circumstance and that there is some sort of causality. However, exactly what causality means is complex and situation-dependent. Modern logic typically uses material implication instead; this has a rigorous definition, but it is important for new users of formal notation to precisely understand it. There are ways to solve this, e.g., expressly stating that the antecedent exists (see alimp-no-surprise 50616) or using the allsome quantifier (df-als 50623) .

For other "surprises" for new users of classical logic, see empty-surprise 50617 and eximp-surprise 50619. (Contributed by David A. Wheeler, 17-Oct-2018.)

¬ ∃𝑥𝜑       (∀𝑥(𝜑𝜓) ∧ ∀𝑥(𝜑 → ¬ 𝜓))
 
Theoremalimp-no-surprise 50616 There is no "surprise" in a for-all with implication if there exists a value where the antecedent is true. This is one way to prevent for-all with implication from allowing anything. For a contrast, see alimp-surprise 50615. The allsome quantifier also counters this problem, see df-als 50623. (Contributed by David A. Wheeler, 27-Oct-2018.)
¬ (∀𝑥(𝜑𝜓) ∧ ∀𝑥(𝜑 → ¬ 𝜓) ∧ ∃𝑥𝜑)
 
Theoremempty-surprise 50617 Demonstrate that when using restricted "for all" over a class the expression can be both always true and always false if the class is empty.

Those inexperienced with formal notations of classical logic can be surprised with what restricted "for all" does over an empty set. It is important to note that 𝑥𝐴𝜑 is simply an abbreviation for 𝑥(𝑥𝐴𝜑) (per df-ral 3082). Thus, if 𝐴 is the empty set, this expression is always true regardless of the value of 𝜑 (see alimp-surprise 50615).

If you want the expression 𝑥𝐴𝜑 to not be vacuously true, you need to ensure that set 𝐴 is inhabited (e.g., 𝑥𝐴). (Technical note: You can also assert that 𝐴 ≠ ∅; this is an equivalent claim in classical logic as proven in n0 4307, but in intuitionistic logic the statement 𝐴 ≠ ∅ is a weaker claim than 𝑥𝐴.)

Some materials on logic (particularly those that discuss "syllogisms") are based on the much older work by Aristotle, but Aristotle expressly excluded empty sets from his system. Aristotle had a specific goal; he was trying to develop a "companion-logic" for science. He relegates fictions like fairy godmothers and mermaids and unicorns to the realms of poetry and literature... This is why he leaves no room for such nonexistent entities in his logic." (Groarke, "Aristotle: Logic", section 7. (Existential Assumptions), Internet Encyclopedia of Philosophy, http://www.iep.utm.edu/aris-log/ 4307). While this made sense for his purposes, it is less flexible than modern (classical) logic which does permit empty sets. If you wish to make claims that require a nonempty set, you must expressly include that requirement, e.g., by stating 𝑥𝜑. Examples of proofs that do this include barbari 2698, celaront 2700, and cesaro 2707.

For another "surprise" for new users of classical logic, see alimp-surprise 50615 and eximp-surprise 50619. (Contributed by David A. Wheeler, 20-Oct-2018.)

¬ ∃𝑥 𝑥𝐴       𝑥𝐴 𝜑
 
Theoremempty-surprise2 50618 "Prove" that false is true when using a restricted "for all" over the empty set, to demonstrate that the expression is always true if the value ranges over the empty set.

Those inexperienced with formal notations of classical logic can be surprised with what restricted "for all" does over an empty set. We proved the general case in empty-surprise 50617. Here we prove an extreme example: we "prove" that false is true. Of course, we actually do no such thing (see notfal 1598); the problem is that restricted "for all" works in ways that might seem counterintuitive to the inexperienced when given an empty set. Solutions to this can include requiring that the set not be empty or by using the allsome quantifier df-rals 50624. (Contributed by David A. Wheeler, 20-Oct-2018.)

¬ ∃𝑥 𝑥𝐴       𝑥𝐴
 
Theoremeximp-surprise 50619 Show what implication inside "there exists" really expands to (using implication directly inside "there exists" is usually a mistake).

Those inexperienced with formal notations of classical logic may use expressions combining "there exists" with implication. That is usually a mistake, because as proven using imor 867, such an expression can be rewritten using not with or - and that is often not what the author intended. New users of formal notation who use "there exists" with an implication should consider if they meant "and" instead of "implies". A stark example is shown in eximp-surprise2 50620. See also alimp-surprise 50615 and empty-surprise 50617. (Contributed by David A. Wheeler, 17-Oct-2018.)

(∃𝑥(𝜑𝜓) ↔ ∃𝑥𝜑𝜓))
 
Theoremeximp-surprise2 50620 Show that "there exists" with an implication is always true if there exists a situation where the antecedent is false.

Those inexperienced with formal notations of classical logic may use expressions combining "there exists" with implication. This is usually a mistake, because that combination does not mean what an inexperienced person might think it means. For example, if there is some object that does not meet the precondition 𝜑, then the expression 𝑥(𝜑𝜓) as a whole is always true, no matter what 𝜓 is (𝜓 could even be false, ). New users of formal notation who use "there exists" with an implication should consider if they meant "and" instead of "implies". See eximp-surprise 50619, which shows what implication really expands to. See also empty-surprise 50617. (Contributed by David A. Wheeler, 18-Oct-2018.)

𝑥 ¬ 𝜑       𝑥(𝜑𝜓)
 
21.53.12  Allsome quantifier

These are definitions and proofs involving the "allsome" quantifier (aka "all some").

In informal language, statements like "All Martians are green" imply that there is at least one Martian. But it's easy to mistranslate informal language into formal notations because similar statements like 𝑥𝜑𝜓 do not imply that 𝜑 is ever true, leading to vacuous truths. See alimp-surprise 50615 and empty-surprise 50617 as examples of the problem. Some systems include a mechanism to counter this, e.g., PVS allows types to be appended with "+" to declare that they are nonempty. This section presents a different solution to the same problem.

The "allsome" quantifier expressly includes the notion of both "all" and "there exists at least one" (aka some), and is defined to make it easier to more directly express both notions. The hope is that if a quantifier more directly expresses this concept, it will be used instead and reduce the risk of creating formal expressions that look okay but in fact are mistranslations. The term "allsome" was chosen because it's short, easy to say, and clearly hints at the two concepts it combines.

I do not expect this to be used much in Metamath, because in Metamath there's a general policy of avoiding the use of new definitions unless there are very strong reasons to do so. Instead, my goal is to rigorously define this quantifier and demonstrate a few basic properties of it.

The syntax allows two forms that look like they would be problematic, but they are fine. When applied to a top-level implication we allow ∀∃𝑥(𝜑𝜓), and when restricted (applied to a class) we allow ∀∃𝑥𝐴(𝜑𝜓). The first symbol after the setvar variable must always be if it is the form applied to a class, and since cannot begin a wff, it is unambiguous. The looks like it would be a problem because 𝜑 or 𝜓 might include implications, but any implication arrow within any wff must be surrounded by parentheses, so only the implication arrow of ∀∃ can follow the wff. The implication syntax would work fine without the parentheses, but I added the parentheses because it makes things clearer inside larger complex expressions, and it's also more consistent with the rest of the syntax.

Naming: "als" is allsome. The form restricted to a class is prefixed with "r", following the way set.mm names the restricted quantifiers it is built from: gives df-ral 3082 and gives df-rex 3092, so df-als 50623 (the general form) gives df-rals 50624 (the restricted form).

Earlier versions of this material differed, so old references may not match. They wrote the quantifier as an "inverted A" followed by an exclamation point, and they named the general form df-alsi and the restricted form df-alsc. The symbol is now an "inverted A" followed by a "backwards E", which more readers can correctly guess without being taught it. The restricted definition also changed, and the older one was a mistake; see df-rals 50624 for what was wrong with it.

Soundness of the two definitions below. Definitions are required to be eliminable and conservative (see the section comment for df-bi 210). Both df-als 50623 and df-rals 50624 meet these requirements directly, and so neither needs a justification theorem.

Each is stated as a biconditional whose left side is a new syntax construct (wals 50621 or wrals 50622) applied to distinct metavariables, and whose right side uses only constructs introduced earlier (, , , , and the restricted quantifiers df-ral 3082 and df-rex 3092). Any occurrence of the new construct can therefore be replaced by the right side, which is eliminability; conservativity follows, since a proof of a statement not mentioning ∀∃ can have every use of the definition replaced in this way.

Note in particular that every variable occurring on the right side already occurs on the left side, so no dummy variable is introduced. A justification theorem is needed only when that fails, that is, when a definition introduces a dummy variable and the choice of that variable must be shown not to matter (as in eujust 2601 for df-eu 2599), or when the definition cannot use because it is defining itself (as in bijust 208 for df-bi 210). Neither case arises here. The restricted quantifier definitions df-ral 3082 and df-rex 3092 have the same shape as these and likewise need no justification.

For more, see "The Allsome Quantifier" by David A. Wheeler at https://dwheeler.com/essays/allsome.html 3092 I hope that others will eventually agree that allsome is awesome.

 
Syntaxwals 50621 Extend wff definition to include "all some" applied to a top-level implication, which means 𝜓 is true whenever 𝜑 is true, and there is at least one 𝑥 where 𝜑 is true. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
wff ∀∃𝑥(𝜑𝜓)
 
Syntaxwrals 50622 Extend wff definition to include "all some" applied to a class, which means 𝜓 is true whenever 𝜑 is true for 𝑥 in 𝐴, and there is at least one 𝑥 in 𝐴 where 𝜑 is true. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
wff ∀∃𝑥𝐴(𝜑𝜓)
 
Definitiondf-als 50623 Define "all some" applied to a top-level implication, which means 𝜓 is true whenever 𝜑 is true and there is at least one 𝑥 where 𝜑 is true. (Contributed by David A. Wheeler, 20-Oct-2018.)
(∀∃𝑥(𝜑𝜓) ↔ (∀𝑥(𝜑𝜓) ∧ ∃𝑥𝜑))
 
Definitiondf-rals 50624 Define "all some" applied to a class, which means 𝜓 is true whenever 𝜑 is true for 𝑥 in 𝐴, and there is at least one 𝑥 in 𝐴 where 𝜑 is true.

An older definition of the "all some" quantifier when scoped to a class, named df-alsc and now removed, instead applied a bare formula 𝜑 to the members of a class, asserting only (∀𝑥𝐴𝜑 ∧ ∃𝑥𝑥𝐴), that is, that the formula held throughout 𝐴 and that 𝐴 had at least one member. I've now decided that that was a mistake. Its older existence conjunct 𝑥𝑥𝐴 did not require any member of 𝐴 to satisfy the antecedent, so if the formula was itself an implication, that inner implication could still be vacuously true, which is precisely what the allsome quantifier exists to prevent. For example, the older definition meant that "among Martians, all tall ones are green" could be considered true if there are Martians, but no tall Martians. This version of the definition instead ensures that claims of the form "among Martians, all tall ones are green" can only be true if all tall Martians are green and that there is at least one tall Martian. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)

(∀∃𝑥𝐴(𝜑𝜓) ↔ (∀𝑥𝐴 (𝜑𝜓) ∧ ∃𝑥𝐴 𝜑))
 
Theoremdfrals2 50625 The bounded "all some" form is the general form with the class membership folded into the antecedent. (Contributed by David A. Wheeler, 22-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
(∀∃𝑥𝐴(𝜑𝜓) ↔ ∀∃𝑥((𝑥𝐴𝜑) → 𝜓))
 
Theoremalsd 50626 Introduction rule: "all some" holds if the "for all" part holds and the antecedent has a witness. This is the converse of als1d 50628 and als2d 50629 taken together, and is what lets an "all some" statement be proved rather than merely taken apart. (Contributed by David A. Wheeler, 12-Jul-2026.)
(𝜑 → ∀𝑥(𝜓𝜒))    &   (𝜑 → ∃𝑥𝜓)       (𝜑 → ∀∃𝑥(𝜓𝜒))
 
Theoremralsd 50627 Introduction rule for "all some" restricted to a class. This is the converse of rals1d 50630 and rals2d 50631 taken together. (Contributed by David A. Wheeler, 12-Jul-2026.)
(𝜑 → ∀𝑥𝐴 (𝜓𝜒))    &   (𝜑 → ∃𝑥𝐴 𝜓)       (𝜑 → ∀∃𝑥𝐴(𝜓𝜒))
 
Theoremals1d 50628 Deduction rule: Given "all some" applied to a top-level inference, you can extract the "for all" part. (Contributed by David A. Wheeler, 20-Oct-2018.)
(𝜑 → ∀∃𝑥(𝜓𝜒))       (𝜑 → ∀𝑥(𝜓𝜒))
 
Theoremals2d 50629 Deduction rule: Given "all some" applied to a top-level inference, you can extract the "exists" part. (Contributed by David A. Wheeler, 20-Oct-2018.)
(𝜑 → ∀∃𝑥(𝜓𝜒))       (𝜑 → ∃𝑥𝜓)
 
Theoremrals1d 50630 Deduction rule: Given "all some" applied to a class, you can extract the "for all" part. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
(𝜑 → ∀∃𝑥𝐴(𝜓𝜒))       (𝜑 → ∀𝑥𝐴 (𝜓𝜒))
 
Theoremrals2d 50631 Deduction rule: Given "all some" applied to a class, you can extract the "there exists" part. Note that the witness must satisfy the antecedent 𝜓, not merely be a member of 𝐴. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
(𝜑 → ∀∃𝑥𝐴(𝜓𝜒))       (𝜑 → ∃𝑥𝐴 𝜓)
 
Theoremralsn0d 50632* Deduction rule: Given "all some" applied to a class, the class is not the empty set. (Contributed by David A. Wheeler, 23-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
(𝜑 → ∀∃𝑥𝐴(𝜓𝜒))       (𝜑𝐴 ≠ ∅)
 
Theoremalsex 50633 The consequent of an "all some" is witnessed: if 𝜓 holds of every 𝑥 satisfying 𝜑, and some 𝑥 satisfies 𝜑, then some 𝑥 satisfies 𝜓. This is the positive counterpart of als-no-surprise 50641, and it is the property that ordinary "for all" with implication lacks: from 𝑥(𝜑𝜓) alone nothing whatever follows about 𝜓, as alimp-surprise 50615 shows. It is the reason the allsome quantifier says what a speaker of "all Martians are green" usually means. (Contributed by David A. Wheeler, 12-Jul-2026.)
(∀∃𝑥(𝜑𝜓) → ∃𝑥𝜓)
 
Theoremralsex 50634 The consequent of an "all some" restricted to a class is witnessed: some member of 𝐴 satisfying 𝜑 also satisfies 𝜓. Restricted counterpart of alsex 50633. (Contributed by David A. Wheeler, 12-Jul-2026.)
(∀∃𝑥𝐴(𝜑𝜓) → ∃𝑥𝐴 𝜓)
 
Theoremalsbii 50635 Congruence: equivalents may be substituted inside an "all some". (Contributed by David A. Wheeler, 12-Jul-2026.)
(𝜑𝜒)    &   (𝜓𝜃)       (∀∃𝑥(𝜑𝜓) ↔ ∀∃𝑥(𝜒𝜃))
 
Theoremralsbii 50636 Congruence for "all some" restricted to a class. (Contributed by David A. Wheeler, 12-Jul-2026.)
(𝜑𝜒)    &   (𝜓𝜃)       (∀∃𝑥𝐴(𝜑𝜓) ↔ ∀∃𝑥𝐴(𝜒𝜃))
 
Theoremalsbid 50637 Deduction form of alsbii 50635. (Contributed by David A. Wheeler, 12-Jul-2026.)
𝑥𝜑    &   (𝜑 → (𝜓𝜃))    &   (𝜑 → (𝜒𝜏))       (𝜑 → (∀∃𝑥(𝜓𝜒) ↔ ∀∃𝑥(𝜃𝜏)))
 
Theoremnfals 50638 Bound-variable hypothesis builder for "all some". (Contributed by David A. Wheeler, 12-Jul-2026.)
𝑥𝜑    &   𝑥𝜓       𝑥∀∃𝑦(𝜑𝜓)
 
Theoremnfrals 50639* Bound-variable hypothesis builder for "all some" restricted to a class. (Contributed by David A. Wheeler, 12-Jul-2026.)
𝑥𝐴    &   𝑥𝜑    &   𝑥𝜓       𝑥∀∃𝑦𝐴(𝜑𝜓)
 
Theoremcbvals 50640* Rule used to change bound variables, using implicit substitution. (Contributed by David A. Wheeler, 12-Jul-2026.)
(𝑥 = 𝑦 → (𝜑𝜒))    &   (𝑥 = 𝑦 → (𝜓𝜃))       (∀∃𝑥(𝜑𝜓) ↔ ∀∃𝑦(𝜒𝜃))
 
Theoremals-no-surprise 50641 Demonstrate that there is never a "surprise" when using the allsome quantifier, that is, it is never possible for the consequent to be both always true and always false. This uses the definition of df-als 50623; the proof itself builds on alimp-no-surprise 50616. For a contrast, see alimp-surprise 50615. (Contributed by David A. Wheeler, 27-Oct-2018.)
¬ (∀∃𝑥(𝜑𝜓) ∧ ∀∃𝑥(𝜑 → ¬ 𝜓))
 
Theoremrals-no-surprise 50642 Demonstrate that there is never a "surprise" when using the allsome quantifier restricted to a class, that is, it is never possible for the consequent to be both always true and always false of the members of 𝐴 that satisfy the antecedent. This is the restricted counterpart of als-no-surprise 50641, and follows from it by dfrals2 50625. Note that this needs no assumption that 𝐴 is nonempty, because allsome requires a member of 𝐴 satisfying 𝜑, and that member would have to satisfy both 𝜓 and ¬ 𝜓. The ordinary restricted "for all" requires no such member and can be vacuously true, as shown in empty-surprise2 50618; that is the point of allsome. (Contributed by David A. Wheeler, 12-Jul-2026.)
¬ (∀∃𝑥𝐴(𝜑𝜓) ∧ ∀∃𝑥𝐴(𝜑 → ¬ 𝜓))
 
Theoremralrals 50643 If the universal part of a restricted "all some" statement holds, then the statement reduces to the existence of a member of 𝐴 satisfying its antecedent. This is the restricted counterpart of ralals 50649. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
(∀𝑥𝐴 (𝜑𝜓) → (∀∃𝑥𝐴(𝜑𝜓) ↔ ∃𝑥𝐴 𝜑))
 
Theoremrexrals 50644 If a member of 𝐴 satisfying the antecedent exists, then a restricted "all some" statement reduces to its universal part. This is the restricted counterpart of rexals 50650. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
(∃𝑥𝐴 𝜑 → (∀∃𝑥𝐴(𝜑𝜓) ↔ ∀𝑥𝐴 (𝜑𝜓)))
 
Theoremalsanmo 50645 An "all some" statement conjoined with the claim that at most one 𝑥 satisfies its antecedent is equivalent to the universal part conjoined with the claim that exactly one 𝑥 satisfies the antecedent. The "all some" quantifier supplies the existence of such an 𝑥 and ∃*𝑥𝜑 supplies the at-most-one part, so together they yield ∃!𝑥𝜑. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
((∀∃𝑥(𝜑𝜓) ∧ ∃*𝑥𝜑) ↔ (∀𝑥(𝜑𝜓) ∧ ∃!𝑥𝜑))
 
Theoremralsanmo 50646 An "all some" statement restricted to a class, conjoined with the claim that at most one 𝑥 in 𝐴 satisfies its antecedent, is equivalent to the universal part conjoined with the claim that exactly one 𝑥 in 𝐴 satisfies the antecedent. This is the restricted counterpart of alsanmo 50645. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
((∀∃𝑥𝐴(𝜑𝜓) ∧ ∃*𝑥𝐴 𝜑) ↔ (∀𝑥𝐴 (𝜑𝜓) ∧ ∃!𝑥𝐴 𝜑))
 
Theoremalsralrex 50647* The general "all some" quantifier with class membership as its antecedent holds if and only if 𝜑 holds for every 𝑥 in 𝐴 and some 𝑥 in 𝐴 satisfies 𝜑. (Contributed by Peter Mazsa, 27-Nov-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∀∃𝑥(𝑥𝐴𝜑) ↔ (∀𝑥𝐴 𝜑 ∧ ∃𝑥𝐴 𝜑))
 
Theoremalsraln0 50648* The general "all some" quantifier with class membership as its antecedent holds if and only if 𝜑 holds for every 𝑥 in 𝐴 and 𝐴 is not empty. (Contributed by Peter Mazsa, 28-Nov-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∀∃𝑥(𝑥𝐴𝜑) ↔ (∀𝑥𝐴 𝜑𝐴 ≠ ∅))
 
Theoremralals 50649* If 𝜑 holds for every 𝑥 in 𝐴, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that some 𝑥 in 𝐴 satisfies 𝜑. See ralrals 50643 for the restricted counterpart. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∀𝑥𝐴 𝜑 → (∀∃𝑥(𝑥𝐴𝜑) ↔ ∃𝑥𝐴 𝜑))
 
Theoremrexals 50650* If some 𝑥 in 𝐴 satisfies 𝜑, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that 𝜑 holds for every 𝑥 in 𝐴. See rexrals 50644 for the restricted counterpart. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∃𝑥𝐴 𝜑 → (∀∃𝑥(𝑥𝐴𝜑) ↔ ∀𝑥𝐴 𝜑))
 
Theoremn0als 50651* If 𝐴 is not empty, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that 𝜑 holds for every 𝑥 in 𝐴. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
(𝐴 ≠ ∅ → (∀∃𝑥(𝑥𝐴𝜑) ↔ ∀𝑥𝐴 𝜑))
 
Theorem2alsraln0 50652* Nested general "all some" quantifiers with class membership as their antecedents: 𝜑 holds for every 𝑥 in 𝐴 and every 𝑦 in 𝐵, and both 𝐴 and 𝐵 are not empty. (Contributed by Peter Mazsa, 28-May-2019.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∀∃𝑥(𝑥𝐴 → ∀∃𝑦(𝑦𝐵𝜑)) ↔ (∀𝑥𝐴𝑦𝐵 𝜑 ∧ (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)))
 
Theorem2alsraln0id 50653* Nested general "all some" quantifiers with class membership as their antecedents, for the same class 𝐴: 𝜑 holds for every 𝑥 and every 𝑦 in 𝐴, and 𝐴 is not empty. (Contributed by Peter Mazsa, 28-May-2019.) (Revised by David A. Wheeler, 15-Jul-2026.)
(∀∃𝑥(𝑥𝐴 → ∀∃𝑦(𝑦𝐴𝜑)) ↔ (∀𝑥𝐴𝑦𝐴 𝜑𝐴 ≠ ∅))
 
21.53.13  Allsome one quantifier

These are definitions and proofs involving the "allsome one" quantifier, which extends the "allsome" quantifier of the previous section in the same way that ∃! (df-eu 2599) extends .

Some systems extend "there exists" by appending a character to it. If a system provides such an extension, it should provide it for allsome as well: append the same character, let it modify allsome's existence conjunct, and change nothing else. Appending "!" gives "allsome one", so ∀∃!𝑥(𝜑𝜓) means that 𝜓 is true whenever 𝜑 is true and that exactly one 𝑥 satisfies 𝜑.

This is what the English word "the" usually does. "The king is hungry" claims that a king exists, that there is only one, and that he is hungry, and the form ∀∃!𝑥(𝜑𝜓) claims exactly that kind of statement (specifically when 𝜑 means 𝑥 is a king and 𝜓 means 𝑥 is hungry). English says all of that in a single phrase, and the first two have a dedicated word ("the") for the construct. Many other languages have their own dedicated way of saying this. Languages reserve that kind of compression for what their speakers need constantly, which is a good reason for a formal notation to be able to say it just as directly, rather than spelling it out afresh as a conjunction of two quantified formulas every time it comes up. Russell analyzed such definite descriptions with this apparatus in "On Denoting", where his example of a phrase that appears to refer to someone but in fact denotes no one at all is "the present King of France", item (1) of [Russell1905] p. 479, France being a republic that has no king. Write "the king is hungry" as 𝑥(𝜑𝜓) instead and only the last of those three claims survives. The existence claim is silently gone, since that formula is vacuously true when there is no king, and the uniqueness claim is silently gone as well, since that formula holds just the same when there are five kings. Russell reached the opposite verdict for the same example, remarking that every proposition of the form "the present King of France ..." is false, [Russell1905] p. 482. The reason to care is the reason that motivates allsome, only more so; see alimp-surprise 50615 and empty-surprise 50617.

Note that this is not merely a way of writing ∃!𝑥(𝜑𝜓). Reading 𝜑 as "is a king" and 𝜓 as "is hungry", ∃!𝑥(𝜑𝜓) says that there is exactly one hungry king, whereas ∀∃!𝑥(𝜑𝜓) says that there is exactly one king and that he is hungry. The first is true in a region with five kings exactly one of whom is hungry; the second is false there. Uniqueness attaches to the antecedent, not to the conjunction. See dfalseu2 50671 for the exact relationship between the two and alseueu 50672 for the one direction that does hold.

Naming: "alseu" is allsome ("als", as in df-als 50623) extended with "exactly one" ("eu", as in df-eu 2599). The form restricted to a class is prefixed with "r", following df-rals 50624 and df-reu 3372, giving df-ralseu 50657.

Soundness: df-alseu 50656 and df-ralseu 50657 are eliminable and conservative directly, so neither needs a justification theorem. Definitions are required to be eliminable and conservative; see the section comment for df-bi 210. Each is a biconditional whose left side is a new syntax construct (walseu 50654 or wralseu 50655) applied to distinct metavariables, and whose right side uses only constructs introduced earlier (, ∃!, , , and the restricted quantifiers df-ral 3082 and df-reu 3372), so any occurrence of the new construct can be replaced by the right side, which is eliminability. Conservativity follows, since a proof of a statement not mentioning ∀∃! can have every use of the definition replaced in this way. Every variable occurring on the right side already occurs on the left side, so no dummy variable is introduced, and introducing a dummy variable whose choice must be shown not to matter is the only circumstance here that would call for a justification theorem.

For more, see "The Allsome Quantifier" by David A. Wheeler at https://dwheeler.com/essays/allsome.html 3372

 
Syntaxwalseu 50654 Extend wff definition to include "all some one" applied to a top-level implication, which means 𝜓 is true whenever 𝜑 is true, and exactly one 𝑥 satisfies 𝜑. (Contributed by David A. Wheeler, 21-Jul-2026.)
wff ∀∃!𝑥(𝜑𝜓)
 
Syntaxwralseu 50655 Extend wff definition to include "all some one" applied to a class, which means 𝜓 is true whenever 𝜑 is true for 𝑥 in 𝐴, and exactly one 𝑥 in 𝐴 satisfies 𝜑. (Contributed by David A. Wheeler, 21-Jul-2026.)
wff ∀∃!𝑥𝐴(𝜑𝜓)
 
Definitiondf-alseu 50656 Define "all some one" applied to a top-level implication, which means 𝜓 is true whenever 𝜑 is true and exactly one 𝑥 satisfies 𝜑. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥(𝜑𝜓) ↔ (∀𝑥(𝜑𝜓) ∧ ∃!𝑥𝜑))
 
Definitiondf-ralseu 50657 Define "all some one" applied to a class, which means 𝜓 is true whenever 𝜑 is true for 𝑥 in 𝐴, and exactly one 𝑥 in 𝐴 satisfies 𝜑. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥𝐴(𝜑𝜓) ↔ (∀𝑥𝐴 (𝜑𝜓) ∧ ∃!𝑥𝐴 𝜑))
 
Theoremdfralseu2 50658 The bounded "all some one" form is the general form with the class membership folded into the antecedent. This is the "all some one" counterpart of dfrals2 50625. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥𝐴(𝜑𝜓) ↔ ∀∃!𝑥((𝑥𝐴𝜑) → 𝜓))
 
Theoremalseuals 50659 "All some one" implies "all some": requiring exactly one witness is stronger than requiring at least one. Any consequence of an allsome statement is therefore a consequence of the corresponding "all some one" statement, which is how alseu-no-surprise 50673 is proved. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥(𝜑𝜓) → ∀∃𝑥(𝜑𝜓))
 
Theoremralseurals 50660 "All some one" restricted to a class implies "all some" restricted to that class. Restricted counterpart of alseuals 50659. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥𝐴(𝜑𝜓) → ∀∃𝑥𝐴(𝜑𝜓))
 
Theoremalseud 50661 Introduction rule: "all some one" holds if the "for all" part holds and the antecedent has exactly one witness. This is the converse of alseu1d 50663 and alseu2d 50664 taken together. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀𝑥(𝜓𝜒))    &   (𝜑 → ∃!𝑥𝜓)       (𝜑 → ∀∃!𝑥(𝜓𝜒))
 
Theoremralseud 50662 Introduction rule for "all some one" restricted to a class. This is the converse of ralseu1d 50665 and ralseu2d 50666 taken together. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀𝑥𝐴 (𝜓𝜒))    &   (𝜑 → ∃!𝑥𝐴 𝜓)       (𝜑 → ∀∃!𝑥𝐴(𝜓𝜒))
 
Theoremalseu1d 50663 Deduction rule: Given "all some one" applied to a top-level inference, you can extract the "for all" part. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀∃!𝑥(𝜓𝜒))       (𝜑 → ∀𝑥(𝜓𝜒))
 
Theoremalseu2d 50664 Deduction rule: Given "all some one" applied to a top-level inference, you can extract the "exactly one" part. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀∃!𝑥(𝜓𝜒))       (𝜑 → ∃!𝑥𝜓)
 
Theoremralseu1d 50665 Deduction rule: Given "all some one" applied to a class, you can extract the "for all" part. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀∃!𝑥𝐴(𝜓𝜒))       (𝜑 → ∀𝑥𝐴 (𝜓𝜒))
 
Theoremralseu2d 50666 Deduction rule: Given "all some one" applied to a class, you can extract the "exactly one" part. Note that the witness must satisfy the antecedent 𝜓, not merely be a member of 𝐴. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑 → ∀∃!𝑥𝐴(𝜓𝜒))       (𝜑 → ∃!𝑥𝐴 𝜓)
 
Theoremalseubii 50667 Congruence: equivalents may be substituted inside an "all some one". This is the "all some one" counterpart of alsbii 50635. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑𝜒)    &   (𝜓𝜃)       (∀∃!𝑥(𝜑𝜓) ↔ ∀∃!𝑥(𝜒𝜃))
 
Theoremralseubii 50668 Congruence for "all some one" restricted to a class. This is the "all some one" counterpart of ralsbii 50636. (Contributed by David A. Wheeler, 21-Jul-2026.)
(𝜑𝜒)    &   (𝜓𝜃)       (∀∃!𝑥𝐴(𝜑𝜓) ↔ ∀∃!𝑥𝐴(𝜒𝜃))
 
Theoremnfalseu 50669* Bound-variable hypothesis builder for "all some one". This is the "all some one" counterpart of nfals 50638. Unlike nfals 50638 it requires 𝑥 and 𝑦 to be disjoint, because the corresponding builder for ∃! is nfeuw 2623, which requires it; the version without that requirement, nfeu 2624, depends on ax-13 2406 and its use is discouraged. (Contributed by David A. Wheeler, 21-Jul-2026.)
𝑥𝜑    &   𝑥𝜓       𝑥∀∃!𝑦(𝜑𝜓)
 
Theoremnfralseu 50670* Bound-variable hypothesis builder for "all some one" restricted to a class. This is the "all some one" counterpart of nfrals 50639. (Contributed by David A. Wheeler, 21-Jul-2026.)
𝑥𝐴    &   𝑥𝜑    &   𝑥𝜓       𝑥∀∃!𝑦𝐴(𝜑𝜓)
 
Theoremdfalseu2 50671 An "all some one" statement is equivalent to its universal part conjoined with the claim that exactly one 𝑥 satisfies both 𝜑 and 𝜓. In other words, given 𝑥(𝜑𝜓), requiring exactly one 𝑥 to satisfy 𝜑, which is what df-alseu 50656 requires, and requiring exactly one 𝑥 to satisfy (𝜑𝜓) come to the same thing. Read 𝜑 as "is a king" and 𝜓 as "is hungry": if every king is hungry, then "there is exactly one king" and "there is exactly one hungry king" say the same thing, so either of them, together with "every king is hungry", gives "the king is hungry".

The universal conjunct is what makes that work, and it cannot be dropped. ∃!𝑥(𝜑𝜓) on its own is strictly weaker than ∀∃!𝑥(𝜑𝜓), since it is satisfied when many things are 𝜑 and just one of those is 𝜓, as in a region with five kings exactly one of whom is hungry; see alseueu 50672 for the one direction that does hold without it. Uniqueness attaches to the antecedent, not to the conjunction. Russell's analysis of a definite description is built the same way: its uniqueness clause constrains the description predicate alone, while the predication is a separate conjunct. See his worked example of "the father of Charles II was executed", [Russell1905] p. 482. (Contributed by David A. Wheeler, 21-Jul-2026.)

(∀∃!𝑥(𝜑𝜓) ↔ (∀𝑥(𝜑𝜓) ∧ ∃!𝑥(𝜑𝜓)))
 
Theoremalseueu 50672 "The 𝜑 is 𝜓 " implies that exactly one thing is both 𝜑 and 𝜓. This is the half of dfalseu2 50671 that drops the universal conjunct; it does not reverse, so ∃!𝑥(𝜑𝜓) cannot be used in place of an "all some one" statement. (Contributed by David A. Wheeler, 21-Jul-2026.)
(∀∃!𝑥(𝜑𝜓) → ∃!𝑥(𝜑𝜓))
 
Theoremalseu-no-surprise 50673 Demonstrate that there is never a "surprise" when using the "all some one" quantifier, that is, it is never possible for the consequent to be both always true and always false. This follows from als-no-surprise 50641 by alseuals 50659. For a contrast, see alimp-surprise 50615. (Contributed by David A. Wheeler, 21-Jul-2026.)
¬ (∀∃!𝑥(𝜑𝜓) ∧ ∀∃!𝑥(𝜑 → ¬ 𝜓))
 
21.53.14  Miscellaneous

Miscellaneous proofs.

 
Theorem5m4e1 50674 Prove that 5 - 4 = 1. (Contributed by David A. Wheeler, 31-Jan-2017.)
(5 − 4) = 1
 
Theorem2p2ne5 50675 Prove that 2 + 2 ≠ 5. In George Orwell's "1984", Part One, Chapter Seven, the protagonist Winston notes that, "In the end the Party would announce that two and two made five, and you would have to believe it." http://www.sparknotes.com/lit/1984/section4.rhtml. More generally, the phrase 2 + 2 = 5 has come to represent an obviously false dogma one may be required to believe. See the Wikipedia article for more about this: https://en.wikipedia.org/wiki/2_%2B_2_%3D_5. Unsurprisingly, we can easily prove that this claim is false. (Contributed by David A. Wheeler, 31-Jan-2017.)
(2 + 2) ≠ 5
 
Theoremresolution 50676 Resolution rule. This is the primary inference rule in some automated theorem provers such as prover9. The resolution rule can be traced back to Davis and Putnam (1960). (Contributed by David A. Wheeler, 9-Feb-2017.)
(((𝜑𝜓) ∨ (¬ 𝜑𝜒)) → (𝜓𝜒))
 
Theoremtestable 50677 In classical logic all wffs are testable, that is, it is always true that 𝜑 ∨ ¬ ¬ 𝜑). This is not necessarily true in intuitionistic logic. In intuitionistic logic, if this statement is true for some 𝜑, then 𝜑 is testable. The proof is trivial because it's simply a special case of the law of the excluded middle, which is true in classical logic but not necessarily true in intuitionisic logic. (Contributed by David A. Wheeler, 5-Dec-2018.)
𝜑 ∨ ¬ ¬ 𝜑)
 
21.53.15  Theorems about algebraic numbers
 
Theoremaacllem 50678* Lemma for other theorems about 𝔸. (Contributed by Brendan Leahy, 3-Jan-2020.) (Revised by Alexander van der Vekens and David A. Wheeler, 25-Apr-2020.)
(𝜑𝐴 ∈ ℂ)    &   (𝜑𝑁 ∈ ℕ0)    &   ((𝜑𝑛 ∈ (1...𝑁)) → 𝑋 ∈ ℂ)    &   ((𝜑𝑘 ∈ (0...𝑁) ∧ 𝑛 ∈ (1...𝑁)) → 𝐶 ∈ ℚ)    &   ((𝜑𝑘 ∈ (0...𝑁)) → (𝐴𝑘) = Σ𝑛 ∈ (1...𝑁)(𝐶 · 𝑋))       (𝜑𝐴 ∈ 𝔸)
 
21.54  Mathbox for Mingli Yuan
 
Theoremwrdf1d 50679 A one-to-one word maps its domain into its alphabet. (Contributed by Mingli Yuan, 11-Aug-2026.)
(𝜑𝑊 ∈ Word 𝐷)    &   (𝜑 → Fun 𝑊)       (𝜑𝑊:dom 𝑊1-1𝐷)
 
21.55  Mathbox for Jiamin Zhao
 
21.55.1  Cross product and scalar triple product in RR^3
 
Theorem1ne3 50680 1 is not equal to 3. (Contributed by Jiamin Zhao, 1-Aug-2026.)
1 ≠ 3
 
Theorem2ne3 50681 2 is not equal to 3. (Contributed by Jiamin Zhao, 1-Aug-2026.)
2 ≠ 3
 
Theorem1elfz13 50682 Membership of 1 in the integer interval ( 1 ... 3 ). (Suggested by avekens.) (Contributed by Jiamin Zhao, 1-Aug-2026.) (Proof shortened by Jiamin Zhao, 13-Aug-2026.)
1 ∈ (1...3)
 
Theorem2elfz13 50683 Membership of 2 in the integer interval ( 1 ... 3 ). (Suggested by tirix.) (Contributed by Jiamin Zhao, 1-Aug-2026.) (Proof shortened by Jiamin Zhao, 13-Aug-2026.)
2 ∈ (1...3)
 
Theorem3elfz13 50684 Membership of 3 in the integer interval ( 1 ... 3 ). (Contributed by Jiamin Zhao, 1-Aug-2026.)
3 ∈ (1...3)
 
Theoremrr3fvcl 50685 The components of a 3-dimensional real coordinate vector are real numbers. (Contributed by Jiamin Zhao, 31-Jul-2026.)
(𝐴 ∈ (ℝ ↑m (1...3)) → ((𝐴‘1) ∈ ℝ ∧ (𝐴‘2) ∈ ℝ ∧ (𝐴‘3) ∈ ℝ))
 
Theoremrr3fv1cld 50686 First component of a 3-dimensional real coordinate vector is real. (Contributed by Jiamin Zhao, 10-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))       (𝜑 → (𝐴‘1) ∈ ℝ)
 
Theoremrr3fv2cld 50687 Second component of a 3-dimensional real coordinate vector is real. (Contributed by Jiamin Zhao, 10-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))       (𝜑 → (𝐴‘2) ∈ ℝ)
 
Theoremrr3fv3cld 50688 Third component of a 3-dimensional real coordinate vector is real. (Contributed by Jiamin Zhao, 10-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))       (𝜑 → (𝐴‘3) ∈ ℝ)
 
Syntaxccrossp 50689 Extend class notation to include the cross product operation. (Contributed by Jiamin Zhao, 31-Jul-2026.)
class
 
Definitiondf-crossp 50690* Define the cross product of two 3-dimensional real coordinate vectors. Vectors are represented as functions on (1...3). (Contributed by Jiamin Zhao, 31-Jul-2026.)
⊠ = (𝑢 ∈ (ℝ ↑m (1...3)), 𝑣 ∈ (ℝ ↑m (1...3)) ↦ (𝑘 ∈ (1...3) ↦ if(𝑘 = 1, (((𝑢‘2) · (𝑣‘3)) − ((𝑢‘3) · (𝑣‘2))), if(𝑘 = 2, (((𝑢‘3) · (𝑣‘1)) − ((𝑢‘1) · (𝑣‘3))), (((𝑢‘1) · (𝑣‘2)) − ((𝑢‘2) · (𝑣‘1)))))))
 
Syntaxctripp 50691 Extend class notation to include the scalar triple product of 3-dimensional real coordinate vectors. (Contributed by Jiamin Zhao, 31-Jul-2026.)
class tripp
 
Definitiondf-tripp 50692* Define the scalar triple product of three 3-dimensional real coordinate vectors as the dot product of the first vector 𝑥 with the cross product of the other two (𝑦 and 𝑧). Apply as (𝑦(tripp‘𝑥)𝑧). Vectors are represented as functions on (1...3). (Contributed by Jiamin Zhao, 31-Jul-2026.)
tripp = (𝑥 ∈ (ℝ ↑m (1...3)) ↦ (𝑦 ∈ (ℝ ↑m (1...3)), 𝑧 ∈ (ℝ ↑m (1...3)) ↦ (ℝfld Σg (𝑘 ∈ (1...3) ↦ ((𝑥𝑘) · ((𝑦𝑧)‘𝑘))))))
 
Theoremcrosspval 50693* Value of the cross product of two 3-dimensional real coordinate vectors as a function on (1...3). (Contributed by Jiamin Zhao, 31-Jul-2026.)
((𝐴 ∈ (ℝ ↑m (1...3)) ∧ 𝐵 ∈ (ℝ ↑m (1...3))) → (𝐴𝐵) = (𝑘 ∈ (1...3) ↦ if(𝑘 = 1, (((𝐴‘2) · (𝐵‘3)) − ((𝐴‘3) · (𝐵‘2))), if(𝑘 = 2, (((𝐴‘3) · (𝐵‘1)) − ((𝐴‘1) · (𝐵‘3))), (((𝐴‘1) · (𝐵‘2)) − ((𝐴‘2) · (𝐵‘1)))))))
 
Theoremcrosspcle1d 50694 Closure of the first component of the cross product's coordinate formula. (Contributed by Jiamin Zhao, 11-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → (((𝐴‘2) · (𝐵‘3)) − ((𝐴‘3) · (𝐵‘2))) ∈ ℝ)
 
Theoremcrosspcle2d 50695 Closure of the second component of the cross product's coordinate formula. (Contributed by Jiamin Zhao, 11-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → (((𝐴‘3) · (𝐵‘1)) − ((𝐴‘1) · (𝐵‘3))) ∈ ℝ)
 
Theoremcrosspcle3d 50696 Closure of the third component of the cross product's coordinate formula. (Contributed by Jiamin Zhao, 11-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → (((𝐴‘1) · (𝐵‘2)) − ((𝐴‘2) · (𝐵‘1))) ∈ ℝ)
 
Theoremcrosspclem 50697 Lemma for crosspcld 50698. Closure of the three-way coordinate case split used in the cross product's mapping rule. (Contributed by Jiamin Zhao, 11-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → if(𝑘 = 1, (((𝐴‘2) · (𝐵‘3)) − ((𝐴‘3) · (𝐵‘2))), if(𝑘 = 2, (((𝐴‘3) · (𝐵‘1)) − ((𝐴‘1) · (𝐵‘3))), (((𝐴‘1) · (𝐵‘2)) − ((𝐴‘2) · (𝐵‘1))))) ∈ ℝ)
 
Theoremcrosspcld 50698 Closure of the cross product: the cross product of two 3-dimensional real coordinate vectors is again such a vector. (Contributed by Jiamin Zhao, 12-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → (𝐴𝐵) ∈ (ℝ ↑m (1...3)))
 
Theoremcrosspv1d 50699 Value of the first component of the cross product. (Contributed by Jiamin Zhao, 12-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → ((𝐴𝐵)‘1) = (((𝐴‘2) · (𝐵‘3)) − ((𝐴‘3) · (𝐵‘2))))
 
Theoremcrosspv2d 50700 Value of the second component of the cross product. (Contributed by Jiamin Zhao, 12-Aug-2026.)
(𝜑𝐴 ∈ (ℝ ↑m (1...3)))    &   (𝜑𝐵 ∈ (ℝ ↑m (1...3)))       (𝜑 → ((𝐴𝐵)‘2) = (((𝐴‘3) · (𝐵‘1)) − ((𝐴‘1) · (𝐵‘3))))
    < Previous  Next >

Page List
Jump to page: Contents  1 1-100 2 101-200 3 201-300 4 301-400 5 401-500 6 501-600 7 601-700 8 701-800 9 801-900 10 901-1000 11 1001-1100 12 1101-1200 13 1201-1300 14 1301-1400 15 1401-1500 16 1501-1600 17 1601-1700 18 1701-1800 19 1801-1900 20 1901-2000 21 2001-2100 22 2101-2200 23 2201-2300 24 2301-2400 25 2401-2500 26 2501-2600 27 2601-2700 28 2701-2800 29 2801-2900 30 2901-3000 31 3001-3100 32 3101-3200 33 3201-3300 34 3301-3400 35 3401-3500 36 3501-3600 37 3601-3700 38 3701-3800 39 3801-3900 40 3901-4000 41 4001-4100 42 4101-4200 43 4201-4300 44 4301-4400 45 4401-4500 46 4501-4600 47 4601-4700 48 4701-4800 49 4801-4900 50 4901-5000 51 5001-5100 52 5101-5200 53 5201-5300 54 5301-5400 55 5401-5500 56 5501-5600 57 5601-5700 58 5701-5800 59 5801-5900 60 5901-6000 61 6001-6100 62 6101-6200 63 6201-6300 64 6301-6400 65 6401-6500 66 6501-6600 67 6601-6700 68 6701-6800 69 6801-6900 70 6901-7000 71 7001-7100 72 7101-7200 73 7201-7300 74 7301-7400 75 7401-7500 76 7501-7600 77 7601-7700 78 7701-7800 79 7801-7900 80 7901-8000 81 8001-8100 82 8101-8200 83 8201-8300 84 8301-8400 85 8401-8500 86 8501-8600 87 8601-8700 88 8701-8800 89 8801-8900 90 8901-9000 91 9001-9100 92 9101-9200 93 9201-9300 94 9301-9400 95 9401-9500 96 9501-9600 97 9601-9700 98 9701-9800 99 9801-9900 100 9901-10000 101 10001-10100 102 10101-10200 103 10201-10300 104 10301-10400 105 10401-10500 106 10501-10600 107 10601-10700 108 10701-10800 109 10801-10900 110 10901-11000 111 11001-11100 112 11101-11200 113 11201-11300 114 11301-11400 115 11401-11500 116 11501-11600 117 11601-11700 118 11701-11800 119 11801-11900 120 11901-12000 121 12001-12100 122 12101-12200 123 12201-12300 124 12301-12400 125 12401-12500 126 12501-12600 127 12601-12700 128 12701-12800 129 12801-12900 130 12901-13000 131 13001-13100 132 13101-13200 133 13201-13300 134 13301-13400 135 13401-13500 136 13501-13600 137 13601-13700 138 13701-13800 139 13801-13900 140 13901-14000 141 14001-14100 142 14101-14200 143 14201-14300 144 14301-14400 145 14401-14500 146 14501-14600 147 14601-14700 148 14701-14800 149 14801-14900 150 14901-15000 151 15001-15100 152 15101-15200 153 15201-15300 154 15301-15400 155 15401-15500 156 15501-15600 157 15601-15700 158 15701-15800 159 15801-15900 160 15901-16000 161 16001-16100 162 16101-16200 163 16201-16300 164 16301-16400 165 16401-16500 166 16501-16600 167 16601-16700 168 16701-16800 169 16801-16900 170 16901-17000 171 17001-17100 172 17101-17200 173 17201-17300 174 17301-17400 175 17401-17500 176 17501-17600 177 17601-17700 178 17701-17800 179 17801-17900 180 17901-18000 181 18001-18100 182 18101-18200 183 18201-18300 184 18301-18400 185 18401-18500 186 18501-18600 187 18601-18700 188 18701-18800 189 18801-18900 190 18901-19000 191 19001-19100 192 19101-19200 193 19201-19300 194 19301-19400 195 19401-19500 196 19501-19600 197 19601-19700 198 19701-19800 199 19801-19900 200 19901-20000 201 20001-20100 202 20101-20200 203 20201-20300 204 20301-20400 205 20401-20500 206 20501-20600 207 20601-20700 208 20701-20800 209 20801-20900 210 20901-21000 211 21001-21100 212 21101-21200 213 21201-21300 214 21301-21400 215 21401-21500 216 21501-21600 217 21601-21700 218 21701-21800 219 21801-21900 220 21901-22000 221 22001-22100 222 22101-22200 223 22201-22300 224 22301-22400 225 22401-22500 226 22501-22600 227 22601-22700 228 22701-22800 229 22801-22900 230 22901-23000 231 23001-23100 232 23101-23200 233 23201-23300 234 23301-23400 235 23401-23500 236 23501-23600 237 23601-23700 238 23701-23800 239 23801-23900 240 23901-24000 241 24001-24100 242 24101-24200 243 24201-24300 244 24301-24400 245 24401-24500 246 24501-24600 247 24601-24700 248 24701-24800 249 24801-24900 250 24901-25000 251 25001-25100 252 25101-25200 253 25201-25300 254 25301-25400 255 25401-25500 256 25501-25600 257 25601-25700 258 25701-25800 259 25801-25900 260 25901-26000 261 26001-26100 262 26101-26200 263 26201-26300 264 26301-26400 265 26401-26500 266 26501-26600 267 26601-26700 268 26701-26800 269 26801-26900 270 26901-27000 271 27001-27100 272 27101-27200 273 27201-27300 274 27301-27400 275 27401-27500 276 27501-27600 277 27601-27700 278 27701-27800 279 27801-27900 280 27901-28000 281 28001-28100 282 28101-28200 283 28201-28300 284 28301-28400 285 28401-28500 286 28501-28600 287 28601-28700 288 28701-28800 289 28801-28900 290 28901-29000 291 29001-29100 292 29101-29200 293 29201-29300 294 29301-29400 295 29401-29500 296 29501-29600 297 29601-29700 298 29701-29800 299 29801-29900 300 29901-30000 301 30001-30100 302 30101-30200 303 30201-30300 304 30301-30400 305 30401-30500 306 30501-30600 307 30601-30700 308 30701-30800 309 30801-30900 310 30901-31000 311 31001-31100 312 31101-31200 313 31201-31300 314 31301-31400 315 31401-31500 316 31501-31600 317 31601-31700 318 31701-31800 319 31801-31900 320 31901-32000 321 32001-32100 322 32101-32200 323 32201-32300 324 32301-32400 325 32401-32500 326 32501-32600 327 32601-32700 328 32701-32800 329 32801-32900 330 32901-33000 331 33001-33100 332 33101-33200 333 33201-33300 334 33301-33400 335 33401-33500 336 33501-33600 337 33601-33700 338 33701-33800 339 33801-33900 340 33901-34000 341 34001-34100 342 34101-34200 343 34201-34300 344 34301-34400 345 34401-34500 346 34501-34600 347 34601-34700 348 34701-34800 349 34801-34900 350 34901-35000 351 35001-35100 352 35101-35200 353 35201-35300 354 35301-35400 355 35401-35500 356 35501-35600 357 35601-35700 358 35701-35800 359 35801-35900 360 35901-36000 361 36001-36100 362 36101-36200 363 36201-36300 364 36301-36400 365 36401-36500 366 36501-36600 367 36601-36700 368 36701-36800 369 36801-36900 370 36901-37000 371 37001-37100 372 37101-37200 373 37201-37300 374 37301-37400 375 37401-37500 376 37501-37600 377 37601-37700 378 37701-37800 379 37801-37900 380 37901-38000 381 38001-38100 382 38101-38200 383 38201-38300 384 38301-38400 385 38401-38500 386 38501-38600 387 38601-38700 388 38701-38800 389 38801-38900 390 38901-39000 391 39001-39100 392 39101-39200 393 39201-39300 394 39301-39400 395 39401-39500 396 39501-39600 397 39601-39700 398 39701-39800 399 39801-39900 400 39901-40000 401 40001-40100 402 40101-40200 403 40201-40300 404 40301-40400 405 40401-40500 406 40501-40600 407 40601-40700 408 40701-40800 409 40801-40900 410 40901-41000 411 41001-41100 412 41101-41200 413 41201-41300 414 41301-41400 415 41401-41500 416 41501-41600 417 41601-41700 418 41701-41800 419 41801-41900 420 41901-42000 421 42001-42100 422 42101-42200 423 42201-42300 424 42301-42400 425 42401-42500 426 42501-42600 427 42601-42700 428 42701-42800 429 42801-42900 430 42901-43000 431 43001-43100 432 43101-43200 433 43201-43300 434 43301-43400 435 43401-43500 436 43501-43600 437 43601-43700 438 43701-43800 439 43801-43900 440 43901-44000 441 44001-44100 442 44101-44200 443 44201-44300 444 44301-44400 445 44401-44500 446 44501-44600 447 44601-44700 448 44701-44800 449 44801-44900 450 44901-45000 451 45001-45100 452 45101-45200 453 45201-45300 454 45301-45400 455 45401-45500 456 45501-45600 457 45601-45700 458 45701-45800 459 45801-45900 460 45901-46000 461 46001-46100 462 46101-46200 463 46201-46300 464 46301-46400 465 46401-46500 466 46501-46600 467 46601-46700 468 46701-46800 469 46801-46900 470 46901-47000 471 47001-47100 472 47101-47200 473 47201-47300 474 47301-47400 475 47401-47500 476 47501-47600 477 47601-47700 478 47701-47800 479 47801-47900 480 47901-48000 481 48001-48100 482 48101-48200 483 48201-48300 484 48301-48400 485 48401-48500 486 48501-48600 487 48601-48700 488 48701-48800 489 48801-48900 490 48901-49000 491 49001-49100 492 49101-49200 493 49201-49300 494 49301-49400 495 49401-49500 496 49501-49600 497 49601-49700 498 49701-49800 499 49801-49900 500 49901-50000 501 50001-50100 502 50101-50200 503 50201-50300 504 50301-50400 505 50401-50500 506 50501-50600 507 50601-50700 508 50701-50710
  Copyright terms: Public domain < Previous  Next >