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 49580
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 49576 . . . . 5 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀})
21eleq2d 2850 . . . 4 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀}))
3 breq1 5111 . . . . 5 (𝑜 = ⚬ → (𝑜 assLaw 𝑀 ↔ ⚬ assLaw 𝑀))
43elrab 3648 . . . 4 ( ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀} ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀))
52, 4bitrdi 290 . . 3 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)))
6 elmapi 8907 . . . . . 6 ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
76ad2antrl 741 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
8 isasslaw 49562 . . . . . . . 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 49577 . . . . . . 7 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( clIntOp ‘𝑀) ↔ ⚬ :(𝑀 × 𝑀)⟶𝑀))
1615biimprcd 253 . . . . . 6 ( ⚬ :(𝑀 × 𝑀)⟶𝑀 → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1716adantr 486 . . . . 5 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))) → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1817impcom 413 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ ∈ ( clIntOp ‘𝑀))
19 sqxpexg 7801 . . . . . . . . 9 (𝑀 ∈ 𝑉 → (𝑀 × 𝑀) ∈ V)
20 fex 7263 . . . . . . . . 9 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ (𝑀 × 𝑀) ∈ V) → ⚬ ∈ V)
2119, 20sylan2 605 . . . . . . . 8 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ 𝑀 ∈ 𝑉) → ⚬ ∈ V)
2221ancoms 464 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → ⚬ ∈ V)
23 simpl 488 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → 𝑀 ∈ 𝑉)
24 isasslaw 49562 . . . . . . . 8 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 ↔ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
2524bicomd 226 . . . . . . 7 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2622, 23, 25syl2anc 596 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2726biimpd 232 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) → ⚬ assLaw 𝑀))
2827impr 460 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ assLaw 𝑀)
29 assintopval 49575 . . . . . . 7 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3029adantr 486 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3130eleq2d 2850 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀}))
323elrab 3648 . . . . 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 2147  ∀wral 3080  {crab 3416  Vcvv 3454   class class class wbr 5108   × cxp 5656  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451   ↑m cmap 8885   assLaw casslaw 49554   clIntOp cclintop 49567   assIntOp cassintop 49568
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-map 8887  df-asslaw 49558  df-intop 49569  df-clintop 49570  df-assintop 49571
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator