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 44974
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 3736 . . 3 𝑝[𝑞 / 𝑝]𝜓
2 nfsbc1v 3736 . . 3 𝑝[𝑤 / 𝑝]𝜓
3 sbceq1a 3727 . . 3 (𝑝 = 𝑤 → (𝜓[𝑤 / 𝑝]𝜓))
4 dfsbcq 3718 . . 3 (𝑤 = 𝑞 → ([𝑤 / 𝑝]𝜓[𝑞 / 𝑝]𝜓))
51, 2, 3, 4reu8nf 3810 . 2 (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
6 sprel 44936 . . . . . 6 (𝑝 ∈ (Pairs‘𝑋) → ∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏})
7 reupr.a . . . . . . . . . . . . . . 15 (𝑝 = {𝑎, 𝑏} → (𝜓𝜒))
87biimpcd 248 . . . . . . . . . . . . . 14 (𝜓 → (𝑝 = {𝑎, 𝑏} → 𝜒))
98adantr 481 . . . . . . . . . . . . 13 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
109ad2antlr 724 . . . . . . . . . . . 12 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
1110imp 407 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → 𝜒)
12 pm3.22 460 . . . . . . . . . . . . . . . . . . 19 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
1312adantr 481 . . . . . . . . . . . . . . . . . 18 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
14 prelspr 44938 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → {𝑥, 𝑦} ∈ (Pairs‘𝑋))
15 dfsbcq 3718 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → ([𝑞 / 𝑝]𝜓[{𝑥, 𝑦} / 𝑝]𝜓))
16 eqeq2 2750 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → (𝑝 = 𝑞𝑝 = {𝑥, 𝑦}))
1715, 16imbi12d 345 . . . . . . . . . . . . . . . . . . . 20 (𝑞 = {𝑥, 𝑦} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1817adantl 482 . . . . . . . . . . . . . . . . . . 19 (((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) ∧ 𝑞 = {𝑥, 𝑦}) → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1914, 18rspcdv 3553 . . . . . . . . . . . . . . . . . 18 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
2013, 19syl 17 . . . . . . . . . . . . . . . . 17 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
21 zfpair2 5353 . . . . . . . . . . . . . . . . . . . . . . 23 {𝑥, 𝑦} ∈ V
22 reupr.x . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = {𝑥, 𝑦} → (𝜓𝜃))
2321, 22sbcie 3759 . . . . . . . . . . . . . . . . . . . . . 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 341 . . . . . . . . . . . . . . . . . . 19 (𝑝 = {𝑎, 𝑏} → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ (𝜃 → {𝑥, 𝑦} = 𝑝)))
3228, 31syl5ibrcom 246 . . . . . . . . . . . . . . . . . 18 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3332a1d 25 . . . . . . . . . . . . . . . . 17 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
3420, 33syl6 35 . . . . . . . . . . . . . . . 16 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3534expimpd 454 . . . . . . . . . . . . . . 15 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3635expimpd 454 . . . . . . . . . . . . . 14 ((𝑥𝑋𝑦𝑋) → ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3736imp4c 424 . . . . . . . . . . . . 13 ((𝑥𝑋𝑦𝑋) → ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3837impcom 408 . . . . . . . . . . . 12 (((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) ∧ (𝑥𝑋𝑦𝑋)) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
3938ralrimivva 3123 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
4011, 39jca 512 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
4140ex 413 . . . . . . . . 9 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4241reximdvva 3206 . . . . . . . 8 ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4342expcom 414 . . . . . . 7 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4443com13 88 . . . . . 6 (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
456, 44syl 17 . . . . 5 (𝑝 ∈ (Pairs‘𝑋) → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4645impcom 408 . . . 4 ((𝑋𝑉𝑝 ∈ (Pairs‘𝑋)) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4746rexlimdva 3213 . . 3 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
48 prelspr 44938 . . . . . . 7 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
4948adantr 481 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
50 simprl 768 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → 𝜒)
51 nfsbc1v 3736 . . . . . . . . . . . . . . . . . 18 𝑥[𝑐 / 𝑥]𝜃
52 nfv 1917 . . . . . . . . . . . . . . . . . 18 𝑥{𝑐, 𝑦} = {𝑎, 𝑏}
5351, 52nfim 1899 . . . . . . . . . . . . . . . . 17 𝑥([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})
54 nfsbc1v 3736 . . . . . . . . . . . . . . . . . 18 𝑦[𝑑 / 𝑦][𝑐 / 𝑥]𝜃
55 nfv 1917 . . . . . . . . . . . . . . . . . 18 𝑦{𝑐, 𝑑} = {𝑎, 𝑏}
5654, 55nfim 1899 . . . . . . . . . . . . . . . . 17 𝑦([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})
57 sbceq1a 3727 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (𝜃[𝑐 / 𝑥]𝜃))
58 preq1 4669 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑐 → {𝑥, 𝑦} = {𝑐, 𝑦})
5958eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑦} = {𝑎, 𝑏}))
6057, 59imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑐 → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})))
61 sbceq1a 3727 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ([𝑐 / 𝑥]𝜃[𝑑 / 𝑦][𝑐 / 𝑥]𝜃))
62 preq2 4670 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑑 → {𝑐, 𝑦} = {𝑐, 𝑑})
6362eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ({𝑐, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
6461, 63imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑑 → (([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6553, 56, 60, 64rspc2 3568 . . . . . . . . . . . . . . . 16 ((𝑐𝑋𝑑𝑋) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6665ad2antlr 724 . . . . . . . . . . . . . . 15 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6722sbcpr 44973 . . . . . . . . . . . . . . . . . 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 454 . . . . . . . . . . . . 13 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7574expcom 414 . . . . . . . . . . . 12 ((𝑐𝑋𝑑𝑋) → ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))))
7675impd 411 . . . . . . . . . . 11 ((𝑐𝑋𝑑𝑋) → (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7776impcom 408 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
78 dfsbcq 3718 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓[{𝑐, 𝑑} / 𝑝]𝜓))
79 eqeq2 2750 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ({𝑎, 𝑏} = 𝑞 ↔ {𝑎, 𝑏} = {𝑐, 𝑑}))
8078, 79imbi12d 345 . . . . . . . . . 10 (𝑞 = {𝑐, 𝑑} → (([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞) ↔ ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
8177, 80syl5ibrcom 246 . . . . . . . . 9 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
8281rexlimdvva 3223 . . . . . . . 8 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → (∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
83 sprel 44936 . . . . . . . 8 (𝑞 ∈ (Pairs‘𝑋) → ∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑})
8482, 83impel 506 . . . . . . 7 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ 𝑞 ∈ (Pairs‘𝑋)) → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
8584ralrimiva 3103 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
86 nfv 1917 . . . . . . . 8 𝑝𝜒
87 nfcv 2907 . . . . . . . . 9 𝑝(Pairs‘𝑋)
88 nfv 1917 . . . . . . . . . 10 𝑝{𝑎, 𝑏} = 𝑞
891, 88nfim 1899 . . . . . . . . 9 𝑝([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9087, 89nfralw 3151 . . . . . . . 8 𝑝𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9186, 90nfan 1902 . . . . . . 7 𝑝(𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
92 eqeq1 2742 . . . . . . . . . 10 (𝑝 = {𝑎, 𝑏} → (𝑝 = 𝑞 ↔ {𝑎, 𝑏} = 𝑞))
9392imbi2d 341 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
9493ralbidv 3112 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
957, 94anbi12d 631 . . . . . . 7 (𝑝 = {𝑎, 𝑏} → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))))
9691, 95rspce 3550 . . . . . 6 (({𝑎, 𝑏} ∈ (Pairs‘𝑋) ∧ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9749, 50, 85, 96syl12anc 834 . . . . 5 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9897ex 413 . . . 4 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
9998rexlimdvva 3223 . . 3 (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
10047, 99impbid 211 . 2 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
1015, 100syl5bb 283 1 (𝑋𝑉 → (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  wrex 3065  ∃!wreu 3066  [wsbc 3716  {cpr 4563  cfv 6433  Pairscspr 44929
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-spr 44930
This theorem is referenced by:  reuprpr  44975  reuopreuprim  44978
  Copyright terms: Public domain W3C validator