Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  isassintop Structured version   Visualization version   GIF version

Theorem isassintop 49306
Description: The predicate "is an associative (closed internal binary) operations for a set". (Contributed by FL, 2-Nov-2009.) (Revised by AV, 20-Jan-2020.)
Assertion
Ref Expression
isassintop (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))))
Distinct variable groups:   𝑥,𝑀,𝑦,𝑧   𝑥, ⚬ ,𝑦,𝑧
Allowed substitution hints:   𝑉(𝑥, 𝑦, 𝑧)

Proof of Theorem isassintop
Dummy variable 𝑜 is distinct from all other variables.
StepHypRef Expression
1 assintopmap 49302 . . . . 5 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀})
21eleq2d 2847 . . . 4 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀}))
3 breq1 5106 . . . . 5 (𝑜 = ⚬ → (𝑜 assLaw 𝑀 ↔ ⚬ assLaw 𝑀))
43elrab 3645 . . . 4 ( ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀} ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀))
52, 4bitrdi 290 . . 3 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)))
6 elmapi 8869 . . . . . 6 ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
76ad2antrl 741 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
8 isasslaw 49288 . . . . . . . 8 (( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 ↔ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
98biimpd 232 . . . . . . 7 (( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 → ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
109impancom 457 . . . . . 6 (( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀) → (𝑀 ∈ 𝑉 → ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
1110impcom 413 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))
127, 11jca 521 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
1312ex 418 . . 3 (𝑀 ∈ 𝑉 → (( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀) → ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))))
145, 13sylbid 243 . 2 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) → ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))))
15 isclintop 49303 . . . . . . 7 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( clIntOp ‘𝑀) ↔ ⚬ :(𝑀 × 𝑀)⟶𝑀))
1615biimprcd 253 . . . . . 6 ( ⚬ :(𝑀 × 𝑀)⟶𝑀 → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1716adantr 486 . . . . 5 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))) → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1817impcom 413 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ ∈ ( clIntOp ‘𝑀))
19 sqxpexg 7769 . . . . . . . . 9 (𝑀 ∈ 𝑉 → (𝑀 × 𝑀) ∈ V)
20 fex 7232 . . . . . . . . 9 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ (𝑀 × 𝑀) ∈ V) → ⚬ ∈ V)
2119, 20sylan2 605 . . . . . . . 8 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ 𝑀 ∈ 𝑉) → ⚬ ∈ V)
2221ancoms 464 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → ⚬ ∈ V)
23 simpl 488 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → 𝑀 ∈ 𝑉)
24 isasslaw 49288 . . . . . . . 8 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 ↔ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
2524bicomd 226 . . . . . . 7 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2622, 23, 25syl2anc 596 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2726biimpd 232 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) → ⚬ assLaw 𝑀))
2827impr 460 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ assLaw 𝑀)
29 assintopval 49301 . . . . . . 7 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3029adantr 486 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3130eleq2d 2847 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀}))
323elrab 3645 . . . . 5 ( ⚬ ∈ {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀} ↔ ( ⚬ ∈ ( clIntOp ‘𝑀) ∧ ⚬ assLaw 𝑀))
3331, 32bitrdi 290 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ ∈ ( clIntOp ‘𝑀) ∧ ⚬ assLaw 𝑀)))
3418, 28, 33mpbir2and 726 . . 3 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ ∈ ( assIntOp ‘𝑀))
3534ex 418 . 2 (𝑀 ∈ 𝑉 → (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))) → ⚬ ∈ ( assIntOp ‘𝑀)))
3614, 35impbid 215 1 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077  {crab 3413  Vcvv 3451   class class class wbr 5103   × cxp 5649  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420   ↑m cmap 8847   assLaw casslaw 49280   clIntOp cclintop 49293   assIntOp cassintop 49294
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-map 8849  df-asslaw 49284  df-intop 49295  df-clintop 49296  df-assintop 49297
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator