MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eroprf Structured version   Visualization version   GIF version

Theorem eroprf 8587
Description: Functionality of an operation defined on equivalence classes. (Contributed by Jeff Madsen, 10-Jun-2010.) (Revised by Mario Carneiro, 30-Dec-2014.)
Hypotheses
Ref Expression
eropr.1 𝐽 = (𝐴 / 𝑅)
eropr.2 𝐾 = (𝐵 / 𝑆)
eropr.3 (𝜑𝑇𝑍)
eropr.4 (𝜑𝑅 Er 𝑈)
eropr.5 (𝜑𝑆 Er 𝑉)
eropr.6 (𝜑𝑇 Er 𝑊)
eropr.7 (𝜑𝐴𝑈)
eropr.8 (𝜑𝐵𝑉)
eropr.9 (𝜑𝐶𝑊)
eropr.10 (𝜑+ :(𝐴 × 𝐵)⟶𝐶)
eropr.11 ((𝜑 ∧ ((𝑟𝐴𝑠𝐴) ∧ (𝑡𝐵𝑢𝐵))) → ((𝑟𝑅𝑠𝑡𝑆𝑢) → (𝑟 + 𝑡)𝑇(𝑠 + 𝑢)))
eropr.12 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)}
eropr.13 (𝜑𝑅𝑋)
eropr.14 (𝜑𝑆𝑌)
eropr.15 𝐿 = (𝐶 / 𝑇)
Assertion
Ref Expression
eroprf (𝜑 :(𝐽 × 𝐾)⟶𝐿)
Distinct variable groups:   𝑞,𝑝,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧,𝐴   𝐵,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   𝐿,𝑝,𝑞,𝑥,𝑦,𝑧   𝐽,𝑝,𝑞,𝑥,𝑦,𝑧   𝑅,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   𝐾,𝑝,𝑞,𝑥,𝑦,𝑧   𝑆,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   + ,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   𝜑,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   𝑇,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑥,𝑦,𝑧   𝑋,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑧   𝑌,𝑝,𝑞,𝑟,𝑠,𝑡,𝑢,𝑧
Allowed substitution hints:   𝐶(𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)   (𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)   𝑈(𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)   𝐽(𝑢,𝑡,𝑠,𝑟)   𝐾(𝑢,𝑡,𝑠,𝑟)   𝐿(𝑢,𝑡,𝑠,𝑟)   𝑉(𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)   𝑊(𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)   𝑋(𝑥,𝑦)   𝑌(𝑥,𝑦)   𝑍(𝑥,𝑦,𝑧,𝑢,𝑡,𝑠,𝑟,𝑞,𝑝)

Proof of Theorem eroprf
StepHypRef Expression
1 eropr.3 . . . . . . . . . . . 12 (𝜑𝑇𝑍)
21ad2antrr 723 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → 𝑇𝑍)
3 eropr.10 . . . . . . . . . . . . 13 (𝜑+ :(𝐴 × 𝐵)⟶𝐶)
43adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → + :(𝐴 × 𝐵)⟶𝐶)
54fovrnda 7437 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (𝑝 + 𝑞) ∈ 𝐶)
6 ecelqsg 8544 . . . . . . . . . . 11 ((𝑇𝑍 ∧ (𝑝 + 𝑞) ∈ 𝐶) → [(𝑝 + 𝑞)]𝑇 ∈ (𝐶 / 𝑇))
72, 5, 6syl2anc 584 . . . . . . . . . 10 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → [(𝑝 + 𝑞)]𝑇 ∈ (𝐶 / 𝑇))
8 eropr.15 . . . . . . . . . 10 𝐿 = (𝐶 / 𝑇)
97, 8eleqtrrdi 2852 . . . . . . . . 9 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → [(𝑝 + 𝑞)]𝑇𝐿)
10 eleq1a 2836 . . . . . . . . 9 ([(𝑝 + 𝑞)]𝑇𝐿 → (𝑧 = [(𝑝 + 𝑞)]𝑇𝑧𝐿))
119, 10syl 17 . . . . . . . 8 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (𝑧 = [(𝑝 + 𝑞)]𝑇𝑧𝐿))
1211adantld 491 . . . . . . 7 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → 𝑧𝐿))
1312rexlimdvva 3225 . . . . . 6 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → 𝑧𝐿))
1413abssdv 4007 . . . . 5 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → {𝑧 ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)} ⊆ 𝐿)
15 eropr.1 . . . . . . 7 𝐽 = (𝐴 / 𝑅)
16 eropr.2 . . . . . . 7 𝐾 = (𝐵 / 𝑆)
17 eropr.4 . . . . . . 7 (𝜑𝑅 Er 𝑈)
18 eropr.5 . . . . . . 7 (𝜑𝑆 Er 𝑉)
19 eropr.6 . . . . . . 7 (𝜑𝑇 Er 𝑊)
20 eropr.7 . . . . . . 7 (𝜑𝐴𝑈)
21 eropr.8 . . . . . . 7 (𝜑𝐵𝑉)
22 eropr.9 . . . . . . 7 (𝜑𝐶𝑊)
23 eropr.11 . . . . . . 7 ((𝜑 ∧ ((𝑟𝐴𝑠𝐴) ∧ (𝑡𝐵𝑢𝐵))) → ((𝑟𝑅𝑠𝑡𝑆𝑢) → (𝑟 + 𝑡)𝑇(𝑠 + 𝑢)))
2415, 16, 1, 17, 18, 19, 20, 21, 22, 3, 23eroveu 8584 . . . . . 6 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → ∃!𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))
25 iotacl 6418 . . . . . 6 (∃!𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ {𝑧 ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)})
2624, 25syl 17 . . . . 5 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ {𝑧 ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)})
2714, 26sseldd 3927 . . . 4 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿)
2827ralrimivva 3117 . . 3 (𝜑 → ∀𝑥𝐽𝑦𝐾 (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿)
29 eqid 2740 . . . 4 (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))) = (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)))
3029fmpo 7901 . . 3 (∀𝑥𝐽𝑦𝐾 (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿 ↔ (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿)
3128, 30sylib 217 . 2 (𝜑 → (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿)
32 eropr.12 . . . 4 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)}
3315, 16, 1, 17, 18, 19, 20, 21, 22, 3, 23, 32erovlem 8585 . . 3 (𝜑 = (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))))
3433feq1d 6583 . 2 (𝜑 → ( :(𝐽 × 𝐾)⟶𝐿 ↔ (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿))
3531, 34mpbird 256 1 (𝜑 :(𝐽 × 𝐾)⟶𝐿)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1542  wcel 2110  ∃!weu 2570  {cab 2717  wral 3066  wrex 3067  wss 3892   class class class wbr 5079   × cxp 5588  cio 6388  wf 6428  (class class class)co 7271  {coprab 7272  cmpo 7273   Er wer 8478  [cec 8479   / cqs 8480
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-1st 7824  df-2nd 7825  df-er 8481  df-ec 8483  df-qs 8487
This theorem is referenced by:  eroprf2  8589
  Copyright terms: Public domain W3C validator