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 49446
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 49442 . . . . 5 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀})
21eleq2d 2849 . . . 4 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀}))
3 breq1 5108 . . . . 5 (𝑜 = ⚬ → (𝑜 assLaw 𝑀 ↔ ⚬ assLaw 𝑀))
43elrab 3647 . . . 4 ( ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀} ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀))
52, 4bitrdi 290 . . 3 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)))
6 elmapi 8880 . . . . . 6 ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
76ad2antrl 741 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
8 isasslaw 49428 . . . . . . . 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 49443 . . . . . . 7 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( clIntOp ‘𝑀) ↔ ⚬ :(𝑀 × 𝑀)⟶𝑀))
1615biimprcd 253 . . . . . 6 ( ⚬ :(𝑀 × 𝑀)⟶𝑀 → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1716adantr 486 . . . . 5 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))) → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1817impcom 413 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ ∈ ( clIntOp ‘𝑀))
19 sqxpexg 7776 . . . . . . . . 9 (𝑀 ∈ 𝑉 → (𝑀 × 𝑀) ∈ V)
20 fex 7239 . . . . . . . . 9 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ (𝑀 × 𝑀) ∈ V) → ⚬ ∈ V)
2119, 20sylan2 605 . . . . . . . 8 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ 𝑀 ∈ 𝑉) → ⚬ ∈ V)
2221ancoms 464 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → ⚬ ∈ V)
23 simpl 488 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → 𝑀 ∈ 𝑉)
24 isasslaw 49428 . . . . . . . 8 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 ↔ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
2524bicomd 226 . . . . . . 7 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2622, 23, 25syl2anc 596 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2726biimpd 232 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) → ⚬ assLaw 𝑀))
2827impr 460 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ assLaw 𝑀)
29 assintopval 49441 . . . . . . 7 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3029adantr 486 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3130eleq2d 2849 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀}))
323elrab 3647 . . . . 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 1569   ∈ wcel 2146  ∀wral 3079  {crab 3415  Vcvv 3453   class class class wbr 5105   × cxp 5652  ⟶wf 6542  ‘cfv 6546  (class class class)co 7427   ↑m cmap 8858   assLaw casslaw 49420   clIntOp cclintop 49433   assIntOp cassintop 49434
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5234  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-1st 8008  df-2nd 8009  df-map 8860  df-asslaw 49424  df-intop 49435  df-clintop 49436  df-assintop 49437
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator