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

Theorem wemaplem3 9526
Description: Lemma for wemapso 9529. 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 9524 . . . 4 ((𝑃 ∈ (𝐵 ↑m 𝐴) ∧ 𝑋 ∈ (𝐵 ↑m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
62, 3, 5syl2anc 596 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
71, 6mpbid 235 . 2 (𝜑 → ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))
8 wemaplem3.xq . . 3 (𝜑 → 𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑 → 𝑄 ∈ (𝐵 ↑m 𝐴))
104wemaplem1 9524 . . . 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 9525 . . . 4 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑃𝑇𝑄)
2928rexlimdvaa 3165 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) → (∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))) → 𝑃𝑇𝑄))
3029rexlimdvaa 3165 . 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 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087   class class class wbr 5103  {copab 5167   Po wpo 5557   Or wor 5558  ‘cfv 6531  (class class class)co 7412   ↑m cmap 8831
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-po 5559  df-so 5560  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1st 7990  df-2nd 7991  df-map 8833
This theorem is used by:  wemappo  9527
  Copyright terms: Public domain W3C validator