Home | Metamath
Proof Explorer Theorem List (p. 426 of 426) | < Previous Wrap > |
Browser slow? Try the
Unicode version. |
||
Mirrors > Metamath Home Page > MPE Home Page > Theorem List Contents > Recent Proofs This page: Page List |
Color key: | Metamath Proof Explorer
(1-27775) |
Hilbert Space Explorer
(27776-29300) |
Users' Mathboxes
(29301-42551) |
Type | Label | Description |
---|---|---|
Statement | ||
Theorem | sec0 42501 | The value of the secant function at zero is one. (Contributed by David A. Wheeler, 16-Mar-2014.) |
Theorem | onetansqsecsq 42502 | Prove the tangent squared secant squared identity A ) ^ 2 ) ) = ( ( sec . (Contributed by David A. Wheeler, 25-May-2015.) |
Theorem | cotsqcscsq 42503 | Prove the tangent squared cosecant squared identity A ) ^ 2 ) ) = ( ( csc . (Contributed by David A. Wheeler, 27-May-2015.) |
Utility theorems for "if". | ||
Theorem | ifnmfalse 42504 | If A is not a member of B, but an "if" condition requires it, then the "false" branch results. This is a simple utility to provide a slight shortening and simplification of proofs vs. applying iffalse 4095 directly in this case. (Contributed by David A. Wheeler, 15-May-2015.) |
Most of this subsection was moved to main set.mm, section "Logarithms to an arbitrary base". | ||
Theorem | logb2aval 42505 | Define the value of the logb function, the logarithm generalized to an arbitrary base, when used in the 2-argument form logb (Contributed by David A. Wheeler, 21-Jan-2017.) (Revised by David A. Wheeler, 16-Jul-2017.) |
logb | ||
Define "log using an arbitrary base" function and then prove some of its properties. This builds on previous work by Stefan O'Rear. This supports the notational form log_; that looks a little more like traditional notation, but is different from other 2-parameter functions. E.g., log_;;; . This form is less convenient to work with inside metamath as compared to the logb form defined separately. | ||
Syntax | clog- 42506 | Extend class notation to include the logarithm generalized to an arbitrary base. |
log_ | ||
Definition | df-logbALT 42507* | 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_ | ||
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 whatever way we'd like. Benoit 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 Benoit's approach is very much worth considering. Examples would be: BinRel = , ReflBinRel = BinRel Diag , and IrreflBinRel = BinRel Diag . For more discussion see: https://github.com/metamath/set.mm/pull/1286 | ||
Syntax | wreflexive 42508 | 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 42509. (Contributed by David A. Wheeler, 1-Dec-2019.) |
Reflexive | ||
Definition | df-reflexive 42509* | Define reflexive relation; relation is reflexive over the set iff . (Contributed by David A. Wheeler, 1-Dec-2019.) |
Reflexive | ||
Syntax | wirreflexive 42510 | 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 42511. (Contributed by David A. Wheeler, 1-Dec-2019.) |
Irreflexive | ||
Definition | df-irreflexive 42511* | 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 | ||
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 10228. We might want to switch to a naming convention like addcomli 10228. | ||
Theorem | comraddi 42512 | Commute RHS addition. See addcomli 10228 to commute addition on LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | mvlladdd 42513 | Move LHS left addition to RHS. (Contributed by David A. Wheeler, 15-Oct-2018.) |
Theorem | mvlraddi 42514 | Move LHS right addition to RHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | mvrladdd 42515 | Move RHS left addition to LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | mvrladdi 42516 | Move RHS left addition to LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | assraddsubd 42517 | Associate RHS addition-subtraction. (Contributed by David A. Wheeler, 15-Oct-2018.) |
Theorem | assraddsubi 42518 | Associate RHS addition-subtraction. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | joinlmuladdmuli 42519 | Join AB+CB into (A+C) on LHS. (Contributed by David A. Wheeler, 26-Oct-2019.) |
Theorem | joinlmulsubmuld 42520 | Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 15-Oct-2018.) |
Theorem | joinlmulsubmuli 42521 | Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | mvlrmuld 42522 | Move LHS right multiplication to RHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Theorem | mvlrmuli 42523 | Move LHS right multiplication to RHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
Examples using the algebra helpers. | ||
Theorem | i2linesi 42524 | 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.) |
Theorem | i2linesd 42525 | 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.) |
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 42526, empty-surprise 42528, and eximp-surprise 42530. | ||
Theorem | alimp-surprise 42526 |
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 428). 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 42527) or using the allsome quantifier (df-alsi 42534) . For other "surprises" for new users of classical logic, see empty-surprise 42528 and eximp-surprise 42530. (Contributed by David A. Wheeler, 17-Oct-2018.) |
Theorem | alimp-no-surprise 42527 | 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 42526. The allsome quantifier also counters this problem, see df-alsi 42534. (Contributed by David A. Wheeler, 27-Oct-2018.) |
Theorem | empty-surprise 42528 |
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 2917). Thus, if is the empty set, this expression is always true regardless of the value of (see alimp-surprise 42526). 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 3931, 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 non-existent entities in his logic." (Groarke, "Aristotle: Logic", section 7. (Existential Assumptions), Internet Encyclopedia of Philosophy, http://www.iep.utm.edu/aris-log/). 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 2567, celaront 2568, and cesaro 2573. For another "surprise" for new users of classical logic, see alimp-surprise 42526 and eximp-surprise 42530. (Contributed by David A. Wheeler, 20-Oct-2018.) |
Theorem | empty-surprise2 42529 |
"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 42528. Here we prove an extreme example: we "prove" that false is true. Of course, we actually do no such thing (see notfal 1519); 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-alsc 42535. (Contributed by David A. Wheeler, 20-Oct-2018.) |
Theorem | eximp-surprise 42530 |
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 428, 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 42531. See also alimp-surprise 42526 and empty-surprise 42528. (Contributed by David A. Wheeler, 17-Oct-2018.) |
Theorem | eximp-surprise2 42531 |
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 42530, which shows what implication really expands to. See also empty-surprise 42528. (Contributed by David A. Wheeler, 18-Oct-2018.) |
These are definitions and proofs involving an experimental "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 42526 and empty-surprise 42528 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. For more, see "The Allsome Quantifier" by David A. Wheeler at https://dwheeler.com/essays/allsome.html I hope that others will eventually agree that allsome is awesome. | ||
Syntax | walsi 42532 | 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 least one where is true. (Contributed by David A. Wheeler, 20-Oct-2018.) |
! | ||
Syntax | walsc 42533 | Extend wff definition to include "all some" applied to a class, which means is true for all in , and there is at least one in . (Contributed by David A. Wheeler, 20-Oct-2018.) |
! | ||
Definition | df-alsi 42534 | 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.) |
! | ||
Definition | df-alsc 42535 | Define "all some" applied to a class, which means is true for all in and there is at least one in . (Contributed by David A. Wheeler, 20-Oct-2018.) |
! | ||
Theorem | alsconv 42536 | There is an equivalence between the two "all some" forms. (Contributed by David A. Wheeler, 22-Oct-2018.) |
! ! | ||
Theorem | alsi1d 42537 | 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.) |
! | ||
Theorem | alsi2d 42538 | 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.) |
! | ||
Theorem | alsc1d 42539 | Deduction rule: Given "all some" applied to a class, you can extract the "for all" part. (Contributed by David A. Wheeler, 20-Oct-2018.) |
! | ||
Theorem | alsc2d 42540 | Deduction rule: Given "all some" applied to a class, you can extract the "there exists" part. (Contributed by David A. Wheeler, 20-Oct-2018.) |
! | ||
Theorem | alscn0d 42541* | Deduction rule: Given "all some" applied to a class, the class is not the empty set. (Contributed by David A. Wheeler, 23-Oct-2018.) |
! | ||
Theorem | alsi-no-surprise 42542 | 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-alsi 42534; the proof itself builds on alimp-no-surprise 42527. For a contrast, see alimp-surprise 42526. (Contributed by David A. Wheeler, 27-Oct-2018.) |
! ! | ||
Miscellaneous proofs. | ||
Theorem | 5m4e1 42543 | Prove that 5 - 4 = 1. (Contributed by David A. Wheeler, 31-Jan-2017.) |
Theorem | 2p2ne5 42544 | Prove that . 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 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.) |
Theorem | resolution 42545 | 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.) |
Theorem | testable 42546 | 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.) |
Theorem | aacllem 42547* | 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.) |
Theorem | amgmwlem 42548 | Weighted version of amgmlem 24716. (Contributed by Kunhao Zheng, 19-Jun-2021.) |
mulGrpℂfld ℂfld g g ℂfld g | ||
Theorem | amgmlemALT 42549 | Alternate proof of amgmlem 24716 using amgmwlem 42548. (Proof modification is discouraged.) (New usage is discouraged.) (Contributed by Kunhao Zheng, 20-Jun-2021.) |
mulGrpℂfld g ℂfld g | ||
Theorem | amgmw2d 42550 | Weighted arithmetic-geometric mean inequality for (compare amgm2d 38501). (Contributed by Kunhao Zheng, 20-Jun-2021.) |
Theorem | young2d 42551 | Young's inequality for , a direct application of amgmw2d 42550. (Contributed by Kunhao Zheng, 6-Jul-2021.) |
< Previous Wrap > |
Copyright terms: Public domain | < Previous Wrap > |