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

Theorem eroprf 7963
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 764 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → 𝑇𝑍)
3 eropr.10 . . . . . . . . . . . . 13 (𝜑+ :(𝐴 × 𝐵)⟶𝐶)
43adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → + :(𝐴 × 𝐵)⟶𝐶)
54fovrnda 6922 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (𝑝 + 𝑞) ∈ 𝐶)
6 ecelqsg 7920 . . . . . . . . . . 11 ((𝑇𝑍 ∧ (𝑝 + 𝑞) ∈ 𝐶) → [(𝑝 + 𝑞)]𝑇 ∈ (𝐶 / 𝑇))
72, 5, 6syl2anc 696 . . . . . . . . . 10 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → [(𝑝 + 𝑞)]𝑇 ∈ (𝐶 / 𝑇))
8 eropr.15 . . . . . . . . . 10 𝐿 = (𝐶 / 𝑇)
97, 8syl6eleqr 2814 . . . . . . . . 9 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → [(𝑝 + 𝑞)]𝑇𝐿)
10 eleq1a 2798 . . . . . . . . 9 ([(𝑝 + 𝑞)]𝑇𝐿 → (𝑧 = [(𝑝 + 𝑞)]𝑇𝑧𝐿))
119, 10syl 17 . . . . . . . 8 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (𝑧 = [(𝑝 + 𝑞)]𝑇𝑧𝐿))
1211adantld 484 . . . . . . 7 (((𝜑 ∧ (𝑥𝐽𝑦𝐾)) ∧ (𝑝𝐴𝑞𝐵)) → (((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → 𝑧𝐿))
1312rexlimdvva 3140 . . . . . 6 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → 𝑧𝐿))
1413abssdv 3782 . . . . 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 7960 . . . . . 6 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → ∃!𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))
25 iotacl 5987 . . . . . 6 (∃!𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ {𝑧 ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)})
2624, 25syl 17 . . . . 5 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ {𝑧 ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)})
2714, 26sseldd 3710 . . . 4 ((𝜑 ∧ (𝑥𝐽𝑦𝐾)) → (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿)
2827ralrimivva 3073 . . 3 (𝜑 → ∀𝑥𝐽𝑦𝐾 (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿)
29 eqid 2724 . . . 4 (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))) = (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)))
3029fmpt2 7357 . . 3 (∀𝑥𝐽𝑦𝐾 (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)) ∈ 𝐿 ↔ (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿)
3128, 30sylib 208 . 2 (𝜑 → (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿)
32 eropr.12 . . . 4 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ∃𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇)}
3315, 16, 1, 17, 18, 19, 20, 21, 22, 3, 23, 32erovlem 7961 . . 3 (𝜑 = (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))))
3433feq1d 6143 . 2 (𝜑 → ( :(𝐽 × 𝐾)⟶𝐿 ↔ (𝑥𝐽, 𝑦𝐾 ↦ (℩𝑧𝑝𝐴𝑞𝐵 ((𝑥 = [𝑝]𝑅𝑦 = [𝑞]𝑆) ∧ 𝑧 = [(𝑝 + 𝑞)]𝑇))):(𝐽 × 𝐾)⟶𝐿))
3531, 34mpbird 247 1 (𝜑 :(𝐽 × 𝐾)⟶𝐿)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1596  wcel 2103  ∃!weu 2571  {cab 2710  wral 3014  wrex 3015  wss 3680   class class class wbr 4760   × cxp 5216  cio 5962  wf 5997  (class class class)co 6765  {coprab 6766  cmpt2 6767   Er wer 7859  [cec 7860   / cqs 7861
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-8 2105  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704  ax-sep 4889  ax-nul 4897  ax-pow 4948  ax-pr 5011  ax-un 7066
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ne 2897  df-ral 3019  df-rex 3020  df-rab 3023  df-v 3306  df-sbc 3542  df-csb 3640  df-dif 3683  df-un 3685  df-in 3687  df-ss 3694  df-nul 4024  df-if 4195  df-sn 4286  df-pr 4288  df-op 4292  df-uni 4545  df-iun 4630  df-br 4761  df-opab 4821  df-mpt 4838  df-id 5128  df-xp 5224  df-rel 5225  df-cnv 5226  df-co 5227  df-dm 5228  df-rn 5229  df-res 5230  df-ima 5231  df-iota 5964  df-fun 6003  df-fn 6004  df-f 6005  df-fv 6009  df-ov 6768  df-oprab 6769  df-mpt2 6770  df-1st 7285  df-2nd 7286  df-er 7862  df-ec 7864  df-qs 7868
This theorem is referenced by:  eroprf2  7965
  Copyright terms: Public domain W3C validator