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

Theorem wemaplem3 9006
Description: Lemma for wemapso 9009. 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 9004 . . . 4 ((𝑃 ∈ (𝐵m 𝐴) ∧ 𝑋 ∈ (𝐵m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))))
62, 3, 5syl2anc 586 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))))
71, 6mpbid 234 . 2 (𝜑 → ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))
8 wemaplem3.xq . . 3 (𝜑𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑𝑄 ∈ (𝐵m 𝐴))
104wemaplem1 9004 . . . 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 9005 . . . 4 (((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) ∧ (𝑏𝐴 ∧ ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))) → 𝑃𝑇𝑄)
3130rexlimdvaa 3285 . . 3 ((𝜑 ∧ (𝑎𝐴 ∧ ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))))) → (∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → 𝑃𝑇𝑄))
3231rexlimdvaa 3285 . 2 (𝜑 → (∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑋𝑎) ∧ ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐))) → (∃𝑏𝐴 ((𝑋𝑏)𝑆(𝑄𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → 𝑃𝑇𝑄)))
337, 12, 32mp2d 49 1 (𝜑𝑃𝑇𝑄)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wral 3138  wrex 3139  Vcvv 3494   class class class wbr 5058  {copab 5120   Po wpo 5466   Or wor 5467  cfv 6349  (class class class)co 7150  m cmap 8400
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-po 5468  df-so 5469  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-1st 7683  df-2nd 7684  df-map 8402
This theorem is referenced by:  wemappo  9007
  Copyright terms: Public domain W3C validator