| Metamath
Proof Explorer Theorem List (p. 186 of 501) | < 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: | (1-30976) |
(30977-32499) |
(32500-50086) |
| Type | Label | Description |
|---|---|---|
| Statement | ||
| Theorem | psref 18501 | A poset is reflexive. (Contributed by NM, 13-May-2008.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ PosetRel ∧ 𝐴 ∈ 𝑋) → 𝐴𝑅𝐴) | ||
| Theorem | psrn 18502 | The range of a poset equals it domain. (Contributed by NM, 7-Jul-2008.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ (𝑅 ∈ PosetRel → 𝑋 = ran 𝑅) | ||
| Theorem | psasym 18503 | A poset is antisymmetric. (Contributed by NM, 12-May-2008.) |
| ⊢ ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵 ∧ 𝐵𝑅𝐴) → 𝐴 = 𝐵) | ||
| Theorem | pstr 18504 | A poset is transitive. (Contributed by NM, 12-May-2008.) (Revised by Mario Carneiro, 30-Apr-2015.) |
| ⊢ ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵 ∧ 𝐵𝑅𝐶) → 𝐴𝑅𝐶) | ||
| Theorem | cnvps 18505 | The converse of a poset is a poset. In the general case (◡𝑅 ∈ PosetRel → 𝑅 ∈ PosetRel) is not true. See cnvpsb 18506 for a special case where the property holds. (Contributed by FL, 5-Jan-2009.) (Proof shortened by Mario Carneiro, 3-Sep-2015.) |
| ⊢ (𝑅 ∈ PosetRel → ◡𝑅 ∈ PosetRel) | ||
| Theorem | cnvpsb 18506 | The converse of a poset is a poset. (Contributed by FL, 5-Jan-2009.) |
| ⊢ (Rel 𝑅 → (𝑅 ∈ PosetRel ↔ ◡𝑅 ∈ PosetRel)) | ||
| Theorem | psss 18507 | Any subset of a partially ordered set is partially ordered. (Contributed by FL, 24-Jan-2010.) |
| ⊢ (𝑅 ∈ PosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel) | ||
| Theorem | psssdm2 18508 | Field of a subposet. (Contributed by Mario Carneiro, 9-Sep-2015.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ (𝑅 ∈ PosetRel → dom (𝑅 ∩ (𝐴 × 𝐴)) = (𝑋 ∩ 𝐴)) | ||
| Theorem | psssdm 18509 | Field of a subposet. (Contributed by FL, 19-Sep-2011.) (Revised by Mario Carneiro, 9-Sep-2015.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ PosetRel ∧ 𝐴 ⊆ 𝑋) → dom (𝑅 ∩ (𝐴 × 𝐴)) = 𝐴) | ||
| Theorem | istsr 18510 | The predicate is a toset. (Contributed by FL, 1-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ (𝑋 × 𝑋) ⊆ (𝑅 ∪ ◡𝑅))) | ||
| Theorem | istsr2 18511* | The predicate is a toset. (Contributed by FL, 1-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑋 (𝑥𝑅𝑦 ∨ 𝑦𝑅𝑥))) | ||
| Theorem | tsrlin 18512 | A toset is a linear order. (Contributed by Mario Carneiro, 9-Sep-2015.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ TosetRel ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑋) → (𝐴𝑅𝐵 ∨ 𝐵𝑅𝐴)) | ||
| Theorem | tsrlemax 18513 | Two ways of saying a number is less than or equal to the maximum of two others. (Contributed by Mario Carneiro, 9-Sep-2015.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ TosetRel ∧ (𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑋 ∧ 𝐶 ∈ 𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐶, 𝐵) ↔ (𝐴𝑅𝐵 ∨ 𝐴𝑅𝐶))) | ||
| Theorem | tsrps 18514 | A toset is a poset. (Contributed by Mario Carneiro, 9-Sep-2015.) |
| ⊢ (𝑅 ∈ TosetRel → 𝑅 ∈ PosetRel) | ||
| Theorem | cnvtsr 18515 | The converse of a toset is a toset. (Contributed by Mario Carneiro, 3-Sep-2015.) |
| ⊢ (𝑅 ∈ TosetRel → ◡𝑅 ∈ TosetRel ) | ||
| Theorem | tsrss 18516 | Any subset of a totally ordered set is totally ordered. (Contributed by FL, 24-Jan-2010.) (Proof shortened by Mario Carneiro, 21-Nov-2013.) |
| ⊢ (𝑅 ∈ TosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel ) | ||
| Theorem | ledm 18517 | The domain of ≤ is ℝ*. (Contributed by FL, 2-Aug-2009.) (Revised by Mario Carneiro, 4-May-2015.) |
| ⊢ ℝ* = dom ≤ | ||
| Theorem | lern 18518 | The range of ≤ is ℝ*. (Contributed by FL, 2-Aug-2009.) (Revised by Mario Carneiro, 3-Sep-2015.) |
| ⊢ ℝ* = ran ≤ | ||
| Theorem | lefld 18519 | The field of the 'less or equal to' relationship on the extended real. (Contributed by FL, 2-Aug-2009.) (Revised by Mario Carneiro, 4-May-2015.) |
| ⊢ ℝ* = ∪ ∪ ≤ | ||
| Theorem | letsr 18520 | The "less than or equal to" relationship on the extended reals is a toset. (Contributed by FL, 2-Aug-2009.) (Revised by Mario Carneiro, 3-Sep-2015.) |
| ⊢ ≤ ∈ TosetRel | ||
| Syntax | cdir 18521 | Extend class notation with the class of directed sets. |
| class DirRel | ||
| Syntax | ctail 18522 | Extend class notation with the tail function for directed sets. |
| class tail | ||
| Definition | df-dir 18523 | Define the class of directed sets (the order relation itself is sometimes called a direction, and a directed set is a set equipped with a direction). (Contributed by Jeff Hankins, 25-Nov-2009.) |
| ⊢ DirRel = {𝑟 ∣ ((Rel 𝑟 ∧ ( I ↾ ∪ ∪ 𝑟) ⊆ 𝑟) ∧ ((𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (∪ ∪ 𝑟 × ∪ ∪ 𝑟) ⊆ (◡𝑟 ∘ 𝑟)))} | ||
| Definition | df-tail 18524* | Define the tail function for directed sets. (Contributed by Jeff Hankins, 25-Nov-2009.) |
| ⊢ tail = (𝑟 ∈ DirRel ↦ (𝑥 ∈ ∪ ∪ 𝑟 ↦ (𝑟 “ {𝑥}))) | ||
| Theorem | isdir 18525 | A condition for a relation to be a direction. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ 𝐴 = ∪ ∪ 𝑅 ⇒ ⊢ (𝑅 ∈ 𝑉 → (𝑅 ∈ DirRel ↔ ((Rel 𝑅 ∧ ( I ↾ 𝐴) ⊆ 𝑅) ∧ ((𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝐴 × 𝐴) ⊆ (◡𝑅 ∘ 𝑅))))) | ||
| Theorem | reldir 18526 | A direction is a relation. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ (𝑅 ∈ DirRel → Rel 𝑅) | ||
| Theorem | dirdm 18527 | A direction's domain is equal to its field. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ (𝑅 ∈ DirRel → dom 𝑅 = ∪ ∪ 𝑅) | ||
| Theorem | dirref 18528 | A direction is reflexive. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ DirRel ∧ 𝐴 ∈ 𝑋) → 𝐴𝑅𝐴) | ||
| Theorem | dirtr 18529 | A direction is transitive. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ (((𝑅 ∈ DirRel ∧ 𝐶 ∈ 𝑉) ∧ (𝐴𝑅𝐵 ∧ 𝐵𝑅𝐶)) → 𝐴𝑅𝐶) | ||
| Theorem | dirge 18530* | For any two elements of a directed set, there exists a third element greater than or equal to both. Note that this does not say that the two elements have a least upper bound. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ 𝑋 = dom 𝑅 ⇒ ⊢ ((𝑅 ∈ DirRel ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑋) → ∃𝑥 ∈ 𝑋 (𝐴𝑅𝑥 ∧ 𝐵𝑅𝑥)) | ||
| Theorem | tsrdir 18531 | A totally ordered set is a directed set. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.) |
| ⊢ (𝐴 ∈ TosetRel → 𝐴 ∈ DirRel) | ||
| Syntax | cchn 18532 | Extend class notation with the class of (finite) chains. |
| class ( < Chain 𝐴) | ||
| Definition | df-chn 18533* | Define the class of (finite) chains. A chain is defined to be a sequence of objects, where each object is less than the next one in the sequence. The term "chain" is usually used in order theory. In the context of algebra, chains are often called "towers", for example for fields, or "series", for example for subgroup or subnormal series. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ ( < Chain 𝐴) = {𝑐 ∈ Word 𝐴 ∣ ∀𝑛 ∈ (dom 𝑐 ∖ {0})(𝑐‘(𝑛 − 1)) < (𝑐‘𝑛)} | ||
| Theorem | ischn 18534* | Property of being a chain. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝐶 ∈ ( < Chain 𝐴) ↔ (𝐶 ∈ Word 𝐴 ∧ ∀𝑛 ∈ (dom 𝐶 ∖ {0})(𝐶‘(𝑛 − 1)) < (𝐶‘𝑛))) | ||
| Theorem | chnwrd 18535 | A chain is an ordered sequence, i.e. a word. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) ⇒ ⊢ (𝜑 → 𝐶 ∈ Word 𝐴) | ||
| Theorem | chnltm1 18536 | Basic property of a chain. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝑁 ∈ (dom 𝐶 ∖ {0})) ⇒ ⊢ (𝜑 → (𝐶‘(𝑁 − 1)) < (𝐶‘𝑁)) | ||
| Theorem | pfxchn 18537 | A prefix of a chain is still a chain. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐿 ∈ (0...(♯‘𝐶))) ⇒ ⊢ (𝜑 → (𝐶 prefix 𝐿) ∈ ( < Chain 𝐴)) | ||
| Theorem | nfchnd 18538 | Bound-variable hypothesis builder for chain collection constructor. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → Ⅎ𝑥 < ) & ⊢ (𝜑 → Ⅎ𝑥𝐴) ⇒ ⊢ (𝜑 → Ⅎ𝑥( < Chain 𝐴)) | ||
| Theorem | chneq1 18539 | Equality theorem for chains. (Contributed by Ender Ting, 17-Jan-2026.) |
| ⊢ ( < = 𝑅 → ( < Chain 𝐴) = (𝑅 Chain 𝐴)) | ||
| Theorem | chneq2 18540 | Equality theorem for chains. (Contributed by Ender Ting, 17-Jan-2026.) |
| ⊢ (𝐴 = 𝐵 → ( < Chain 𝐴) = ( < Chain 𝐵)) | ||
| Theorem | chneq12 18541 | Equality theorem for chains. (Contributed by Ender Ting, 17-Jan-2026.) |
| ⊢ (( < = 𝑅 ∧ 𝐴 = 𝐵) → ( < Chain 𝐴) = (𝑅 Chain 𝐵)) | ||
| Theorem | chnrss 18542 | Chains under a relation are also chains under any superset relation. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ ( < ⊆ 𝑅 → ( < Chain 𝐴) ⊆ (𝑅 Chain 𝐴)) | ||
| Theorem | chndss 18543 | Chains with an alphabet are also chains with any superset alphabet. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝐴 ⊆ 𝐵 → ( < Chain 𝐴) ⊆ ( < Chain 𝐵)) | ||
| Theorem | chnrdss 18544 | Subset theorem for chains. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (( < ⊆ 𝑅 ∧ 𝐴 ⊆ 𝐵) → ( < Chain 𝐴) ⊆ (𝑅 Chain 𝐵)) | ||
| Theorem | chnexg 18545 | Chains with a set given for range form a set. (Contributed by Ender Ting, 21-Nov-2024.) (Revised by Ender Ting, 17-Jan-2026.) |
| ⊢ (𝐴 ∈ 𝑉 → ( < Chain 𝐴) ∈ V) | ||
| Theorem | nulchn 18546 | Empty set is an increasing chain for every range and every relation. (Contributed by Ender Ting, 19-Nov-2024.) (Revised by Ender Ting, 17-Jan-2026.) |
| ⊢ ∅ ∈ ( < Chain 𝐴) | ||
| Theorem | s1chn 18547 | A singleton word is always a chain. (Contributed by Thierry Arnoux, 19-Oct-2025.) |
| ⊢ (𝜑 → 𝑋 ∈ 𝐴) ⇒ ⊢ (𝜑 → 〈“𝑋”〉 ∈ ( < Chain 𝐴)) | ||
| Theorem | chnind 18548* | Induction over a chain. See nnind 12167 for an explanation about the hypotheses. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝑐 = ∅ → (𝜓 ↔ 𝜒)) & ⊢ (𝑐 = 𝑑 → (𝜓 ↔ 𝜃)) & ⊢ (𝑐 = (𝑑 ++ 〈“𝑥”〉) → (𝜓 ↔ 𝜏)) & ⊢ (𝑐 = 𝐶 → (𝜓 ↔ 𝜂)) & ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝜒) & ⊢ (((((𝜑 ∧ 𝑑 ∈ ( < Chain 𝐴)) ∧ 𝑥 ∈ 𝐴) ∧ (𝑑 = ∅ ∨ (lastS‘𝑑) < 𝑥)) ∧ 𝜃) → 𝜏) ⇒ ⊢ (𝜑 → 𝜂) | ||
| Theorem | chnub 18549 | In a chain, the last element is an upper bound. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐼 ∈ (0..^((♯‘𝐶) − 1))) ⇒ ⊢ (𝜑 → (𝐶‘𝐼) < (lastS‘𝐶)) | ||
| Theorem | chnlt 18550 | Compare any two elements in a chain. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐶 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐽 ∈ (0..^(♯‘𝐶))) & ⊢ (𝜑 → 𝐼 ∈ (0..^𝐽)) ⇒ ⊢ (𝜑 → (𝐶‘𝐼) < (𝐶‘𝐽)) | ||
| Theorem | chnso 18551 | A chain induces a total order. (Contributed by Thierry Arnoux, 19-Jun-2025.) |
| ⊢ (( < Po 𝐴 ∧ 𝐶 ∈ ( < Chain 𝐴)) → < Or ran 𝐶) | ||
| Theorem | chnccats1 18552 | Extend a chain with a single element. (Contributed by Thierry Arnoux, 19-Oct-2025.) |
| ⊢ (𝜑 → 𝑋 ∈ 𝐴) & ⊢ (𝜑 → 𝑇 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → (𝑇 = ∅ ∨ (lastS‘𝑇) < 𝑋)) ⇒ ⊢ (𝜑 → (𝑇 ++ 〈“𝑋”〉) ∈ ( < Chain 𝐴)) | ||
| Theorem | chnccat 18553 | Concatenate two chains. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → 𝑇 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝑈 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → (𝑇 = ∅ ∨ 𝑈 = ∅ ∨ (lastS‘𝑇) < (𝑈‘0))) ⇒ ⊢ (𝜑 → (𝑇 ++ 𝑈) ∈ ( < Chain 𝐴)) | ||
| Theorem | chnrev 18554 | Reverse of a chain is chain under the converse relation and same domain. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝐵 ∈ ( < Chain 𝐴) → (reverse‘𝐵) ∈ (◡ < Chain 𝐴)) | ||
| Theorem | chnflenfi 18555* | There is a finite number of chains with fixed length over finite alphabet. Trivially holds for invalid lengths as there're no matching sequences. (Contributed by Ender Ting, 5-Jan-2025.) (Revised by Ender Ting, 17-Jan-2026.) |
| ⊢ (𝐴 ∈ Fin → {𝑎 ∈ ( < Chain 𝐴) ∣ (♯‘𝑎) = 𝑇} ∈ Fin) | ||
| Theorem | chnf 18556 | A chain is a zero-based finite sequence with a recoverable upper limit. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝐵 ∈ ( < Chain 𝐴) → 𝐵:(0..^(♯‘𝐵))⟶𝐴) | ||
| Theorem | chnpof1 18557 | A chain under relation which orders the alphabet is a one-to-one function from its domain to alphabet. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐵 ∈ ( < Chain 𝐴)) ⇒ ⊢ (𝜑 → 𝐵:(0..^(♯‘𝐵))–1-1→𝐴) | ||
| Theorem | chnpoadomd 18558 | A chain under relation which orders the alphabet cannot have more elements than the alphabet itself. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐵 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐴 ∈ 𝑉) ⇒ ⊢ (𝜑 → (0..^(♯‘𝐵)) ≼ 𝐴) | ||
| Theorem | chnpolleha 18559 | A chain under relation which orders the alphabet has at most alphabet's size elements in it. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐵 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐴 ∈ 𝑉) ⇒ ⊢ (𝜑 → (♯‘𝐵) ≤ (♯‘𝐴)) | ||
| Theorem | chnpolfz 18560 | Provided that chain's relation is a partial order, the chain length is restricted to a specific integer range. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝜑 → < Po 𝐴) & ⊢ (𝜑 → 𝐵 ∈ ( < Chain 𝐴)) & ⊢ (𝜑 → 𝐴 ∈ Fin) ⇒ ⊢ (𝜑 → (♯‘𝐵) ∈ (0...(♯‘𝐴))) | ||
| Theorem | chnfi 18561 | There is a finite number of chains over finite domain, as long as the relation orders it. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ ((𝐴 ∈ Fin ∧ < Po 𝐴) → ( < Chain 𝐴) ∈ Fin) | ||
| Theorem | chninf 18562 | There is an infinite number of chains for any infinite alphabet and any relation. For instance, all the singletons of alphabet characters match. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ (𝐴 ∉ Fin → ( < Chain 𝐴) ∉ Fin) | ||
| Theorem | chnfibg 18563 | Given a partial order, the set of chains is finite iff the alphabet is finite. (Contributed by Ender Ting, 20-Jan-2026.) |
| ⊢ ( < Po 𝐴 → (𝐴 ∈ Fin ↔ ( < Chain 𝐴) ∈ Fin)) | ||
| Theorem | ex-chn1 18564 | Example: a doubleton of twos is a valid chain under the identity relation and domain of integers. (Contributed by Ender Ting, 17-Jan-2026.) |
| ⊢ 〈“22”〉 ∈ ( I Chain ℤ) | ||
| Theorem | ex-chn2 18565 | Example: sequence <" ZZ NN QQ "> is a valid chain under the equinumerosity relation in universal domain. (Contributed by Ender Ting, 17-Jan-2026.) |
| ⊢ 〈“ℤℕℚ”〉 ∈ ( ≈ Chain V) | ||
According to Wikipedia ("Magma (algebra)", 08-Jan-2020, https://en.wikipedia.org/wiki/magma_(algebra)) "In abstract algebra, a magma [...] is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation. The binary operation must be closed by definition but no other properties are imposed.". Since the concept of a "binary operation" is used in different variants, these differences are explained in more detail in the following: With df-mpo 7365, binary operations are defined by a rule, and with df-ov 7363, the value of a binary operation applied to two operands can be expressed. In both cases, the two operands can belong to different sets, and the result can be an element of a third set. However, according to Wikipedia "Binary operation", see https://en.wikipedia.org/wiki/Binary_operation 7363 (19-Jan-2020), "... a binary operation on a set 𝑆 is a mapping of the elements of the Cartesian product 𝑆 × 𝑆 to S: 𝑓:𝑆 × 𝑆⟶𝑆. Because the result of performing the operation on a pair of elements of S is again an element of S, the operation is called a closed binary operation on S (or sometimes expressed as having the property of closure).". To distinguish this more restrictive definition (in Wikipedia and most of the literature) from the general case, binary operations mapping the elements of the Cartesian product 𝑆 × 𝑆 are more precisely called internal binary operations. If, in addition, the result is also contained in the set 𝑆, the operation should be called closed internal binary operation. Therefore, a "binary operation on a set 𝑆" according to Wikipedia is a "closed internal binary operation" in a more precise terminology. If the sets are different, the operation is explicitly called external binary operation (see Wikipedia https://en.wikipedia.org/wiki/Binary_operation#External_binary_operations 7363). The definition of magmas (Mgm, see df-mgm 18569) concentrates on the closure property of the associated operation, and poses no additional restrictions on it. In this way, it is most general and flexible. | ||
| Syntax | cplusf 18566 | Extend class notation with group addition as a function. |
| class +𝑓 | ||
| Syntax | cmgm 18567 | Extend class notation with class of all magmas. |
| class Mgm | ||
| Definition | df-plusf 18568* | Define group addition function. Usually we will use +g directly instead of +𝑓, and they have the same behavior in most cases. The main advantage of +𝑓 for any magma is that it is a guaranteed function (mgmplusf 18579), while +g only has closure (mgmcl 18572). (Contributed by Mario Carneiro, 14-Aug-2015.) |
| ⊢ +𝑓 = (𝑔 ∈ V ↦ (𝑥 ∈ (Base‘𝑔), 𝑦 ∈ (Base‘𝑔) ↦ (𝑥(+g‘𝑔)𝑦))) | ||
| Definition | df-mgm 18569* | A magma is a set equipped with an everywhere defined internal operation. Definition 1 in [BourbakiAlg1] p. 1, or definition of a groupoid in section I.1 of [Bruck] p. 1. Note: The term "groupoid" is now widely used to refer to other objects: (small) categories all of whose morphisms are invertible, or groups with a partial function replacing the binary operation. Therefore, we will only use the term "magma" for the present notion in set.mm. (Contributed by FL, 2-Nov-2009.) (Revised by AV, 6-Jan-2020.) |
| ⊢ Mgm = {𝑔 ∣ [(Base‘𝑔) / 𝑏][(+g‘𝑔) / 𝑜]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏} | ||
| Theorem | ismgm 18570* | The predicate "is a magma". (Contributed by FL, 2-Nov-2009.) (Revised by AV, 6-Jan-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ ⚬ = (+g‘𝑀) ⇒ ⊢ (𝑀 ∈ 𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵)) | ||
| Theorem | ismgmn0 18571* | The predicate "is a magma" for a structure with a nonempty base set. (Contributed by AV, 29-Jan-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ ⚬ = (+g‘𝑀) ⇒ ⊢ (𝐴 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵)) | ||
| Theorem | mgmcl 18572 | Closure of the operation of a magma. (Contributed by FL, 14-Sep-2010.) (Revised by AV, 13-Jan-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ ⚬ = (+g‘𝑀) ⇒ ⊢ ((𝑀 ∈ Mgm ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (𝑋 ⚬ 𝑌) ∈ 𝐵) | ||
| Theorem | isnmgm 18573 | A condition for a structure not to be a magma. (Contributed by AV, 30-Jan-2020.) (Proof shortened by NM, 5-Feb-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ ⚬ = (+g‘𝑀) ⇒ ⊢ ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 ⚬ 𝑌) ∉ 𝐵) → 𝑀 ∉ Mgm) | ||
| Theorem | mgmsscl 18574 | If the base set of a magma is contained in the base set of another magma, and the group operation of the magma is the restriction of the group operation of the other magma to its base set, then the base set of the magma is closed under the group operation of the other magma. Formerly part of proof of grpissubg 19080. (Contributed by AV, 17-Feb-2024.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ 𝑆 = (Base‘𝐻) ⇒ ⊢ (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆 ⊆ 𝐵 ∧ (+g‘𝐻) = ((+g‘𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋 ∈ 𝑆 ∧ 𝑌 ∈ 𝑆)) → (𝑋(+g‘𝐺)𝑌) ∈ 𝑆) | ||
| Theorem | plusffval 18575* | The group addition operation as a function. (Contributed by Mario Carneiro, 14-Aug-2015.) (Proof shortened by AV, 2-Mar-2024.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ ⨣ = (+𝑓‘𝐺) ⇒ ⊢ ⨣ = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥 + 𝑦)) | ||
| Theorem | plusfval 18576 | The group addition operation as a function. (Contributed by Mario Carneiro, 14-Aug-2015.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ ⨣ = (+𝑓‘𝐺) ⇒ ⊢ ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (𝑋 ⨣ 𝑌) = (𝑋 + 𝑌)) | ||
| Theorem | plusfeq 18577 | If the addition operation is already a function, the functionalization of it is equal to the original operation. (Contributed by Mario Carneiro, 14-Aug-2015.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ ⨣ = (+𝑓‘𝐺) ⇒ ⊢ ( + Fn (𝐵 × 𝐵) → ⨣ = + ) | ||
| Theorem | plusffn 18578 | The group addition operation is a function. (Contributed by Mario Carneiro, 20-Sep-2015.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ ⨣ = (+𝑓‘𝐺) ⇒ ⊢ ⨣ Fn (𝐵 × 𝐵) | ||
| Theorem | mgmplusf 18579 | The group addition function of a magma is a function into its base set. (Contributed by Mario Carneiro, 14-Aug-2015.) (Revisd by AV, 28-Jan-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ ⨣ = (+𝑓‘𝑀) ⇒ ⊢ (𝑀 ∈ Mgm → ⨣ :(𝐵 × 𝐵)⟶𝐵) | ||
| Theorem | mgmpropd 18580* | If two structures have the same (nonempty) base set, and the values of their group (addition) operations are equal for all pairs of elements of the base set, one is a magma iff the other one is. (Contributed by AV, 25-Feb-2020.) |
| ⊢ (𝜑 → 𝐵 = (Base‘𝐾)) & ⊢ (𝜑 → 𝐵 = (Base‘𝐿)) & ⊢ (𝜑 → 𝐵 ≠ ∅) & ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑥(+g‘𝐾)𝑦) = (𝑥(+g‘𝐿)𝑦)) ⇒ ⊢ (𝜑 → (𝐾 ∈ Mgm ↔ 𝐿 ∈ Mgm)) | ||
| Theorem | ismgmd 18581* | Deduce a magma from its properties. (Contributed by AV, 25-Feb-2020.) |
| ⊢ (𝜑 → 𝐵 = (Base‘𝐺)) & ⊢ (𝜑 → 𝐺 ∈ 𝑉) & ⊢ (𝜑 → + = (+g‘𝐺)) & ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑥 + 𝑦) ∈ 𝐵) ⇒ ⊢ (𝜑 → 𝐺 ∈ Mgm) | ||
| Theorem | issstrmgm 18582* | Characterize a substructure as submagma by closure properties. (Contributed by AV, 30-Aug-2021.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ 𝐻 = (𝐺 ↾s 𝑆) ⇒ ⊢ ((𝐻 ∈ 𝑉 ∧ 𝑆 ⊆ 𝐵) → (𝐻 ∈ Mgm ↔ ∀𝑥 ∈ 𝑆 ∀𝑦 ∈ 𝑆 (𝑥 + 𝑦) ∈ 𝑆)) | ||
| Theorem | intopsn 18583 | The internal operation for a set is the trivial operation iff the set is a singleton. Formerly part of proof of ring1zr 20713. (Contributed by FL, 13-Feb-2010.) (Revised by AV, 23-Jan-2020.) |
| ⊢ (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} ↔ ⚬ = {〈〈𝑍, 𝑍〉, 𝑍〉})) | ||
| Theorem | mgmb1mgm1 18584 | The only magma with a base set consisting of one element is the trivial magma (at least if its operation is an internal binary operation). (Contributed by AV, 23-Jan-2020.) (Revised by AV, 7-Feb-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ + = (+g‘𝑀) ⇒ ⊢ ((𝑀 ∈ Mgm ∧ 𝑍 ∈ 𝐵 ∧ + Fn (𝐵 × 𝐵)) → (𝐵 = {𝑍} ↔ + = {〈〈𝑍, 𝑍〉, 𝑍〉})) | ||
| Theorem | mgm0 18585 | Any set with an empty base set and any group operation is a magma. (Contributed by AV, 28-Aug-2021.) |
| ⊢ ((𝑀 ∈ 𝑉 ∧ (Base‘𝑀) = ∅) → 𝑀 ∈ Mgm) | ||
| Theorem | mgm0b 18586 | The structure with an empty base set and any group operation is a magma. (Contributed by AV, 28-Aug-2021.) |
| ⊢ {〈(Base‘ndx), ∅〉, 〈(+g‘ndx), 𝑂〉} ∈ Mgm | ||
| Theorem | mgm1 18587 | The structure with one element and the only closed internal operation for a singleton is a magma. (Contributed by AV, 10-Feb-2020.) |
| ⊢ 𝑀 = {〈(Base‘ndx), {𝐼}〉, 〈(+g‘ndx), {〈〈𝐼, 𝐼〉, 𝐼〉}〉} ⇒ ⊢ (𝐼 ∈ 𝑉 → 𝑀 ∈ Mgm) | ||
| Theorem | opifismgm 18588* | A structure with a group addition operation expressed by a conditional operator is a magma if both values of the conditional operator are contained in the base set. (Contributed by AV, 9-Feb-2020.) |
| ⊢ 𝐵 = (Base‘𝑀) & ⊢ (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ if(𝜓, 𝐶, 𝐷)) & ⊢ (𝜑 → 𝐵 ≠ ∅) & ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐶 ∈ 𝐵) & ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐷 ∈ 𝐵) ⇒ ⊢ (𝜑 → 𝑀 ∈ Mgm) | ||
According to Wikipedia ("Identity element", 7-Feb-2020, https://en.wikipedia.org/wiki/Identity_element): "In mathematics, an identity element, or neutral element, is a special type of element of a set with respect to a binary operation on that set, which leaves any element of the set unchanged when combined with it.". Or in more detail "... an element e of S is called a left identity if e * a = a for all a in S, and a right identity if a * e = a for all a in S. If e is both a left identity and a right identity, then it is called a two-sided identity, or simply an identity." We concentrate on two-sided identities in the following. The existence of an identity (an identity is unique if it exists, see mgmidmo 18589) is an important property of monoids (see mndid 18673), and therefore also for groups (see grpid 18909), but also for magmas not required to be associative. Magmas with an identity element are called "unital magmas" (see Definition 2 in [BourbakiAlg1] p. 12) or, if the magmas are cancellative, "loops" (see definition in [Bruck] p. 15). In the context of extensible structures, the identity element (of any magma 𝑀) is defined as "group identity element" (0g‘𝑀), see df-0g 17365. Related theorems which are already valid for magmas are provided in the following. | ||
| Theorem | mgmidmo 18589* | A two-sided identity element is unique (if it exists) in any magma. (Contributed by Mario Carneiro, 7-Dec-2014.) (Revised by NM, 17-Jun-2017.) |
| ⊢ ∃*𝑢 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) | ||
| Theorem | grpidval 18590* | The value of the identity element of a group. (Contributed by NM, 20-Aug-2011.) (Revised by Mario Carneiro, 2-Oct-2015.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ 0 = (0g‘𝐺) ⇒ ⊢ 0 = (℩𝑒(𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))) | ||
| Theorem | grpidpropd 18591* | If two structures have the same base set, and the values of their group (addition) operations are equal for all pairs of elements of the base set, they have the same identity element. (Contributed by Mario Carneiro, 27-Nov-2014.) |
| ⊢ (𝜑 → 𝐵 = (Base‘𝐾)) & ⊢ (𝜑 → 𝐵 = (Base‘𝐿)) & ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑥(+g‘𝐾)𝑦) = (𝑥(+g‘𝐿)𝑦)) ⇒ ⊢ (𝜑 → (0g‘𝐾) = (0g‘𝐿)) | ||
| Theorem | fn0g 18592 | The group zero extractor is a function. (Contributed by Stefan O'Rear, 10-Jan-2015.) |
| ⊢ 0g Fn V | ||
| Theorem | 0g0 18593 | The identity element function evaluates to the empty set on an empty structure. (Contributed by Stefan O'Rear, 2-Oct-2015.) |
| ⊢ ∅ = (0g‘∅) | ||
| Theorem | ismgmid 18594* | The identity element of a magma, if it exists, belongs to the base set. (Contributed by Mario Carneiro, 27-Dec-2014.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ 0 = (0g‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)) ⇒ ⊢ (𝜑 → ((𝑈 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑈 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑈) = 𝑥)) ↔ 0 = 𝑈)) | ||
| Theorem | mgmidcl 18595* | The identity element of a magma, if it exists, belongs to the base set. (Contributed by Mario Carneiro, 27-Dec-2014.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ 0 = (0g‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)) ⇒ ⊢ (𝜑 → 0 ∈ 𝐵) | ||
| Theorem | mgmlrid 18596* | The identity element of a magma, if it exists, is a left and right identity. (Contributed by Mario Carneiro, 27-Dec-2014.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ 0 = (0g‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)) ⇒ ⊢ ((𝜑 ∧ 𝑋 ∈ 𝐵) → (( 0 + 𝑋) = 𝑋 ∧ (𝑋 + 0 ) = 𝑋)) | ||
| Theorem | ismgmid2 18597* | Show that a given element is the identity element of a magma. (Contributed by Mario Carneiro, 27-Dec-2014.) |
| ⊢ 𝐵 = (Base‘𝐺) & ⊢ 0 = (0g‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ (𝜑 → 𝑈 ∈ 𝐵) & ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑈 + 𝑥) = 𝑥) & ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 𝑈) = 𝑥) ⇒ ⊢ (𝜑 → 𝑈 = 0 ) | ||
| Theorem | lidrideqd 18598* | If there is a left and right identity element for any binary operation (group operation) +, both identity elements are equal. Generalization of statement in [Lang] p. 3: it is sufficient that "e" is a left identity element and "e`" is a right identity element instead of both being (two-sided) identity elements. (Contributed by AV, 26-Dec-2023.) |
| ⊢ (𝜑 → 𝐿 ∈ 𝐵) & ⊢ (𝜑 → 𝑅 ∈ 𝐵) & ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 (𝐿 + 𝑥) = 𝑥) & ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 (𝑥 + 𝑅) = 𝑥) ⇒ ⊢ (𝜑 → 𝐿 = 𝑅) | ||
| Theorem | lidrididd 18599* | If there is a left and right identity element for any binary operation (group operation) +, the left identity element (and therefore also the right identity element according to lidrideqd 18598) is equal to the two-sided identity element. (Contributed by AV, 26-Dec-2023.) |
| ⊢ (𝜑 → 𝐿 ∈ 𝐵) & ⊢ (𝜑 → 𝑅 ∈ 𝐵) & ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 (𝐿 + 𝑥) = 𝑥) & ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 (𝑥 + 𝑅) = 𝑥) & ⊢ 𝐵 = (Base‘𝐺) & ⊢ + = (+g‘𝐺) & ⊢ 0 = (0g‘𝐺) ⇒ ⊢ (𝜑 → 𝐿 = 0 ) | ||
| Theorem | grpidd 18600* | Deduce the identity element of a magma from its properties. (Contributed by Mario Carneiro, 6-Jan-2015.) |
| ⊢ (𝜑 → 𝐵 = (Base‘𝐺)) & ⊢ (𝜑 → + = (+g‘𝐺)) & ⊢ (𝜑 → 0 ∈ 𝐵) & ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 0 + 𝑥) = 𝑥) & ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 0 ) = 𝑥) ⇒ ⊢ (𝜑 → 0 = (0g‘𝐺)) | ||
| < Previous Next > |
| Copyright terms: Public domain | < Previous Next > |