Home | Metamath
Proof Explorer Theorem List (p. 470 of 470) | < Previous Wrap > |
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
(1-29646) |
Hilbert Space Explorer
(29647-31169) |
Users' Mathboxes
(31170-46966) |
Type | Label | Description |
---|---|---|
Statement | ||
Syntax | ccsc 46901 | Extend class notation to include the cosecant function, see df-csc 46904. |
class csc | ||
Syntax | ccot 46902 | Extend class notation to include the cotangent function, see df-cot 46905. |
class cot | ||
Definition | df-sec 46903* | Define the secant function. We define it this way for cmpt 5187, which requires the form (π₯ β π΄ β¦ π΅). The sec function is defined in ISO 80000-2:2009(E) operation 2-13.6 and "NIST Digital Library of Mathematical Functions" section on "Trigonometric Functions" http://dlmf.nist.gov/4.14 5187. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ sec = (π₯ β {π¦ β β β£ (cosβπ¦) β 0} β¦ (1 / (cosβπ₯))) | ||
Definition | df-csc 46904* | Define the cosecant function. We define it this way for cmpt 5187, which requires the form (π₯ β π΄ β¦ π΅). The csc function is defined in ISO 80000-2:2009(E) operation 2-13.7 and "NIST Digital Library of Mathematical Functions" section on "Trigonometric Functions" http://dlmf.nist.gov/4.14 5187. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ csc = (π₯ β {π¦ β β β£ (sinβπ¦) β 0} β¦ (1 / (sinβπ₯))) | ||
Definition | df-cot 46905* | Define the cotangent function. We define it this way for cmpt 5187, which requires the form (π₯ β π΄ β¦ π΅). The cot function is defined in ISO 80000-2:2009(E) operation 2-13.5 and "NIST Digital Library of Mathematical Functions" section on "Trigonometric Functions" http://dlmf.nist.gov/4.14 5187. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ cot = (π₯ β {π¦ β β β£ (sinβπ¦) β 0} β¦ ((cosβπ₯) / (sinβπ₯))) | ||
Theorem | secval 46906 | Value of the secant function. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (cosβπ΄) β 0) β (secβπ΄) = (1 / (cosβπ΄))) | ||
Theorem | cscval 46907 | Value of the cosecant function. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cscβπ΄) = (1 / (sinβπ΄))) | ||
Theorem | cotval 46908 | Value of the cotangent function. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cotβπ΄) = ((cosβπ΄) / (sinβπ΄))) | ||
Theorem | seccl 46909 | The closure of the secant function with a complex argument. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (cosβπ΄) β 0) β (secβπ΄) β β) | ||
Theorem | csccl 46910 | The closure of the cosecant function with a complex argument. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cscβπ΄) β β) | ||
Theorem | cotcl 46911 | The closure of the cotangent function with a complex argument. (Contributed by David A. Wheeler, 15-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cotβπ΄) β β) | ||
Theorem | reseccl 46912 | The closure of the secant function with a real argument. (Contributed by David A. Wheeler, 15-Mar-2014.) |
β’ ((π΄ β β β§ (cosβπ΄) β 0) β (secβπ΄) β β) | ||
Theorem | recsccl 46913 | The closure of the cosecant function with a real argument. (Contributed by David A. Wheeler, 15-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cscβπ΄) β β) | ||
Theorem | recotcl 46914 | The closure of the cotangent function with a real argument. (Contributed by David A. Wheeler, 15-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (cotβπ΄) β β) | ||
Theorem | recsec 46915 | The reciprocal of secant is cosine. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (cosβπ΄) β 0) β (cosβπ΄) = (1 / (secβπ΄))) | ||
Theorem | reccsc 46916 | The reciprocal of cosecant is sine. (Contributed by David A. Wheeler, 14-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (sinβπ΄) = (1 / (cscβπ΄))) | ||
Theorem | reccot 46917 | The reciprocal of cotangent is tangent. (Contributed by David A. Wheeler, 21-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0 β§ (cosβπ΄) β 0) β (tanβπ΄) = (1 / (cotβπ΄))) | ||
Theorem | rectan 46918 | The reciprocal of tangent is cotangent. (Contributed by David A. Wheeler, 21-Mar-2014.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0 β§ (cosβπ΄) β 0) β (cotβπ΄) = (1 / (tanβπ΄))) | ||
Theorem | sec0 46919 | The value of the secant function at zero is one. (Contributed by David A. Wheeler, 16-Mar-2014.) |
β’ (secβ0) = 1 | ||
Theorem | onetansqsecsq 46920 | Prove the tangent squared secant squared identity (1 + ((tan A ) ^ 2 ) ) = ( ( sec π΄)β2)). (Contributed by David A. Wheeler, 25-May-2015.) |
β’ ((π΄ β β β§ (cosβπ΄) β 0) β (1 + ((tanβπ΄)β2)) = ((secβπ΄)β2)) | ||
Theorem | cotsqcscsq 46921 | Prove the tangent squared cosecant squared identity (1 + ((cot A ) ^ 2 ) ) = ( ( csc π΄)β2)). (Contributed by David A. Wheeler, 27-May-2015.) |
β’ ((π΄ β β β§ (sinβπ΄) β 0) β (1 + ((cotβπ΄)β2)) = ((cscβπ΄)β2)) | ||
Utility theorems for "if". | ||
Theorem | ifnmfalse 46922 | 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 versus applying iffalse 4494 directly in this case. (Contributed by David A. Wheeler, 15-May-2015.) |
β’ (π΄ β π΅ β if(π΄ β π΅, πΆ, π·) = π·) | ||
Most of this subsection was moved to main set.mm, section "Logarithms to an arbitrary base". | ||
Theorem | logb2aval 46923 | 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.) |
β’ ((π΅ β (β β {0, 1}) β§ π β (β β {0})) β ( logb ββ¨π΅, πβ©) = ((logβπ) / (logβπ΅))) | ||
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_β;10)β;;100) = 2. This form is less convenient to work with inside set.mm as compared to the (π΅ logb π) form defined separately. | ||
Syntax | clog- 46924 | Extend class notation to include the logarithm generalized to an arbitrary base. |
class log_ | ||
Definition | df-logbALT 46925* | 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βπ)))) | ||
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 | ||
Syntax | wreflexive 46926 | 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 46927. (Contributed by David A. Wheeler, 1-Dec-2019.) |
wff π Reflexiveπ΄ | ||
Definition | df-reflexive 46927* | Define reflexive relation; relation π is reflexive over the set π΄ iff βπ₯ β π΄π₯π π₯. (Contributed by David A. Wheeler, 1-Dec-2019.) |
β’ (π Reflexiveπ΄ β (π β (π΄ Γ π΄) β§ βπ₯ β π΄ π₯π π₯)) | ||
Syntax | wirreflexive 46928 | 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 46929. (Contributed by David A. Wheeler, 1-Dec-2019.) |
wff π Irreflexiveπ΄ | ||
Definition | df-irreflexive 46929* | 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 11281. We might want to switch to a naming convention like addcomli 11281. | ||
Theorem | comraddi 46930 | Commute RHS addition. See addcomli 11281 to commute addition on LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΅ β β & β’ πΆ β β & β’ π΄ = (π΅ + πΆ) β β’ π΄ = (πΆ + π΅) | ||
Theorem | mvlraddi 46931 | Move the right term in a sum on the LHS to the RHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΄ β β & β’ π΅ β β & β’ (π΄ + π΅) = πΆ β β’ π΄ = (πΆ β π΅) | ||
Theorem | mvrladdi 46932 | Move the left term in a sum on the RHS to the LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΅ β β & β’ πΆ β β & β’ π΄ = (π΅ + πΆ) β β’ (π΄ β π΅) = πΆ | ||
Theorem | assraddsubi 46933 | Associate RHS addition-subtraction. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΅ β β & β’ πΆ β β & β’ π· β β & β’ π΄ = ((π΅ + πΆ) β π·) β β’ π΄ = (π΅ + (πΆ β π·)) | ||
Theorem | joinlmuladdmuli 46934 | Join AB+CB into (A+C) on LHS. (Contributed by David A. Wheeler, 26-Oct-2019.) |
β’ π΄ β β & β’ π΅ β β & β’ πΆ β β & β’ ((π΄ Β· π΅) + (πΆ Β· π΅)) = π· β β’ ((π΄ + πΆ) Β· π΅) = π· | ||
Theorem | joinlmulsubmuld 46935 | Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 15-Oct-2018.) |
β’ (π β π΄ β β) & β’ (π β π΅ β β) & β’ (π β πΆ β β) & β’ (π β ((π΄ Β· π΅) β (πΆ Β· π΅)) = π·) β β’ (π β ((π΄ β πΆ) Β· π΅) = π·) | ||
Theorem | joinlmulsubmuli 46936 | Join AB-CB into (A-C) on LHS. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΄ β β & β’ π΅ β β & β’ πΆ β β & β’ ((π΄ Β· π΅) β (πΆ Β· π΅)) = π· β β’ ((π΄ β πΆ) Β· π΅) = π· | ||
Theorem | mvlrmuld 46937 | Move the right term in a product on the LHS to the RHS, deduction form. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ (π β π΄ β β) & β’ (π β π΅ β β) & β’ (π β π΅ β 0) & β’ (π β (π΄ Β· π΅) = πΆ) β β’ (π β π΄ = (πΆ / π΅)) | ||
Theorem | mvlrmuli 46938 | Move the right term in a product on the LHS to the RHS, inference form. (Contributed by David A. Wheeler, 11-Oct-2018.) |
β’ π΄ β β & β’ π΅ β β & β’ π΅ β 0 & β’ (π΄ Β· π΅) = πΆ β β’ π΄ = (πΆ / π΅) | ||
Examples using the algebra helpers. | ||
Theorem | i2linesi 46939 | 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 β β’ π = ((π· β π΅) / (π΄ β πΆ)) | ||
Theorem | i2linesd 46940 | 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) β β’ (π β π = ((π· β π΅) / (π΄ β πΆ))) | ||
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 46941, empty-surprise 46943, and eximp-surprise 46945. | ||
Theorem | alimp-surprise 46941 |
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 852). 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 46942) or using the allsome quantifier (df-alsi 46949) . For other "surprises" for new users of classical logic, see empty-surprise 46943 and eximp-surprise 46945. (Contributed by David A. Wheeler, 17-Oct-2018.) |
β’ Β¬ βπ₯π β β’ (βπ₯(π β π) β§ βπ₯(π β Β¬ π)) | ||
Theorem | alimp-no-surprise 46942 | 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 46941. The allsome quantifier also counters this problem, see df-alsi 46949. (Contributed by David A. Wheeler, 27-Oct-2018.) |
β’ Β¬ (βπ₯(π β π) β§ βπ₯(π β Β¬ π) β§ βπ₯π) | ||
Theorem | empty-surprise 46943 |
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 3064). Thus, if π΄ is the empty set, this expression is always true regardless of the value of π (see alimp-surprise 46941). 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 4305, 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/ 4305). 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 2670, celaront 2672, and cesaro 2679. For another "surprise" for new users of classical logic, see alimp-surprise 46941 and eximp-surprise 46945. (Contributed by David A. Wheeler, 20-Oct-2018.) |
β’ Β¬ βπ₯ π₯ β π΄ β β’ βπ₯ β π΄ π | ||
Theorem | empty-surprise2 46944 |
"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 46943. Here we prove an extreme example: we "prove" that false is true. Of course, we actually do no such thing (see notfal 1570); 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 46950. (Contributed by David A. Wheeler, 20-Oct-2018.) |
β’ Β¬ βπ₯ π₯ β π΄ β β’ βπ₯ β π΄ β₯ | ||
Theorem | eximp-surprise 46945 |
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 852, 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 46946. See also alimp-surprise 46941 and empty-surprise 46943. (Contributed by David A. Wheeler, 17-Oct-2018.) |
β’ (βπ₯(π β π) β βπ₯(Β¬ π β¨ π)) | ||
Theorem | eximp-surprise2 46946 |
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 46945, which shows what implication really expands to. See also empty-surprise 46943. (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 46941 and empty-surprise 46943 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 46943 I hope that others will eventually agree that allsome is awesome. | ||
Syntax | walsi 46947 | 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.) |
wff β!π₯(π β π) | ||
Syntax | walsc 46948 | 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.) |
wff β!π₯ β π΄π | ||
Definition | df-alsi 46949 | 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 46950 | 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 46951 | There is an equivalence between the two "all some" forms. (Contributed by David A. Wheeler, 22-Oct-2018.) |
β’ (β!π₯(π₯ β π΄ β π) β β!π₯ β π΄π) | ||
Theorem | alsi1d 46952 | 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 46953 | 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 46954 | 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 46955 | 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 46956* | 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 46957 | 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 46949; the proof itself builds on alimp-no-surprise 46942. For a contrast, see alimp-surprise 46941. (Contributed by David A. Wheeler, 27-Oct-2018.) |
β’ Β¬ (β!π₯(π β π) β§ β!π₯(π β Β¬ π)) | ||
Miscellaneous proofs. | ||
Theorem | 5m4e1 46958 | Prove that 5 - 4 = 1. (Contributed by David A. Wheeler, 31-Jan-2017.) |
β’ (5 β 4) = 1 | ||
Theorem | 2p2ne5 46959 | 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 | ||
Theorem | resolution 46960 | 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 46961 | 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 46962* | 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...π)(πΆ Β· π)) β β’ (π β π΄ β πΈ) | ||
Theorem | amgmwlem 46963 | Weighted version of amgmlem 26261. (Contributed by Kunhao Zheng, 19-Jun-2021.) |
β’ π = (mulGrpββfld) & β’ (π β π΄ β Fin) & β’ (π β π΄ β β ) & β’ (π β πΉ:π΄βΆβ+) & β’ (π β π:π΄βΆβ+) & β’ (π β (βfld Ξ£g π) = 1) β β’ (π β (π Ξ£g (πΉ βf βππ)) β€ (βfld Ξ£g (πΉ βf Β· π))) | ||
Theorem | amgmlemALT 46964 | Alternate proof of amgmlem 26261 using amgmwlem 46963. (Contributed by Kunhao Zheng, 20-Jun-2021.) (Proof modification is discouraged.) (New usage is discouraged.) |
β’ π = (mulGrpββfld) & β’ (π β π΄ β Fin) & β’ (π β π΄ β β ) & β’ (π β πΉ:π΄βΆβ+) β β’ (π β ((π Ξ£g πΉ)βπ(1 / (β―βπ΄))) β€ ((βfld Ξ£g πΉ) / (β―βπ΄))) | ||
Theorem | amgmw2d 46965 | Weighted arithmetic-geometric mean inequality for π = 2 (compare amgm2d 42204). (Contributed by Kunhao Zheng, 20-Jun-2021.) |
β’ (π β π΄ β β+) & β’ (π β π β β+) & β’ (π β π΅ β β+) & β’ (π β π β β+) & β’ (π β (π + π) = 1) β β’ (π β ((π΄βππ) Β· (π΅βππ)) β€ ((π΄ Β· π) + (π΅ Β· π))) | ||
Theorem | young2d 46966 | Young's inequality for π = 2, a direct application of amgmw2d 46965. (Contributed by Kunhao Zheng, 6-Jul-2021.) |
β’ (π β π΄ β β+) & β’ (π β π β β+) & β’ (π β π΅ β β+) & β’ (π β π β β+) & β’ (π β ((1 / π) + (1 / π)) = 1) β β’ (π β (π΄ Β· π΅) β€ (((π΄βππ) / π) + ((π΅βππ) / π))) |
< Previous Wrap > |
Copyright terms: Public domain | < Previous Wrap > |