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

Theorem wemaplem2 9236
Description: Lemma for wemapso 9240. 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 𝐵)
wemaplem2.px1 (𝜑𝑎𝐴)
wemaplem2.px2 (𝜑 → (𝑃𝑎)𝑆(𝑋𝑎))
wemaplem2.px3 (𝜑 → ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))
wemaplem2.xq1 (𝜑𝑏𝐴)
wemaplem2.xq2 (𝜑 → (𝑋𝑏)𝑆(𝑄𝑏))
wemaplem2.xq3 (𝜑 → ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)))
Assertion
Ref Expression
wemaplem2 (𝜑𝑃𝑇𝑄)
Distinct variable groups:   𝑎,𝑏,𝑐,𝑥,𝐵   𝑇,𝑎,𝑏,𝑐   𝑤,𝑎,𝑦,𝑧,𝑋,𝑏,𝑐,𝑥   𝐴,𝑎,𝑏,𝑐,𝑤,𝑥,𝑦,𝑧   𝑃,𝑎,𝑏,𝑐,𝑤,𝑥,𝑦,𝑧   𝑄,𝑎,𝑏,𝑐,𝑤,𝑥,𝑦,𝑧   𝑅,𝑎,𝑏,𝑐,𝑤,𝑥,𝑦,𝑧   𝑆,𝑎,𝑏,𝑐,𝑤,𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤,𝑎,𝑏,𝑐)   𝐵(𝑦,𝑧,𝑤)   𝑇(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem wemaplem2
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 wemaplem2.px1 . . . 4 (𝜑𝑎𝐴)
2 wemaplem2.xq1 . . . 4 (𝜑𝑏𝐴)
31, 2ifcld 4502 . . 3 (𝜑 → if(𝑎𝑅𝑏, 𝑎, 𝑏) ∈ 𝐴)
4 wemaplem2.px2 . . . . . . 7 (𝜑 → (𝑃𝑎)𝑆(𝑋𝑎))
54adantr 480 . . . . . 6 ((𝜑𝑎𝑅𝑏) → (𝑃𝑎)𝑆(𝑋𝑎))
6 breq1 5073 . . . . . . . . 9 (𝑐 = 𝑎 → (𝑐𝑅𝑏𝑎𝑅𝑏))
7 fveq2 6756 . . . . . . . . . 10 (𝑐 = 𝑎 → (𝑋𝑐) = (𝑋𝑎))
8 fveq2 6756 . . . . . . . . . 10 (𝑐 = 𝑎 → (𝑄𝑐) = (𝑄𝑎))
97, 8eqeq12d 2754 . . . . . . . . 9 (𝑐 = 𝑎 → ((𝑋𝑐) = (𝑄𝑐) ↔ (𝑋𝑎) = (𝑄𝑎)))
106, 9imbi12d 344 . . . . . . . 8 (𝑐 = 𝑎 → ((𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)) ↔ (𝑎𝑅𝑏 → (𝑋𝑎) = (𝑄𝑎))))
11 wemaplem2.xq3 . . . . . . . 8 (𝜑 → ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐)))
1210, 11, 1rspcdva 3554 . . . . . . 7 (𝜑 → (𝑎𝑅𝑏 → (𝑋𝑎) = (𝑄𝑎)))
1312imp 406 . . . . . 6 ((𝜑𝑎𝑅𝑏) → (𝑋𝑎) = (𝑄𝑎))
145, 13breqtrd 5096 . . . . 5 ((𝜑𝑎𝑅𝑏) → (𝑃𝑎)𝑆(𝑄𝑎))
15 iftrue 4462 . . . . . . . 8 (𝑎𝑅𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑎)
1615fveq2d 6760 . . . . . . 7 (𝑎𝑅𝑏 → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑃𝑎))
1715fveq2d 6760 . . . . . . 7 (𝑎𝑅𝑏 → (𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑄𝑎))
1816, 17breq12d 5083 . . . . . 6 (𝑎𝑅𝑏 → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑎)𝑆(𝑄𝑎)))
1918adantl 481 . . . . 5 ((𝜑𝑎𝑅𝑏) → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑎)𝑆(𝑄𝑎)))
2014, 19mpbird 256 . . . 4 ((𝜑𝑎𝑅𝑏) → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
21 wemaplem2.s . . . . . . 7 (𝜑𝑆 Po 𝐵)
2221adantr 480 . . . . . 6 ((𝜑𝑎 = 𝑏) → 𝑆 Po 𝐵)
23 wemaplem2.p . . . . . . . . . 10 (𝜑𝑃 ∈ (𝐵m 𝐴))
24 elmapi 8595 . . . . . . . . . 10 (𝑃 ∈ (𝐵m 𝐴) → 𝑃:𝐴𝐵)
2523, 24syl 17 . . . . . . . . 9 (𝜑𝑃:𝐴𝐵)
2625, 2ffvelrnd 6944 . . . . . . . 8 (𝜑 → (𝑃𝑏) ∈ 𝐵)
27 wemaplem2.x . . . . . . . . . 10 (𝜑𝑋 ∈ (𝐵m 𝐴))
28 elmapi 8595 . . . . . . . . . 10 (𝑋 ∈ (𝐵m 𝐴) → 𝑋:𝐴𝐵)
2927, 28syl 17 . . . . . . . . 9 (𝜑𝑋:𝐴𝐵)
3029, 2ffvelrnd 6944 . . . . . . . 8 (𝜑 → (𝑋𝑏) ∈ 𝐵)
31 wemaplem2.q . . . . . . . . . 10 (𝜑𝑄 ∈ (𝐵m 𝐴))
32 elmapi 8595 . . . . . . . . . 10 (𝑄 ∈ (𝐵m 𝐴) → 𝑄:𝐴𝐵)
3331, 32syl 17 . . . . . . . . 9 (𝜑𝑄:𝐴𝐵)
3433, 2ffvelrnd 6944 . . . . . . . 8 (𝜑 → (𝑄𝑏) ∈ 𝐵)
3526, 30, 343jca 1126 . . . . . . 7 (𝜑 → ((𝑃𝑏) ∈ 𝐵 ∧ (𝑋𝑏) ∈ 𝐵 ∧ (𝑄𝑏) ∈ 𝐵))
3635adantr 480 . . . . . 6 ((𝜑𝑎 = 𝑏) → ((𝑃𝑏) ∈ 𝐵 ∧ (𝑋𝑏) ∈ 𝐵 ∧ (𝑄𝑏) ∈ 𝐵))
37 fveq2 6756 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑃𝑎) = (𝑃𝑏))
38 fveq2 6756 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑋𝑎) = (𝑋𝑏))
3937, 38breq12d 5083 . . . . . . . 8 (𝑎 = 𝑏 → ((𝑃𝑎)𝑆(𝑋𝑎) ↔ (𝑃𝑏)𝑆(𝑋𝑏)))
404, 39syl5ibcom 244 . . . . . . 7 (𝜑 → (𝑎 = 𝑏 → (𝑃𝑏)𝑆(𝑋𝑏)))
4140imp 406 . . . . . 6 ((𝜑𝑎 = 𝑏) → (𝑃𝑏)𝑆(𝑋𝑏))
42 wemaplem2.xq2 . . . . . . 7 (𝜑 → (𝑋𝑏)𝑆(𝑄𝑏))
4342adantr 480 . . . . . 6 ((𝜑𝑎 = 𝑏) → (𝑋𝑏)𝑆(𝑄𝑏))
44 potr 5507 . . . . . . 7 ((𝑆 Po 𝐵 ∧ ((𝑃𝑏) ∈ 𝐵 ∧ (𝑋𝑏) ∈ 𝐵 ∧ (𝑄𝑏) ∈ 𝐵)) → (((𝑃𝑏)𝑆(𝑋𝑏) ∧ (𝑋𝑏)𝑆(𝑄𝑏)) → (𝑃𝑏)𝑆(𝑄𝑏)))
4544imp 406 . . . . . 6 (((𝑆 Po 𝐵 ∧ ((𝑃𝑏) ∈ 𝐵 ∧ (𝑋𝑏) ∈ 𝐵 ∧ (𝑄𝑏) ∈ 𝐵)) ∧ ((𝑃𝑏)𝑆(𝑋𝑏) ∧ (𝑋𝑏)𝑆(𝑄𝑏))) → (𝑃𝑏)𝑆(𝑄𝑏))
4622, 36, 41, 43, 45syl22anc 835 . . . . 5 ((𝜑𝑎 = 𝑏) → (𝑃𝑏)𝑆(𝑄𝑏))
47 ifeq1 4460 . . . . . . . . 9 (𝑎 = 𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = if(𝑎𝑅𝑏, 𝑏, 𝑏))
48 ifid 4496 . . . . . . . . 9 if(𝑎𝑅𝑏, 𝑏, 𝑏) = 𝑏
4947, 48eqtrdi 2795 . . . . . . . 8 (𝑎 = 𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏)
5049fveq2d 6760 . . . . . . 7 (𝑎 = 𝑏 → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑃𝑏))
5149fveq2d 6760 . . . . . . 7 (𝑎 = 𝑏 → (𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑄𝑏))
5250, 51breq12d 5083 . . . . . 6 (𝑎 = 𝑏 → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑏)𝑆(𝑄𝑏)))
5352adantl 481 . . . . 5 ((𝜑𝑎 = 𝑏) → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑏)𝑆(𝑄𝑏)))
5446, 53mpbird 256 . . . 4 ((𝜑𝑎 = 𝑏) → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
55 breq1 5073 . . . . . . . . 9 (𝑐 = 𝑏 → (𝑐𝑅𝑎𝑏𝑅𝑎))
56 fveq2 6756 . . . . . . . . . 10 (𝑐 = 𝑏 → (𝑃𝑐) = (𝑃𝑏))
57 fveq2 6756 . . . . . . . . . 10 (𝑐 = 𝑏 → (𝑋𝑐) = (𝑋𝑏))
5856, 57eqeq12d 2754 . . . . . . . . 9 (𝑐 = 𝑏 → ((𝑃𝑐) = (𝑋𝑐) ↔ (𝑃𝑏) = (𝑋𝑏)))
5955, 58imbi12d 344 . . . . . . . 8 (𝑐 = 𝑏 → ((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ↔ (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑋𝑏))))
60 wemaplem2.px3 . . . . . . . 8 (𝜑 → ∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)))
6159, 60, 2rspcdva 3554 . . . . . . 7 (𝜑 → (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑋𝑏)))
6261imp 406 . . . . . 6 ((𝜑𝑏𝑅𝑎) → (𝑃𝑏) = (𝑋𝑏))
6342adantr 480 . . . . . 6 ((𝜑𝑏𝑅𝑎) → (𝑋𝑏)𝑆(𝑄𝑏))
6462, 63eqbrtrd 5092 . . . . 5 ((𝜑𝑏𝑅𝑎) → (𝑃𝑏)𝑆(𝑄𝑏))
65 wemaplem2.r . . . . . . . . 9 (𝜑𝑅 Or 𝐴)
66 sopo 5513 . . . . . . . . 9 (𝑅 Or 𝐴𝑅 Po 𝐴)
6765, 66syl 17 . . . . . . . 8 (𝜑𝑅 Po 𝐴)
68 po2nr 5508 . . . . . . . 8 ((𝑅 Po 𝐴 ∧ (𝑏𝐴𝑎𝐴)) → ¬ (𝑏𝑅𝑎𝑎𝑅𝑏))
6967, 2, 1, 68syl12anc 833 . . . . . . 7 (𝜑 → ¬ (𝑏𝑅𝑎𝑎𝑅𝑏))
70 nan 826 . . . . . . 7 ((𝜑 → ¬ (𝑏𝑅𝑎𝑎𝑅𝑏)) ↔ ((𝜑𝑏𝑅𝑎) → ¬ 𝑎𝑅𝑏))
7169, 70mpbi 229 . . . . . 6 ((𝜑𝑏𝑅𝑎) → ¬ 𝑎𝑅𝑏)
72 iffalse 4465 . . . . . . . 8 𝑎𝑅𝑏 → if(𝑎𝑅𝑏, 𝑎, 𝑏) = 𝑏)
7372fveq2d 6760 . . . . . . 7 𝑎𝑅𝑏 → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑃𝑏))
7472fveq2d 6760 . . . . . . 7 𝑎𝑅𝑏 → (𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) = (𝑄𝑏))
7573, 74breq12d 5083 . . . . . 6 𝑎𝑅𝑏 → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑏)𝑆(𝑄𝑏)))
7671, 75syl 17 . . . . 5 ((𝜑𝑏𝑅𝑎) → ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ↔ (𝑃𝑏)𝑆(𝑄𝑏)))
7764, 76mpbird 256 . . . 4 ((𝜑𝑏𝑅𝑎) → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
78 solin 5519 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝑎𝐴𝑏𝐴)) → (𝑎𝑅𝑏𝑎 = 𝑏𝑏𝑅𝑎))
7965, 1, 2, 78syl12anc 833 . . . 4 (𝜑 → (𝑎𝑅𝑏𝑎 = 𝑏𝑏𝑅𝑎))
8020, 54, 77, 79mpjao3dan 1429 . . 3 (𝜑 → (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
81 r19.26 3094 . . . . 5 (∀𝑐𝐴 ((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) ↔ (∀𝑐𝐴 (𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))
8260, 11, 81sylanbrc 582 . . . 4 (𝜑 → ∀𝑐𝐴 ((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))))
8365, 1, 23jca 1126 . . . . 5 (𝜑 → (𝑅 Or 𝐴𝑎𝐴𝑏𝐴))
84 anim12 805 . . . . . . 7 (((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → ((𝑐𝑅𝑎𝑐𝑅𝑏) → ((𝑃𝑐) = (𝑋𝑐) ∧ (𝑋𝑐) = (𝑄𝑐))))
85 eqtr 2761 . . . . . . 7 (((𝑃𝑐) = (𝑋𝑐) ∧ (𝑋𝑐) = (𝑄𝑐)) → (𝑃𝑐) = (𝑄𝑐))
8684, 85syl6 35 . . . . . 6 (((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → ((𝑐𝑅𝑎𝑐𝑅𝑏) → (𝑃𝑐) = (𝑄𝑐)))
8786ralimi 3086 . . . . 5 (∀𝑐𝐴 ((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → ∀𝑐𝐴 ((𝑐𝑅𝑎𝑐𝑅𝑏) → (𝑃𝑐) = (𝑄𝑐)))
88 simpl1 1189 . . . . . . . . 9 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → 𝑅 Or 𝐴)
89 simpr 484 . . . . . . . . 9 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → 𝑐𝐴)
90 simpl2 1190 . . . . . . . . 9 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → 𝑎𝐴)
91 simpl3 1191 . . . . . . . . 9 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → 𝑏𝐴)
92 soltmin 6030 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝑐𝐴𝑎𝐴𝑏𝐴)) → (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) ↔ (𝑐𝑅𝑎𝑐𝑅𝑏)))
9388, 89, 90, 91, 92syl13anc 1370 . . . . . . . 8 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) ↔ (𝑐𝑅𝑎𝑐𝑅𝑏)))
9493biimpd 228 . . . . . . 7 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑐𝑅𝑎𝑐𝑅𝑏)))
9594imim1d 82 . . . . . 6 (((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) ∧ 𝑐𝐴) → (((𝑐𝑅𝑎𝑐𝑅𝑏) → (𝑃𝑐) = (𝑄𝑐)) → (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐))))
9695ralimdva 3102 . . . . 5 ((𝑅 Or 𝐴𝑎𝐴𝑏𝐴) → (∀𝑐𝐴 ((𝑐𝑅𝑎𝑐𝑅𝑏) → (𝑃𝑐) = (𝑄𝑐)) → ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐))))
9783, 87, 96syl2im 40 . . . 4 (𝜑 → (∀𝑐𝐴 ((𝑐𝑅𝑎 → (𝑃𝑐) = (𝑋𝑐)) ∧ (𝑐𝑅𝑏 → (𝑋𝑐) = (𝑄𝑐))) → ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐))))
9882, 97mpd 15 . . 3 (𝜑 → ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐)))
99 fveq2 6756 . . . . . 6 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑑) = (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
100 fveq2 6756 . . . . . 6 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑄𝑑) = (𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)))
10199, 100breq12d 5083 . . . . 5 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → ((𝑃𝑑)𝑆(𝑄𝑑) ↔ (𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏))))
102 breq2 5074 . . . . . . 7 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑐𝑅𝑑𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏)))
103102imbi1d 341 . . . . . 6 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → ((𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐)) ↔ (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐))))
104103ralbidv 3120 . . . . 5 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → (∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐)) ↔ ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐))))
105101, 104anbi12d 630 . . . 4 (𝑑 = if(𝑎𝑅𝑏, 𝑎, 𝑏) → (((𝑃𝑑)𝑆(𝑄𝑑) ∧ ∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐))) ↔ ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ∧ ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐)))))
106105rspcev 3552 . . 3 ((if(𝑎𝑅𝑏, 𝑎, 𝑏) ∈ 𝐴 ∧ ((𝑃‘if(𝑎𝑅𝑏, 𝑎, 𝑏))𝑆(𝑄‘if(𝑎𝑅𝑏, 𝑎, 𝑏)) ∧ ∀𝑐𝐴 (𝑐𝑅if(𝑎𝑅𝑏, 𝑎, 𝑏) → (𝑃𝑐) = (𝑄𝑐)))) → ∃𝑑𝐴 ((𝑃𝑑)𝑆(𝑄𝑑) ∧ ∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐))))
1073, 80, 98, 106syl12anc 833 . 2 (𝜑 → ∃𝑑𝐴 ((𝑃𝑑)𝑆(𝑄𝑑) ∧ ∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐))))
108 wemapso.t . . . 4 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
109108wemaplem1 9235 . . 3 ((𝑃 ∈ (𝐵m 𝐴) ∧ 𝑄 ∈ (𝐵m 𝐴)) → (𝑃𝑇𝑄 ↔ ∃𝑑𝐴 ((𝑃𝑑)𝑆(𝑄𝑑) ∧ ∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐)))))
11023, 31, 109syl2anc 583 . 2 (𝜑 → (𝑃𝑇𝑄 ↔ ∃𝑑𝐴 ((𝑃𝑑)𝑆(𝑄𝑑) ∧ ∀𝑐𝐴 (𝑐𝑅𝑑 → (𝑃𝑐) = (𝑄𝑐)))))
111107, 110mpbird 256 1 (𝜑𝑃𝑇𝑄)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  ifcif 4456   class class class wbr 5070  {copab 5132   Po wpo 5492   Or wor 5493  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-po 5494  df-so 5495  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575
This theorem is referenced by:  wemaplem3  9237
  Copyright terms: Public domain W3C validator