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 46190
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 3798 . . 3 𝑝[𝑞 / 𝑝]𝜓
2 nfsbc1v 3798 . . 3 𝑝[𝑤 / 𝑝]𝜓
3 sbceq1a 3789 . . 3 (𝑝 = 𝑤 → (𝜓[𝑤 / 𝑝]𝜓))
4 dfsbcq 3780 . . 3 (𝑤 = 𝑞 → ([𝑤 / 𝑝]𝜓[𝑞 / 𝑝]𝜓))
51, 2, 3, 4reu8nf 3872 . 2 (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
6 sprel 46152 . . . . . 6 (𝑝 ∈ (Pairs‘𝑋) → ∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏})
7 reupr.a . . . . . . . . . . . . . . 15 (𝑝 = {𝑎, 𝑏} → (𝜓𝜒))
87biimpcd 248 . . . . . . . . . . . . . 14 (𝜓 → (𝑝 = {𝑎, 𝑏} → 𝜒))
98adantr 482 . . . . . . . . . . . . 13 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
109ad2antlr 726 . . . . . . . . . . . 12 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
1110imp 408 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → 𝜒)
12 pm3.22 461 . . . . . . . . . . . . . . . . . . 19 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
1312adantr 482 . . . . . . . . . . . . . . . . . 18 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
14 prelspr 46154 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → {𝑥, 𝑦} ∈ (Pairs‘𝑋))
15 dfsbcq 3780 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → ([𝑞 / 𝑝]𝜓[{𝑥, 𝑦} / 𝑝]𝜓))
16 eqeq2 2745 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → (𝑝 = 𝑞𝑝 = {𝑥, 𝑦}))
1715, 16imbi12d 345 . . . . . . . . . . . . . . . . . . . 20 (𝑞 = {𝑥, 𝑦} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1817adantl 483 . . . . . . . . . . . . . . . . . . 19 (((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) ∧ 𝑞 = {𝑥, 𝑦}) → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1914, 18rspcdv 3605 . . . . . . . . . . . . . . . . . 18 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
2013, 19syl 17 . . . . . . . . . . . . . . . . 17 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
21 zfpair2 5429 . . . . . . . . . . . . . . . . . . . . . . 23 {𝑥, 𝑦} ∈ V
22 reupr.x . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = {𝑥, 𝑦} → (𝜓𝜃))
2321, 22sbcie 3821 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓𝜃)
24 pm2.27 42 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
2523, 24sylbir 234 . . . . . . . . . . . . . . . . . . . . 21 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
26 eqcom 2740 . . . . . . . . . . . . . . . . . . . . 21 ({𝑥, 𝑦} = 𝑝𝑝 = {𝑥, 𝑦})
2725, 26syl6ibr 252 . . . . . . . . . . . . . . . . . . . 20 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → {𝑥, 𝑦} = 𝑝))
2827com12 32 . . . . . . . . . . . . . . . . . . 19 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝜃 → {𝑥, 𝑦} = 𝑝))
29 eqeq2 2745 . . . . . . . . . . . . . . . . . . . . 21 ({𝑎, 𝑏} = 𝑝 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3029eqcoms 2741 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = {𝑎, 𝑏} → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3130imbi2d 341 . . . . . . . . . . . . . . . . . . 19 (𝑝 = {𝑎, 𝑏} → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ (𝜃 → {𝑥, 𝑦} = 𝑝)))
3228, 31syl5ibrcom 246 . . . . . . . . . . . . . . . . . 18 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3332a1d 25 . . . . . . . . . . . . . . . . 17 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
3420, 33syl6 35 . . . . . . . . . . . . . . . 16 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3534expimpd 455 . . . . . . . . . . . . . . 15 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3635expimpd 455 . . . . . . . . . . . . . 14 ((𝑥𝑋𝑦𝑋) → ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3736imp4c 425 . . . . . . . . . . . . 13 ((𝑥𝑋𝑦𝑋) → ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3837impcom 409 . . . . . . . . . . . 12 (((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) ∧ (𝑥𝑋𝑦𝑋)) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
3938ralrimivva 3201 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
4011, 39jca 513 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
4140ex 414 . . . . . . . . 9 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4241reximdvva 3206 . . . . . . . 8 ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4342expcom 415 . . . . . . 7 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4443com13 88 . . . . . 6 (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
456, 44syl 17 . . . . 5 (𝑝 ∈ (Pairs‘𝑋) → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4645impcom 409 . . . 4 ((𝑋𝑉𝑝 ∈ (Pairs‘𝑋)) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4746rexlimdva 3156 . . 3 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
48 prelspr 46154 . . . . . . 7 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
4948adantr 482 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
50 simprl 770 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → 𝜒)
51 nfsbc1v 3798 . . . . . . . . . . . . . . . . . 18 𝑥[𝑐 / 𝑥]𝜃
52 nfv 1918 . . . . . . . . . . . . . . . . . 18 𝑥{𝑐, 𝑦} = {𝑎, 𝑏}
5351, 52nfim 1900 . . . . . . . . . . . . . . . . 17 𝑥([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})
54 nfsbc1v 3798 . . . . . . . . . . . . . . . . . 18 𝑦[𝑑 / 𝑦][𝑐 / 𝑥]𝜃
55 nfv 1918 . . . . . . . . . . . . . . . . . 18 𝑦{𝑐, 𝑑} = {𝑎, 𝑏}
5654, 55nfim 1900 . . . . . . . . . . . . . . . . 17 𝑦([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})
57 sbceq1a 3789 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (𝜃[𝑐 / 𝑥]𝜃))
58 preq1 4738 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑐 → {𝑥, 𝑦} = {𝑐, 𝑦})
5958eqeq1d 2735 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑦} = {𝑎, 𝑏}))
6057, 59imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑐 → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})))
61 sbceq1a 3789 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ([𝑐 / 𝑥]𝜃[𝑑 / 𝑦][𝑐 / 𝑥]𝜃))
62 preq2 4739 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑑 → {𝑐, 𝑦} = {𝑐, 𝑑})
6362eqeq1d 2735 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ({𝑐, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
6461, 63imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑑 → (([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6553, 56, 60, 64rspc2 3621 . . . . . . . . . . . . . . . 16 ((𝑐𝑋𝑑𝑋) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6665ad2antlr 726 . . . . . . . . . . . . . . 15 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6722sbcpr 46189 . . . . . . . . . . . . . . . . . 18 ([{𝑐, 𝑑} / 𝑝]𝜓[𝑑 / 𝑦][𝑐 / 𝑥]𝜃)
68 pm2.27 42 . . . . . . . . . . . . . . . . . 18 ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
6967, 68sylbi 216 . . . . . . . . . . . . . . . . 17 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
70 eqcom 2740 . . . . . . . . . . . . . . . . 17 ({𝑎, 𝑏} = {𝑐, 𝑑} ↔ {𝑐, 𝑑} = {𝑎, 𝑏})
7169, 70syl6ibr 252 . . . . . . . . . . . . . . . 16 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑎, 𝑏} = {𝑐, 𝑑}))
7271com12 32 . . . . . . . . . . . . . . 15 (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
7366, 72syl6 35 . . . . . . . . . . . . . 14 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7473expimpd 455 . . . . . . . . . . . . 13 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7574expcom 415 . . . . . . . . . . . 12 ((𝑐𝑋𝑑𝑋) → ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))))
7675impd 412 . . . . . . . . . . 11 ((𝑐𝑋𝑑𝑋) → (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7776impcom 409 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
78 dfsbcq 3780 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓[{𝑐, 𝑑} / 𝑝]𝜓))
79 eqeq2 2745 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ({𝑎, 𝑏} = 𝑞 ↔ {𝑎, 𝑏} = {𝑐, 𝑑}))
8078, 79imbi12d 345 . . . . . . . . . 10 (𝑞 = {𝑐, 𝑑} → (([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞) ↔ ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
8177, 80syl5ibrcom 246 . . . . . . . . 9 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
8281rexlimdvva 3212 . . . . . . . 8 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → (∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
83 sprel 46152 . . . . . . . 8 (𝑞 ∈ (Pairs‘𝑋) → ∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑})
8482, 83impel 507 . . . . . . 7 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ 𝑞 ∈ (Pairs‘𝑋)) → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
8584ralrimiva 3147 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
86 nfv 1918 . . . . . . . 8 𝑝𝜒
87 nfcv 2904 . . . . . . . . 9 𝑝(Pairs‘𝑋)
88 nfv 1918 . . . . . . . . . 10 𝑝{𝑎, 𝑏} = 𝑞
891, 88nfim 1900 . . . . . . . . 9 𝑝([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9087, 89nfralw 3309 . . . . . . . 8 𝑝𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9186, 90nfan 1903 . . . . . . 7 𝑝(𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
92 eqeq1 2737 . . . . . . . . . 10 (𝑝 = {𝑎, 𝑏} → (𝑝 = 𝑞 ↔ {𝑎, 𝑏} = 𝑞))
9392imbi2d 341 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
9493ralbidv 3178 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
957, 94anbi12d 632 . . . . . . 7 (𝑝 = {𝑎, 𝑏} → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))))
9691, 95rspce 3602 . . . . . 6 (({𝑎, 𝑏} ∈ (Pairs‘𝑋) ∧ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9749, 50, 85, 96syl12anc 836 . . . . 5 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9897ex 414 . . . 4 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
9998rexlimdvva 3212 . . 3 (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
10047, 99impbid 211 . 2 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
1015, 100bitrid 283 1 (𝑋𝑉 → (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wcel 2107  wral 3062  wrex 3071  ∃!wreu 3375  [wsbc 3778  {cpr 4631  cfv 6544  Pairscspr 46145
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ral 3063  df-rex 3072  df-rmo 3377  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-iota 6496  df-fun 6546  df-fv 6552  df-spr 46146
This theorem is referenced by:  reuprpr  46191  reuopreuprim  46194
  Copyright terms: Public domain W3C validator