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

Theorem wemaplem3 9569
Description: Lemma for wemapso 9572. 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 9567 . . . 4 ((𝑃 ∈ (𝐵 ↑m 𝐴) ∧ 𝑋 ∈ (𝐵 ↑m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
62, 3, 5syl2anc 596 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
71, 6mpbid 235 . 2 (𝜑 → ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))
8 wemaplem3.xq . . 3 (𝜑 → 𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑 → 𝑄 ∈ (𝐵 ↑m 𝐴))
104wemaplem1 9567 . . . 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 9568 . . . 4 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑃𝑇𝑄)
2928rexlimdvaa 3168 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) → (∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))) → 𝑃𝑇𝑄))
3029rexlimdvaa 3168 . 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 2147  ∀wral 3080  ∃wrex 3090   class class class wbr 5106  {copab 5170   Po wpo 5561   Or wor 5562  ‘cfv 6558  (class class class)co 7443   ↑m cmap 8875
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-po 5563  df-so 5564  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-map 8877
This theorem is used by:  wemappo  9570
  Copyright terms: Public domain W3C validator