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

Theorem wemaplem3 9545
Description: Lemma for wemapso 9548. Transitivity. (Contributed by Stefan O'Rear, 17-Jan-2015.) (Revised by AV, 21-Jul-2024.)
Hypotheses
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)))}
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 9543 . . . 4 ((𝑃 ∈ (𝐵 ↑m 𝐴) ∧ 𝑋 ∈ (𝐵 ↑m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
62, 3, 5syl2anc 596 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
71, 6mpbid 235 . 2 (𝜑 → ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))
8 wemaplem3.xq . . 3 (𝜑 → 𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑 → 𝑄 ∈ (𝐵 ↑m 𝐴))
104wemaplem1 9543 . . . 4 ((𝑋 ∈ (𝐵 ↑m 𝐴) ∧ 𝑄 ∈ (𝐵 ↑m 𝐴)) → (𝑋𝑇𝑄 ↔ ∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐)))))
113, 9, 10syl2anc 596 . . 3 (𝜑 → (𝑋𝑇𝑄 ↔ ∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐)))))
128, 11mpbid 235 . 2 (𝜑 → ∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))
132ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑃 ∈ (𝐵 ↑m 𝐴))
143ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑋 ∈ (𝐵 ↑m 𝐴))
159ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑄 ∈ (𝐵 ↑m 𝐴))
16 wemaplem2.r . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
1716ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑅 Or 𝐴)
18 wemaplem2.s . . . . . 6 (𝜑 → 𝑆 Po 𝐵)
1918ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑆 Po 𝐵)
20 simplrl 789 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑎 ∈ 𝐴)
21 simp2rl 1261 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → (𝑃‘𝑎)𝑆(𝑋‘𝑎))
22213expa 1136 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → (𝑃‘𝑎)𝑆(𝑋‘𝑎))
23 simprr 785 . . . . . 6 ((𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))) → ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))
2423ad2antlr 740 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))
25 simprl 783 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑏 ∈ 𝐴)
26 simprrl 793 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → (𝑋‘𝑏)𝑆(𝑄‘𝑏))
27 simprrr 794 . . . . 5 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐)))
284, 13, 14, 15, 17, 19, 20, 22, 24, 25, 26, 27wemaplem2 9544 . . . 4 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑃𝑇𝑄)
2928rexlimdvaa 3164 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) → (∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))) → 𝑃𝑇𝑄))
3029rexlimdvaa 3164 . 2 (𝜑 → (∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))) → (∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))) → 𝑃𝑇𝑄)))
317, 12, 30mp2d 50 1 (𝜑 → 𝑃𝑇𝑄)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   class class class wbr 5102  {copab 5166   Po wpo 5556   Or wor 5557  ‘cfv 6538  (class class class)co 7420   ↑m cmap 8850
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-po 5558  df-so 5559  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-map 8852
This theorem is used by:  wemappo  9546
  Copyright terms: Public domain W3C validator