Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  reupr Structured version   Visualization version   GIF version

Theorem reupr 44862
Description: There is a unique unordered pair fulfilling a wff iff there are uniquely two sets fulfilling a corresponding wff. (Contributed by AV, 7-Apr-2023.)
Hypotheses
Ref Expression
reupr.a (𝑝 = {𝑎, 𝑏} → (𝜓𝜒))
reupr.x (𝑝 = {𝑥, 𝑦} → (𝜓𝜃))
Assertion
Ref Expression
reupr (𝑋𝑉 → (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
Distinct variable groups:   𝑉,𝑎,𝑏,𝑝,𝑥,𝑦   𝑋,𝑎,𝑏,𝑝,𝑥,𝑦   𝜓,𝑎,𝑏,𝑥,𝑦   𝜃,𝑝   𝜒,𝑝
Allowed substitution hints:   𝜓(𝑝)   𝜒(𝑥,𝑦,𝑎,𝑏)   𝜃(𝑥,𝑦,𝑎,𝑏)

Proof of Theorem reupr
Dummy variables 𝑐 𝑑 𝑞 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfsbc1v 3731 . . 3 𝑝[𝑞 / 𝑝]𝜓
2 nfsbc1v 3731 . . 3 𝑝[𝑤 / 𝑝]𝜓
3 sbceq1a 3722 . . 3 (𝑝 = 𝑤 → (𝜓[𝑤 / 𝑝]𝜓))
4 dfsbcq 3713 . . 3 (𝑤 = 𝑞 → ([𝑤 / 𝑝]𝜓[𝑞 / 𝑝]𝜓))
51, 2, 3, 4reu8nf 3806 . 2 (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
6 sprel 44824 . . . . . 6 (𝑝 ∈ (Pairs‘𝑋) → ∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏})
7 reupr.a . . . . . . . . . . . . . . 15 (𝑝 = {𝑎, 𝑏} → (𝜓𝜒))
87biimpcd 248 . . . . . . . . . . . . . 14 (𝜓 → (𝑝 = {𝑎, 𝑏} → 𝜒))
98adantr 480 . . . . . . . . . . . . 13 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
109ad2antlr 723 . . . . . . . . . . . 12 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
1110imp 406 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → 𝜒)
12 pm3.22 459 . . . . . . . . . . . . . . . . . . 19 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
1312adantr 480 . . . . . . . . . . . . . . . . . 18 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
14 prelspr 44826 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → {𝑥, 𝑦} ∈ (Pairs‘𝑋))
15 dfsbcq 3713 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → ([𝑞 / 𝑝]𝜓[{𝑥, 𝑦} / 𝑝]𝜓))
16 eqeq2 2750 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → (𝑝 = 𝑞𝑝 = {𝑥, 𝑦}))
1715, 16imbi12d 344 . . . . . . . . . . . . . . . . . . . 20 (𝑞 = {𝑥, 𝑦} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1817adantl 481 . . . . . . . . . . . . . . . . . . 19 (((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) ∧ 𝑞 = {𝑥, 𝑦}) → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1914, 18rspcdv 3543 . . . . . . . . . . . . . . . . . 18 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
2013, 19syl 17 . . . . . . . . . . . . . . . . 17 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
21 zfpair2 5348 . . . . . . . . . . . . . . . . . . . . . . 23 {𝑥, 𝑦} ∈ V
22 reupr.x . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = {𝑥, 𝑦} → (𝜓𝜃))
2321, 22sbcie 3754 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓𝜃)
24 pm2.27 42 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
2523, 24sylbir 234 . . . . . . . . . . . . . . . . . . . . 21 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
26 eqcom 2745 . . . . . . . . . . . . . . . . . . . . 21 ({𝑥, 𝑦} = 𝑝𝑝 = {𝑥, 𝑦})
2725, 26syl6ibr 251 . . . . . . . . . . . . . . . . . . . 20 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → {𝑥, 𝑦} = 𝑝))
2827com12 32 . . . . . . . . . . . . . . . . . . 19 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝜃 → {𝑥, 𝑦} = 𝑝))
29 eqeq2 2750 . . . . . . . . . . . . . . . . . . . . 21 ({𝑎, 𝑏} = 𝑝 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3029eqcoms 2746 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = {𝑎, 𝑏} → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3130imbi2d 340 . . . . . . . . . . . . . . . . . . 19 (𝑝 = {𝑎, 𝑏} → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ (𝜃 → {𝑥, 𝑦} = 𝑝)))
3228, 31syl5ibrcom 246 . . . . . . . . . . . . . . . . . 18 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3332a1d 25 . . . . . . . . . . . . . . . . 17 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
3420, 33syl6 35 . . . . . . . . . . . . . . . 16 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3534expimpd 453 . . . . . . . . . . . . . . 15 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3635expimpd 453 . . . . . . . . . . . . . 14 ((𝑥𝑋𝑦𝑋) → ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3736imp4c 423 . . . . . . . . . . . . 13 ((𝑥𝑋𝑦𝑋) → ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3837impcom 407 . . . . . . . . . . . 12 (((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) ∧ (𝑥𝑋𝑦𝑋)) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
3938ralrimivva 3114 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
4011, 39jca 511 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
4140ex 412 . . . . . . . . 9 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4241reximdvva 3205 . . . . . . . 8 ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4342expcom 413 . . . . . . 7 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4443com13 88 . . . . . 6 (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
456, 44syl 17 . . . . 5 (𝑝 ∈ (Pairs‘𝑋) → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4645impcom 407 . . . 4 ((𝑋𝑉𝑝 ∈ (Pairs‘𝑋)) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4746rexlimdva 3212 . . 3 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
48 prelspr 44826 . . . . . . 7 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
4948adantr 480 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
50 simprl 767 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → 𝜒)
51 nfsbc1v 3731 . . . . . . . . . . . . . . . . . 18 𝑥[𝑐 / 𝑥]𝜃
52 nfv 1918 . . . . . . . . . . . . . . . . . 18 𝑥{𝑐, 𝑦} = {𝑎, 𝑏}
5351, 52nfim 1900 . . . . . . . . . . . . . . . . 17 𝑥([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})
54 nfsbc1v 3731 . . . . . . . . . . . . . . . . . 18 𝑦[𝑑 / 𝑦][𝑐 / 𝑥]𝜃
55 nfv 1918 . . . . . . . . . . . . . . . . . 18 𝑦{𝑐, 𝑑} = {𝑎, 𝑏}
5654, 55nfim 1900 . . . . . . . . . . . . . . . . 17 𝑦([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})
57 sbceq1a 3722 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (𝜃[𝑐 / 𝑥]𝜃))
58 preq1 4666 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑐 → {𝑥, 𝑦} = {𝑐, 𝑦})
5958eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑦} = {𝑎, 𝑏}))
6057, 59imbi12d 344 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑐 → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})))
61 sbceq1a 3722 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ([𝑐 / 𝑥]𝜃[𝑑 / 𝑦][𝑐 / 𝑥]𝜃))
62 preq2 4667 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑑 → {𝑐, 𝑦} = {𝑐, 𝑑})
6362eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ({𝑐, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
6461, 63imbi12d 344 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑑 → (([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6553, 56, 60, 64rspc2 3560 . . . . . . . . . . . . . . . 16 ((𝑐𝑋𝑑𝑋) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6665ad2antlr 723 . . . . . . . . . . . . . . 15 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6722sbcpr 44861 . . . . . . . . . . . . . . . . . 18 ([{𝑐, 𝑑} / 𝑝]𝜓[𝑑 / 𝑦][𝑐 / 𝑥]𝜃)
68 pm2.27 42 . . . . . . . . . . . . . . . . . 18 ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
6967, 68sylbi 216 . . . . . . . . . . . . . . . . 17 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
70 eqcom 2745 . . . . . . . . . . . . . . . . 17 ({𝑎, 𝑏} = {𝑐, 𝑑} ↔ {𝑐, 𝑑} = {𝑎, 𝑏})
7169, 70syl6ibr 251 . . . . . . . . . . . . . . . 16 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑎, 𝑏} = {𝑐, 𝑑}))
7271com12 32 . . . . . . . . . . . . . . 15 (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
7366, 72syl6 35 . . . . . . . . . . . . . 14 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7473expimpd 453 . . . . . . . . . . . . 13 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7574expcom 413 . . . . . . . . . . . 12 ((𝑐𝑋𝑑𝑋) → ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))))
7675impd 410 . . . . . . . . . . 11 ((𝑐𝑋𝑑𝑋) → (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7776impcom 407 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
78 dfsbcq 3713 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓[{𝑐, 𝑑} / 𝑝]𝜓))
79 eqeq2 2750 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ({𝑎, 𝑏} = 𝑞 ↔ {𝑎, 𝑏} = {𝑐, 𝑑}))
8078, 79imbi12d 344 . . . . . . . . . 10 (𝑞 = {𝑐, 𝑑} → (([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞) ↔ ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
8177, 80syl5ibrcom 246 . . . . . . . . 9 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
8281rexlimdvva 3222 . . . . . . . 8 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → (∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
83 sprel 44824 . . . . . . . 8 (𝑞 ∈ (Pairs‘𝑋) → ∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑})
8482, 83impel 505 . . . . . . 7 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ 𝑞 ∈ (Pairs‘𝑋)) → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
8584ralrimiva 3107 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
86 nfv 1918 . . . . . . . 8 𝑝𝜒
87 nfcv 2906 . . . . . . . . 9 𝑝(Pairs‘𝑋)
88 nfv 1918 . . . . . . . . . 10 𝑝{𝑎, 𝑏} = 𝑞
891, 88nfim 1900 . . . . . . . . 9 𝑝([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9087, 89nfralw 3149 . . . . . . . 8 𝑝𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9186, 90nfan 1903 . . . . . . 7 𝑝(𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
92 eqeq1 2742 . . . . . . . . . 10 (𝑝 = {𝑎, 𝑏} → (𝑝 = 𝑞 ↔ {𝑎, 𝑏} = 𝑞))
9392imbi2d 340 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
9493ralbidv 3120 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
957, 94anbi12d 630 . . . . . . 7 (𝑝 = {𝑎, 𝑏} → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))))
9691, 95rspce 3540 . . . . . 6 (({𝑎, 𝑏} ∈ (Pairs‘𝑋) ∧ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9749, 50, 85, 96syl12anc 833 . . . . 5 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9897ex 412 . . . 4 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
9998rexlimdvva 3222 . . 3 (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
10047, 99impbid 211 . 2 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
1015, 100syl5bb 282 1 (𝑋𝑉 → (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  ∃!wreu 3065  [wsbc 3711  {cpr 4560  cfv 6418  Pairscspr 44817
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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  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-reu 3070  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-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-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-spr 44818
This theorem is referenced by:  reuprpr  44863  reuopreuprim  44866
  Copyright terms: Public domain W3C validator