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

Theorem ichreuopeq 44813
Description: If the setvar variables are interchangeable in a wff, and there is a unique ordered pair fulfilling the wff, then both setvar variables must be equal. (Contributed by AV, 28-Aug-2023.)
Assertion
Ref Expression
ichreuopeq ([𝑎𝑏]𝜑 → (∃!𝑝 ∈ (𝑋 × 𝑋)∃𝑎𝑏(𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
Distinct variable groups:   𝑋,𝑎,𝑏,𝑝   𝜑,𝑝
Allowed substitution hints:   𝜑(𝑎,𝑏)

Proof of Theorem ichreuopeq
Dummy variables 𝑣 𝑤 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq1 2742 . . . . 5 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝑝 = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))
21anbi1d 629 . . . 4 (𝑝 = ⟨𝑥, 𝑦⟩ → ((𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
322exbidv 1928 . . 3 (𝑝 = ⟨𝑥, 𝑦⟩ → (∃𝑎𝑏(𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ ∃𝑎𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
4 eqeq1 2742 . . . . 5 (𝑝 = ⟨𝑣, 𝑤⟩ → (𝑝 = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩))
54anbi1d 629 . . . 4 (𝑝 = ⟨𝑣, 𝑤⟩ → ((𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ (⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
652exbidv 1928 . . 3 (𝑝 = ⟨𝑣, 𝑤⟩ → (∃𝑎𝑏(𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ ∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
73, 6reuop 6185 . 2 (∃!𝑝 ∈ (𝑋 × 𝑋)∃𝑎𝑏(𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ ∃𝑥𝑋𝑦𝑋 (∃𝑎𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ∧ ∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)))
8 nfich1 44787 . . . . . 6 𝑎[𝑎𝑏]𝜑
9 nfv 1918 . . . . . 6 𝑎(𝑥𝑋𝑦𝑋)
108, 9nfan 1903 . . . . 5 𝑎([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋))
11 nfcv 2906 . . . . . . 7 𝑎𝑋
12 nfe1 2149 . . . . . . . . 9 𝑎𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)
13 nfv 1918 . . . . . . . . 9 𝑎𝑣, 𝑤⟩ = ⟨𝑥, 𝑦
1412, 13nfim 1900 . . . . . . . 8 𝑎(∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
1511, 14nfralw 3149 . . . . . . 7 𝑎𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
1611, 15nfralw 3149 . . . . . 6 𝑎𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
17 nfe1 2149 . . . . . 6 𝑎𝑎𝑏(𝑎 = 𝑏𝜑)
1816, 17nfim 1900 . . . . 5 𝑎(∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))
19 nfich2 44788 . . . . . . 7 𝑏[𝑎𝑏]𝜑
20 nfv 1918 . . . . . . 7 𝑏(𝑥𝑋𝑦𝑋)
2119, 20nfan 1903 . . . . . 6 𝑏([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋))
22 nfcv 2906 . . . . . . . 8 𝑏𝑋
23 nfe1 2149 . . . . . . . . . . 11 𝑏𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)
2423nfex 2322 . . . . . . . . . 10 𝑏𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)
25 nfv 1918 . . . . . . . . . 10 𝑏𝑣, 𝑤⟩ = ⟨𝑥, 𝑦
2624, 25nfim 1900 . . . . . . . . 9 𝑏(∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
2722, 26nfralw 3149 . . . . . . . 8 𝑏𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
2822, 27nfralw 3149 . . . . . . 7 𝑏𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
29 nfe1 2149 . . . . . . . 8 𝑏𝑏(𝑎 = 𝑏𝜑)
3029nfex 2322 . . . . . . 7 𝑏𝑎𝑏(𝑎 = 𝑏𝜑)
3128, 30nfim 1900 . . . . . 6 𝑏(∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))
32 opeq12 4803 . . . . . . . . . . . . . 14 ((𝑣 = 𝑦𝑤 = 𝑥) → ⟨𝑣, 𝑤⟩ = ⟨𝑦, 𝑥⟩)
3332eqeq1d 2740 . . . . . . . . . . . . 13 ((𝑣 = 𝑦𝑤 = 𝑥) → (⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩))
3433anbi1d 629 . . . . . . . . . . . 12 ((𝑣 = 𝑦𝑤 = 𝑥) → ((⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ (⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
35342exbidv 1928 . . . . . . . . . . 11 ((𝑣 = 𝑦𝑤 = 𝑥) → (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ ∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
3632eqeq1d 2740 . . . . . . . . . . 11 ((𝑣 = 𝑦𝑤 = 𝑥) → (⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩))
3735, 36imbi12d 344 . . . . . . . . . 10 ((𝑣 = 𝑦𝑤 = 𝑥) → ((∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) ↔ (∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩)))
3837rspc2gv 3561 . . . . . . . . 9 ((𝑦𝑋𝑥𝑋) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → (∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩)))
3938ancoms 458 . . . . . . . 8 ((𝑥𝑋𝑦𝑋) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → (∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩)))
4039adantl 481 . . . . . . 7 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → (∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩)))
41 simprr 769 . . . . . . . . . . 11 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → 𝑦𝑋)
4241adantr 480 . . . . . . . . . 10 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → 𝑦𝑋)
43 simpl 482 . . . . . . . . . . . . 13 ((𝑥𝑋𝑦𝑋) → 𝑥𝑋)
4443adantl 481 . . . . . . . . . . . 12 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → 𝑥𝑋)
4544adantr 480 . . . . . . . . . . 11 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → 𝑥𝑋)
46 eqidd 2739 . . . . . . . . . . . 12 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → ⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩)
47 vex 3426 . . . . . . . . . . . . . . . . 17 𝑥 ∈ V
48 vex 3426 . . . . . . . . . . . . . . . . 17 𝑦 ∈ V
4947, 48opth 5385 . . . . . . . . . . . . . . . 16 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ (𝑥 = 𝑎𝑦 = 𝑏))
50 sbceq1a 3722 . . . . . . . . . . . . . . . . . . 19 (𝑏 = 𝑦 → (𝜑[𝑦 / 𝑏]𝜑))
5150equcoms 2024 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑏 → (𝜑[𝑦 / 𝑏]𝜑))
52 sbceq1a 3722 . . . . . . . . . . . . . . . . . . 19 (𝑎 = 𝑥 → ([𝑦 / 𝑏]𝜑[𝑥 / 𝑎][𝑦 / 𝑏]𝜑))
5352equcoms 2024 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → ([𝑦 / 𝑏]𝜑[𝑥 / 𝑎][𝑦 / 𝑏]𝜑))
5451, 53sylan9bbr 510 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑎𝑦 = 𝑏) → (𝜑[𝑥 / 𝑎][𝑦 / 𝑏]𝜑))
55 dfich2 44798 . . . . . . . . . . . . . . . . . . . . 21 ([𝑎𝑏]𝜑 ↔ ∀𝑥𝑦([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 ↔ [𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
56 2sp 2181 . . . . . . . . . . . . . . . . . . . . . 22 (∀𝑥𝑦([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 ↔ [𝑦 / 𝑎][𝑥 / 𝑏]𝜑) → ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 ↔ [𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
57 sbsbc 3715 . . . . . . . . . . . . . . . . . . . . . . . 24 ([𝑦 / 𝑏]𝜑[𝑦 / 𝑏]𝜑)
5857sbbii 2080 . . . . . . . . . . . . . . . . . . . . . . 23 ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 ↔ [𝑥 / 𝑎][𝑦 / 𝑏]𝜑)
59 sbsbc 3715 . . . . . . . . . . . . . . . . . . . . . . 23 ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑥 / 𝑎][𝑦 / 𝑏]𝜑)
6058, 59bitri 274 . . . . . . . . . . . . . . . . . . . . . 22 ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑥 / 𝑎][𝑦 / 𝑏]𝜑)
61 sbsbc 3715 . . . . . . . . . . . . . . . . . . . . . . . 24 ([𝑥 / 𝑏]𝜑[𝑥 / 𝑏]𝜑)
6261sbbii 2080 . . . . . . . . . . . . . . . . . . . . . . 23 ([𝑦 / 𝑎][𝑥 / 𝑏]𝜑 ↔ [𝑦 / 𝑎][𝑥 / 𝑏]𝜑)
63 sbsbc 3715 . . . . . . . . . . . . . . . . . . . . . . 23 ([𝑦 / 𝑎][𝑥 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑)
6462, 63bitri 274 . . . . . . . . . . . . . . . . . . . . . 22 ([𝑦 / 𝑎][𝑥 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑)
6556, 60, 643bitr3g 312 . . . . . . . . . . . . . . . . . . . . 21 (∀𝑥𝑦([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 ↔ [𝑦 / 𝑎][𝑥 / 𝑏]𝜑) → ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
6655, 65sylbi 216 . . . . . . . . . . . . . . . . . . . 20 ([𝑎𝑏]𝜑 → ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
6766biimpd 228 . . . . . . . . . . . . . . . . . . 19 ([𝑎𝑏]𝜑 → ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
6867adantr 480 . . . . . . . . . . . . . . . . . 18 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
6968com12 32 . . . . . . . . . . . . . . . . 17 ([𝑥 / 𝑎][𝑦 / 𝑏]𝜑 → (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → [𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
7054, 69syl6bi 252 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑎𝑦 = 𝑏) → (𝜑 → (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → [𝑦 / 𝑎][𝑥 / 𝑏]𝜑)))
7149, 70sylbi 216 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ → (𝜑 → (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → [𝑦 / 𝑎][𝑥 / 𝑏]𝜑)))
7271imp 406 . . . . . . . . . . . . . 14 ((⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → [𝑦 / 𝑎][𝑥 / 𝑏]𝜑))
7372impcom 407 . . . . . . . . . . . . 13 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → [𝑦 / 𝑎][𝑥 / 𝑏]𝜑)
74 sbccom 3800 . . . . . . . . . . . . 13 ([𝑥 / 𝑏][𝑦 / 𝑎]𝜑[𝑦 / 𝑎][𝑥 / 𝑏]𝜑)
7573, 74sylibr 233 . . . . . . . . . . . 12 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → [𝑥 / 𝑏][𝑦 / 𝑎]𝜑)
7646, 75jca 511 . . . . . . . . . . 11 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → (⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩ ∧ [𝑥 / 𝑏][𝑦 / 𝑎]𝜑))
77 nfcv 2906 . . . . . . . . . . . 12 𝑏𝑥
78 nfv 1918 . . . . . . . . . . . . 13 𝑏𝑦, 𝑥⟩ = ⟨𝑦, 𝑥
79 nfsbc1v 3731 . . . . . . . . . . . . 13 𝑏[𝑥 / 𝑏][𝑦 / 𝑎]𝜑
8078, 79nfan 1903 . . . . . . . . . . . 12 𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩ ∧ [𝑥 / 𝑏][𝑦 / 𝑎]𝜑)
81 opeq2 4802 . . . . . . . . . . . . . 14 (𝑏 = 𝑥 → ⟨𝑦, 𝑏⟩ = ⟨𝑦, 𝑥⟩)
8281eqeq2d 2749 . . . . . . . . . . . . 13 (𝑏 = 𝑥 → (⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ↔ ⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩))
83 sbceq1a 3722 . . . . . . . . . . . . 13 (𝑏 = 𝑥 → ([𝑦 / 𝑎]𝜑[𝑥 / 𝑏][𝑦 / 𝑎]𝜑))
8482, 83anbi12d 630 . . . . . . . . . . . 12 (𝑏 = 𝑥 → ((⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑) ↔ (⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩ ∧ [𝑥 / 𝑏][𝑦 / 𝑎]𝜑)))
8577, 80, 84spcegf 3521 . . . . . . . . . . 11 (𝑥𝑋 → ((⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑥⟩ ∧ [𝑥 / 𝑏][𝑦 / 𝑎]𝜑) → ∃𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑)))
8645, 76, 85sylc 65 . . . . . . . . . 10 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → ∃𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑))
87 nfcv 2906 . . . . . . . . . . 11 𝑎𝑦
88 nfv 1918 . . . . . . . . . . . . 13 𝑎𝑦, 𝑥⟩ = ⟨𝑦, 𝑏
89 nfsbc1v 3731 . . . . . . . . . . . . 13 𝑎[𝑦 / 𝑎]𝜑
9088, 89nfan 1903 . . . . . . . . . . . 12 𝑎(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑)
9190nfex 2322 . . . . . . . . . . 11 𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑)
92 opeq1 4801 . . . . . . . . . . . . . 14 (𝑎 = 𝑦 → ⟨𝑎, 𝑏⟩ = ⟨𝑦, 𝑏⟩)
9392eqeq2d 2749 . . . . . . . . . . . . 13 (𝑎 = 𝑦 → (⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩))
94 sbceq1a 3722 . . . . . . . . . . . . 13 (𝑎 = 𝑦 → (𝜑[𝑦 / 𝑎]𝜑))
9593, 94anbi12d 630 . . . . . . . . . . . 12 (𝑎 = 𝑦 → ((⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ (⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑)))
9695exbidv 1925 . . . . . . . . . . 11 (𝑎 = 𝑦 → (∃𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ↔ ∃𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑)))
9787, 91, 96spcegf 3521 . . . . . . . . . 10 (𝑦𝑋 → (∃𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑦, 𝑏⟩ ∧ [𝑦 / 𝑎]𝜑) → ∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)))
9842, 86, 97sylc 65 . . . . . . . . 9 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → ∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑))
99 simpl 482 . . . . . . . . . . . . . . . . . . . 20 ((𝑦 = 𝑥 ∧ (𝑥 = 𝑎𝑦 = 𝑏)) → 𝑦 = 𝑥)
100 simprr 769 . . . . . . . . . . . . . . . . . . . 20 ((𝑦 = 𝑥 ∧ (𝑥 = 𝑎𝑦 = 𝑏)) → 𝑦 = 𝑏)
101 simpl 482 . . . . . . . . . . . . . . . . . . . . 21 ((𝑥 = 𝑎𝑦 = 𝑏) → 𝑥 = 𝑎)
102101adantl 481 . . . . . . . . . . . . . . . . . . . 20 ((𝑦 = 𝑥 ∧ (𝑥 = 𝑎𝑦 = 𝑏)) → 𝑥 = 𝑎)
10399, 100, 1023eqtr3rd 2787 . . . . . . . . . . . . . . . . . . 19 ((𝑦 = 𝑥 ∧ (𝑥 = 𝑎𝑦 = 𝑏)) → 𝑎 = 𝑏)
104103anim1i 614 . . . . . . . . . . . . . . . . . 18 (((𝑦 = 𝑥 ∧ (𝑥 = 𝑎𝑦 = 𝑏)) ∧ 𝜑) → (𝑎 = 𝑏𝜑))
105104exp31 419 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑥 → ((𝑥 = 𝑎𝑦 = 𝑏) → (𝜑 → (𝑎 = 𝑏𝜑))))
10649, 105syl5bi 241 . . . . . . . . . . . . . . . 16 (𝑦 = 𝑥 → (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ → (𝜑 → (𝑎 = 𝑏𝜑))))
107106impd 410 . . . . . . . . . . . . . . 15 (𝑦 = 𝑥 → ((⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (𝑎 = 𝑏𝜑)))
10848, 47opth1 5384 . . . . . . . . . . . . . . 15 (⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩ → 𝑦 = 𝑥)
109107, 108syl11 33 . . . . . . . . . . . . . 14 ((⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩ → (𝑎 = 𝑏𝜑)))
110109adantl 481 . . . . . . . . . . . . 13 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → (⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩ → (𝑎 = 𝑏𝜑)))
111110imp 406 . . . . . . . . . . . 12 (((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) ∧ ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩) → (𝑎 = 𝑏𝜑))
11211119.8ad 2177 . . . . . . . . . . 11 (((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) ∧ ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑏(𝑎 = 𝑏𝜑))
11311219.8ad 2177 . . . . . . . . . 10 (((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) ∧ ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))
114113ex 412 . . . . . . . . 9 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → (⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩ → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
11598, 114embantd 59 . . . . . . . 8 ((([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) ∧ (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑)) → ((∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
116115ex 412 . . . . . . 7 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → ((⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ((∃𝑎𝑏(⟨𝑦, 𝑥⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑦, 𝑥⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))))
11740, 116syl5d 73 . . . . . 6 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → ((⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))))
11821, 31, 117exlimd 2214 . . . . 5 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → (∃𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))))
11910, 18, 118exlimd 2214 . . . 4 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → (∃𝑎𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → (∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩) → ∃𝑎𝑏(𝑎 = 𝑏𝜑))))
120119impd 410 . . 3 (([𝑎𝑏]𝜑 ∧ (𝑥𝑋𝑦𝑋)) → ((∃𝑎𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ∧ ∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)) → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
121120rexlimdvva 3222 . 2 ([𝑎𝑏]𝜑 → (∃𝑥𝑋𝑦𝑋 (∃𝑎𝑏(⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) ∧ ∀𝑣𝑋𝑤𝑋 (∃𝑎𝑏(⟨𝑣, 𝑤⟩ = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑦⟩)) → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
1227, 121syl5bi 241 1 ([𝑎𝑏]𝜑 → (∃!𝑝 ∈ (𝑋 × 𝑋)∃𝑎𝑏(𝑝 = ⟨𝑎, 𝑏⟩ ∧ 𝜑) → ∃𝑎𝑏(𝑎 = 𝑏𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  [wsb 2068  wcel 2108  wral 3063  wrex 3064  ∃!wreu 3065  [wsbc 3711  cop 4564   × cxp 5578  [wich 44785
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-pr 5347
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-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-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-xp 5586  df-ich 44786
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator