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 44647
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 3714 . . 3 𝑝[𝑞 / 𝑝]𝜓
2 nfsbc1v 3714 . . 3 𝑝[𝑤 / 𝑝]𝜓
3 sbceq1a 3705 . . 3 (𝑝 = 𝑤 → (𝜓[𝑤 / 𝑝]𝜓))
4 dfsbcq 3696 . . 3 (𝑤 = 𝑞 → ([𝑤 / 𝑝]𝜓[𝑞 / 𝑝]𝜓))
51, 2, 3, 4reu8nf 3789 . 2 (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
6 sprel 44609 . . . . . 6 (𝑝 ∈ (Pairs‘𝑋) → ∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏})
7 reupr.a . . . . . . . . . . . . . . 15 (𝑝 = {𝑎, 𝑏} → (𝜓𝜒))
87biimpcd 252 . . . . . . . . . . . . . 14 (𝜓 → (𝑝 = {𝑎, 𝑏} → 𝜒))
98adantr 484 . . . . . . . . . . . . 13 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
109ad2antlr 727 . . . . . . . . . . . 12 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → 𝜒))
1110imp 410 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → 𝜒)
12 pm3.22 463 . . . . . . . . . . . . . . . . . . 19 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
1312adantr 484 . . . . . . . . . . . . . . . . . 18 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)))
14 prelspr 44611 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → {𝑥, 𝑦} ∈ (Pairs‘𝑋))
15 dfsbcq 3696 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → ([𝑞 / 𝑝]𝜓[{𝑥, 𝑦} / 𝑝]𝜓))
16 eqeq2 2749 . . . . . . . . . . . . . . . . . . . . 21 (𝑞 = {𝑥, 𝑦} → (𝑝 = 𝑞𝑝 = {𝑥, 𝑦}))
1715, 16imbi12d 348 . . . . . . . . . . . . . . . . . . . 20 (𝑞 = {𝑥, 𝑦} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1817adantl 485 . . . . . . . . . . . . . . . . . . 19 (((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) ∧ 𝑞 = {𝑥, 𝑦}) → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
1914, 18rspcdv 3529 . . . . . . . . . . . . . . . . . 18 ((𝑋𝑉 ∧ (𝑥𝑋𝑦𝑋)) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
2013, 19syl 17 . . . . . . . . . . . . . . . . 17 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦})))
21 zfpair2 5323 . . . . . . . . . . . . . . . . . . . . . . 23 {𝑥, 𝑦} ∈ V
22 reupr.x . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = {𝑥, 𝑦} → (𝜓𝜃))
2321, 22sbcie 3737 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓𝜃)
24 pm2.27 42 . . . . . . . . . . . . . . . . . . . . . 22 ([{𝑥, 𝑦} / 𝑝]𝜓 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
2523, 24sylbir 238 . . . . . . . . . . . . . . . . . . . . 21 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → 𝑝 = {𝑥, 𝑦}))
26 eqcom 2744 . . . . . . . . . . . . . . . . . . . . 21 ({𝑥, 𝑦} = 𝑝𝑝 = {𝑥, 𝑦})
2725, 26syl6ibr 255 . . . . . . . . . . . . . . . . . . . 20 (𝜃 → (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → {𝑥, 𝑦} = 𝑝))
2827com12 32 . . . . . . . . . . . . . . . . . . 19 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝜃 → {𝑥, 𝑦} = 𝑝))
29 eqeq2 2749 . . . . . . . . . . . . . . . . . . . . 21 ({𝑎, 𝑏} = 𝑝 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3029eqcoms 2745 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = {𝑎, 𝑏} → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑥, 𝑦} = 𝑝))
3130imbi2d 344 . . . . . . . . . . . . . . . . . . 19 (𝑝 = {𝑎, 𝑏} → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ (𝜃 → {𝑥, 𝑦} = 𝑝)))
3228, 31syl5ibrcom 250 . . . . . . . . . . . . . . . . . 18 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3332a1d 25 . . . . . . . . . . . . . . . . 17 (([{𝑥, 𝑦} / 𝑝]𝜓𝑝 = {𝑥, 𝑦}) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
3420, 33syl6 35 . . . . . . . . . . . . . . . 16 ((((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) ∧ 𝜓) → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3534expimpd 457 . . . . . . . . . . . . . . 15 (((𝑥𝑋𝑦𝑋) ∧ 𝑋𝑉) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3635expimpd 457 . . . . . . . . . . . . . 14 ((𝑥𝑋𝑦𝑋) → ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → ((𝑎𝑋𝑏𝑋) → (𝑝 = {𝑎, 𝑏} → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
3736imp4c 427 . . . . . . . . . . . . 13 ((𝑥𝑋𝑦𝑋) → ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
3837impcom 411 . . . . . . . . . . . 12 (((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) ∧ (𝑥𝑋𝑦𝑋)) → (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
3938ralrimivva 3112 . . . . . . . . . . 11 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))
4011, 39jca 515 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) ∧ 𝑝 = {𝑎, 𝑏}) → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))
4140ex 416 . . . . . . . . 9 (((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) ∧ (𝑎𝑋𝑏𝑋)) → (𝑝 = {𝑎, 𝑏} → (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4241reximdvva 3196 . . . . . . . 8 ((𝑋𝑉 ∧ (𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))) → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4342expcom 417 . . . . . . 7 ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4443com13 88 . . . . . 6 (∃𝑎𝑋𝑏𝑋 𝑝 = {𝑎, 𝑏} → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
456, 44syl 17 . . . . 5 (𝑝 ∈ (Pairs‘𝑋) → (𝑋𝑉 → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})))))
4645impcom 411 . . . 4 ((𝑋𝑉𝑝 ∈ (Pairs‘𝑋)) → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
4746rexlimdva 3203 . . 3 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
48 prelspr 44611 . . . . . . 7 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
4948adantr 484 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → {𝑎, 𝑏} ∈ (Pairs‘𝑋))
50 simprl 771 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → 𝜒)
51 nfsbc1v 3714 . . . . . . . . . . . . . . . . . 18 𝑥[𝑐 / 𝑥]𝜃
52 nfv 1922 . . . . . . . . . . . . . . . . . 18 𝑥{𝑐, 𝑦} = {𝑎, 𝑏}
5351, 52nfim 1904 . . . . . . . . . . . . . . . . 17 𝑥([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})
54 nfsbc1v 3714 . . . . . . . . . . . . . . . . . 18 𝑦[𝑑 / 𝑦][𝑐 / 𝑥]𝜃
55 nfv 1922 . . . . . . . . . . . . . . . . . 18 𝑦{𝑐, 𝑑} = {𝑎, 𝑏}
5654, 55nfim 1904 . . . . . . . . . . . . . . . . 17 𝑦([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})
57 sbceq1a 3705 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (𝜃[𝑐 / 𝑥]𝜃))
58 preq1 4649 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑐 → {𝑥, 𝑦} = {𝑐, 𝑦})
5958eqeq1d 2739 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → ({𝑥, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑦} = {𝑎, 𝑏}))
6057, 59imbi12d 348 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑐 → ((𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏})))
61 sbceq1a 3705 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ([𝑐 / 𝑥]𝜃[𝑑 / 𝑦][𝑐 / 𝑥]𝜃))
62 preq2 4650 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑑 → {𝑐, 𝑦} = {𝑐, 𝑑})
6362eqeq1d 2739 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ({𝑐, 𝑦} = {𝑎, 𝑏} ↔ {𝑐, 𝑑} = {𝑎, 𝑏}))
6461, 63imbi12d 348 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑑 → (([𝑐 / 𝑥]𝜃 → {𝑐, 𝑦} = {𝑎, 𝑏}) ↔ ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6553, 56, 60, 64rspc2 3545 . . . . . . . . . . . . . . . 16 ((𝑐𝑋𝑑𝑋) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6665ad2antlr 727 . . . . . . . . . . . . . . 15 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏})))
6722sbcpr 44646 . . . . . . . . . . . . . . . . . 18 ([{𝑐, 𝑑} / 𝑝]𝜓[𝑑 / 𝑦][𝑐 / 𝑥]𝜃)
68 pm2.27 42 . . . . . . . . . . . . . . . . . 18 ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
6967, 68sylbi 220 . . . . . . . . . . . . . . . . 17 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑐, 𝑑} = {𝑎, 𝑏}))
70 eqcom 2744 . . . . . . . . . . . . . . . . 17 ({𝑎, 𝑏} = {𝑐, 𝑑} ↔ {𝑐, 𝑑} = {𝑎, 𝑏})
7169, 70syl6ibr 255 . . . . . . . . . . . . . . . 16 ([{𝑐, 𝑑} / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → {𝑎, 𝑏} = {𝑐, 𝑑}))
7271com12 32 . . . . . . . . . . . . . . 15 (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → {𝑐, 𝑑} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
7366, 72syl6 35 . . . . . . . . . . . . . 14 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7473expimpd 457 . . . . . . . . . . . . 13 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝑐𝑋𝑑𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7574expcom 417 . . . . . . . . . . . 12 ((𝑐𝑋𝑑𝑋) → ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))))
7675impd 414 . . . . . . . . . . 11 ((𝑐𝑋𝑑𝑋) → (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
7776impcom 411 . . . . . . . . . 10 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑}))
78 dfsbcq 3696 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓[{𝑐, 𝑑} / 𝑝]𝜓))
79 eqeq2 2749 . . . . . . . . . . 11 (𝑞 = {𝑐, 𝑑} → ({𝑎, 𝑏} = 𝑞 ↔ {𝑎, 𝑏} = {𝑐, 𝑑}))
8078, 79imbi12d 348 . . . . . . . . . 10 (𝑞 = {𝑐, 𝑑} → (([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞) ↔ ([{𝑐, 𝑑} / 𝑝]𝜓 → {𝑎, 𝑏} = {𝑐, 𝑑})))
8177, 80syl5ibrcom 250 . . . . . . . . 9 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ (𝑐𝑋𝑑𝑋)) → (𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
8281rexlimdvva 3213 . . . . . . . 8 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → (∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑} → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
83 sprel 44609 . . . . . . . 8 (𝑞 ∈ (Pairs‘𝑋) → ∃𝑐𝑋𝑑𝑋 𝑞 = {𝑐, 𝑑})
8482, 83impel 509 . . . . . . 7 ((((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) ∧ 𝑞 ∈ (Pairs‘𝑋)) → ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
8584ralrimiva 3105 . . . . . 6 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
86 nfv 1922 . . . . . . . 8 𝑝𝜒
87 nfcv 2904 . . . . . . . . 9 𝑝(Pairs‘𝑋)
88 nfv 1922 . . . . . . . . . 10 𝑝{𝑎, 𝑏} = 𝑞
891, 88nfim 1904 . . . . . . . . 9 𝑝([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9087, 89nfralw 3147 . . . . . . . 8 𝑝𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)
9186, 90nfan 1907 . . . . . . 7 𝑝(𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))
92 eqeq1 2741 . . . . . . . . . 10 (𝑝 = {𝑎, 𝑏} → (𝑝 = 𝑞 ↔ {𝑎, 𝑏} = 𝑞))
9392imbi2d 344 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
9493ralbidv 3118 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → (∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞)))
957, 94anbi12d 634 . . . . . . 7 (𝑝 = {𝑎, 𝑏} → ((𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))))
9691, 95rspce 3526 . . . . . 6 (({𝑎, 𝑏} ∈ (Pairs‘𝑋) ∧ (𝜒 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓 → {𝑎, 𝑏} = 𝑞))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9749, 50, 85, 96syl12anc 837 . . . . 5 (((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9897ex 416 . . . 4 ((𝑋𝑉 ∧ (𝑎𝑋𝑏𝑋)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
9998rexlimdvva 3213 . . 3 (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏})) → ∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
10047, 99impbid 215 . 2 (𝑋𝑉 → (∃𝑝 ∈ (Pairs‘𝑋)(𝜓 ∧ ∀𝑞 ∈ (Pairs‘𝑋)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
1015, 100syl5bb 286 1 (𝑋𝑉 → (∃!𝑝 ∈ (Pairs‘𝑋)𝜓 ↔ ∃𝑎𝑋𝑏𝑋 (𝜒 ∧ ∀𝑥𝑋𝑦𝑋 (𝜃 → {𝑥, 𝑦} = {𝑎, 𝑏}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  wral 3061  wrex 3062  ∃!wreu 3063  [wsbc 3694  {cpr 4543  cfv 6380  Pairscspr 44602
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-spr 44603
This theorem is referenced by:  reuprpr  44648  reuopreuprim  44651
  Copyright terms: Public domain W3C validator