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

Theorem wemaplem3 9589
Description: Lemma for wemapso 9592. 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 9587 . . . 4 ((𝑃 ∈ (𝐵 ↑m 𝐴) ∧ 𝑋 ∈ (𝐵 ↑m 𝐴)) → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
62, 3, 5syl2anc 596 . . 3 (𝜑 → (𝑃𝑇𝑋 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))))
71, 6mpbid 235 . 2 (𝜑 → ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))
8 wemaplem3.xq . . 3 (𝜑 → 𝑋𝑇𝑄)
9 wemaplem2.q . . . 4 (𝜑 → 𝑄 ∈ (𝐵 ↑m 𝐴))
104wemaplem1 9587 . . . 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 1263 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐)))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → (𝑃‘𝑎)𝑆(𝑋‘𝑎))
22213expa 1137 . . . . 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 9588 . . . 4 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) ∧ (𝑏 ∈ 𝐴 ∧ ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))))) → 𝑃𝑇𝑄)
2928rexlimdvaa 3174 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ ((𝑃‘𝑎)𝑆(𝑋‘𝑎) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑎 → (𝑃‘𝑐) = (𝑋‘𝑐))))) → (∃𝑏 ∈ 𝐴 ((𝑋‘𝑏)𝑆(𝑄‘𝑏) ∧ ∀𝑐 ∈ 𝐴 (𝑐𝑅𝑏 → (𝑋‘𝑐) = (𝑄‘𝑐))) → 𝑃𝑇𝑄))
3029rexlimdvaa 3174 . 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 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096   class class class wbr 5111  {copab 5176   Po wpo 5567   Or wor 5568  ‘cfv 6573  (class class class)co 7461   ↑m cmap 8895
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-po 5569  df-so 5570  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fv 6581  df-ov 7464  df-oprab 7465  df-mpo 7466  df-1st 8045  df-2nd 8046  df-map 8897
This theorem is used by:  wemappo  9590
  Copyright terms: Public domain W3C validator