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

Theorem wemaplem3 9014
Description: Lemma for wemapso 9017. Transitivity. (Contributed by Stefan O'Rear, 17-Jan-2015.)
Hypotheses
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
wemaplem2.a (𝜑𝐴 ∈ V)
wemaplem2.p (𝜑𝑃 ∈ (𝐵m 𝐴))
wemaplem2.x (𝜑𝑋 ∈ (𝐵m 𝐴))
wemaplem2.q (𝜑𝑄 ∈ (𝐵m 𝐴))
wemaplem2.r (𝜑𝑅 Or 𝐴)
wemaplem2.s (𝜑𝑆 Po 𝐵)
wemaplem3.px (𝜑𝑃𝑇𝑋)
wemaplem3.xq (𝜑𝑋𝑇𝑄)
Assertion
Ref Expression
wemaplem3 (𝜑𝑃𝑇𝑄)
Distinct variable groups:   𝑥,𝐵   𝑥,𝑤,𝑦,𝑧,𝑋   𝑤,𝐴,𝑥,𝑦,𝑧   𝑤,𝑃,𝑥,𝑦,𝑧   𝑤,𝑄,𝑥,𝑦,𝑧   𝑤,𝑅,𝑥,𝑦,𝑧   𝑤,𝑆,𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝐵(𝑦,𝑧,𝑤)   𝑇(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem wemaplem3
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wemaplem3.px . . 3 (𝜑𝑃𝑇𝑋)
2 wemaplem2.p . . . 4 (𝜑𝑃 ∈ (𝐵m 𝐴))
3 wemaplem2.x . . . 4 (𝜑𝑋 ∈ (𝐵m 𝐴))
4 wemapso.t . . . . 5 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
54wemaplem1 9012 . . . 4 ((𝑃 ∈ (𝐵m 𝐴) ∧ 𝑋 ∈ (𝐵m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))))
62, 3, 5syl2anc 586 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))))
71, 6mpbid 234 . 2 (𝜑 → ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))
8 wemaplem3.xq . . 3 (𝜑𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑𝑄 ∈ (𝐵m 𝐴))
104wemaplem1 9012 . . . 4 ((𝑋 ∈ (𝐵m 𝐴) ∧ 𝑄 ∈ (𝐵m 𝐴)) → (𝑋𝑇𝑄 ↔ ∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)))))
113, 9, 10syl2anc 586 . . 3 (𝜑 → (𝑋𝑇𝑄 ↔ ∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)))))
128, 11mpbid 234 . 2 (𝜑 → ∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))
13 wemaplem2.a . . . . . 6 (𝜑𝐴 ∈ V)
1413ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝐴 ∈ V)
152ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑃 ∈ (𝐵m 𝐴))
163ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑋 ∈ (𝐵m 𝐴))
179ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑄 ∈ (𝐵m 𝐴))
18 wemaplem2.r . . . . . 6 (𝜑𝑅 Or 𝐴)
1918ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑅 Or 𝐴)
20 wemaplem2.s . . . . . 6 (𝜑𝑆 Po 𝐵)
2120ad2antrr 724 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑆 Po 𝐵)
22 simplrl 775 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑎𝐴)
23 simp2rl 1238 . . . . . 6 ((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → (𝑃𝑎)𝑆(𝑋𝑎))
24233expa 1114 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → (𝑃𝑎)𝑆(𝑋𝑎))
25 simprr 771 . . . . . 6 ((𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))) → ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))
2625ad2antlr 725 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))
27 simprl 769 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑏𝐴)
28 simprrl 779 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → (𝑋𝑏)𝑆(𝑄𝑏))
29 simprrr 780 . . . . 5 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)))
304, 14, 15, 16, 17, 19, 21, 22, 24, 26, 27, 28, 29wemaplem2 9013 . . . 4 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑃𝑇𝑄)
3130rexlimdvaa 3287 . . 3 ((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) → (∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → 𝑃𝑇𝑄))
3231rexlimdvaa 3287 . 2 (𝜑 → (∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))) → (∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → 𝑃𝑇𝑄)))
337, 12, 32mp2d 49 1 (𝜑𝑃𝑇𝑄)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3140  wrex 3141  Vcvv 3496   class class class wbr 5068  {copab 5130   Po wpo 5474   Or wor 5475  cfv 6357  (class class class)co 7158  m cmap 8408
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-po 5476  df-so 5477  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-1st 7691  df-2nd 7692  df-map 8410
This theorem is referenced by:  wemappo  9015
  Copyright terms: Public domain W3C validator