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 49737
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 49733 . . . . 5 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀})
21eleq2d 2861 . . . 4 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀}))
3 breq1 5119 . . . . 5 (𝑜 = ⚬ → (𝑜 assLaw 𝑀 ↔ ⚬ assLaw 𝑀))
43elrab 3655 . . . 4 ( ⚬ ∈ {𝑜 ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∣ 𝑜 assLaw 𝑀} ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀))
52, 4bitrdi 290 . . 3 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)))
6 elmapi 8926 . . . . . 6 ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
76ad2antrl 741 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ ∈ (𝑀 ↑m (𝑀 × 𝑀)) ∧ ⚬ assLaw 𝑀)) → ⚬ :(𝑀 × 𝑀)⟶𝑀)
8 isasslaw 49719 . . . . . . . 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 49734 . . . . . . 7 (𝑀 ∈ 𝑉 → ( ⚬ ∈ ( clIntOp ‘𝑀) ↔ ⚬ :(𝑀 × 𝑀)⟶𝑀))
1615biimprcd 253 . . . . . 6 ( ⚬ :(𝑀 × 𝑀)⟶𝑀 → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1716adantr 486 . . . . 5 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))) → (𝑀 ∈ 𝑉 → ⚬ ∈ ( clIntOp ‘𝑀)))
1817impcom 413 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ ∈ ( clIntOp ‘𝑀))
19 sqxpexg 7820 . . . . . . . . 9 (𝑀 ∈ 𝑉 → (𝑀 × 𝑀) ∈ V)
20 fex 7281 . . . . . . . . 9 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ (𝑀 × 𝑀) ∈ V) → ⚬ ∈ V)
2119, 20sylan2 605 . . . . . . . 8 (( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ 𝑀 ∈ 𝑉) → ⚬ ∈ V)
2221ancoms 464 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → ⚬ ∈ V)
23 simpl 488 . . . . . . 7 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → 𝑀 ∈ 𝑉)
24 isasslaw 49719 . . . . . . . 8 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → ( ⚬ assLaw 𝑀 ↔ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧))))
2524bicomd 226 . . . . . . 7 (( ⚬ ∈ V ∧ 𝑀 ∈ 𝑉) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2622, 23, 25syl2anc 596 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) ↔ ⚬ assLaw 𝑀))
2726biimpd 232 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ⚬ :(𝑀 × 𝑀)⟶𝑀) → (∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)) → ⚬ assLaw 𝑀))
2827impr 460 . . . 4 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ⚬ assLaw 𝑀)
29 assintopval 49732 . . . . . . 7 (𝑀 ∈ 𝑉 → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3029adantr 486 . . . . . 6 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( assIntOp ‘𝑀) = {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀})
3130eleq2d 2861 . . . . 5 ((𝑀 ∈ 𝑉 ∧ ( ⚬ :(𝑀 × 𝑀)⟶𝑀 ∧ ∀𝑥 ∈ 𝑀 ∀𝑦 ∈ 𝑀 ∀𝑧 ∈ 𝑀 ((𝑥 ⚬ 𝑦) ⚬ 𝑧) = (𝑥 ⚬ (𝑦 ⚬ 𝑧)))) → ( ⚬ ∈ ( assIntOp ‘𝑀) ↔ ⚬ ∈ {𝑜 ∈ ( clIntOp ‘𝑀) ∣ 𝑜 assLaw 𝑀}))
323elrab 3655 . . . . 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 1572   ∈ wcel 2156  ∀wral 3091  {crab 3423  Vcvv 3461   class class class wbr 5116   × cxp 5664  ⟶wf 6575  ‘cfv 6579  (class class class)co 7470   ↑m cmap 8904   assLaw casslaw 49711   clIntOp cclintop 49724   assIntOp cassintop 49725
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-1st 8054  df-2nd 8055  df-map 8906  df-asslaw 49715  df-intop 49726  df-clintop 49727  df-assintop 49728
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator