MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  reuop Structured version   Visualization version   GIF version

Theorem reuop 6196
Description: There is a unique ordered pair fulfilling a wff iff there are uniquely two sets fulfilling a corresponding wff. (Contributed by AV, 23-Jun-2023.)
Hypotheses
Ref Expression
reu3op.a (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜓𝜒))
reuop.x (𝑝 = ⟨𝑥, 𝑦⟩ → (𝜓𝜃))
Assertion
Ref Expression
reuop (∃!𝑝 ∈ (𝑋 × 𝑌)𝜓 ↔ ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
Distinct variable groups:   𝑋,𝑎,𝑏,𝑝,𝑥,𝑦   𝑌,𝑎,𝑏,𝑝,𝑥,𝑦   𝜓,𝑎,𝑏,𝑥,𝑦   𝜒,𝑝   𝜃,𝑝
Allowed substitution hints:   𝜓(𝑝)   𝜒(𝑥,𝑦,𝑎,𝑏)   𝜃(𝑥,𝑦,𝑎,𝑏)

Proof of Theorem reuop
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 (∃!𝑝 ∈ (𝑋 × 𝑌)𝜓 ↔ ∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
6 elxp2 5613 . . . . 5 (𝑝 ∈ (𝑋 × 𝑌) ↔ ∃𝑎𝑋𝑏𝑌 𝑝 = ⟨𝑎, 𝑏⟩)
7 reu3op.a . . . . . . . . . . . . 13 (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜓𝜒))
87biimpcd 248 . . . . . . . . . . . 12 (𝜓 → (𝑝 = ⟨𝑎, 𝑏⟩ → 𝜒))
98adantr 481 . . . . . . . . . . 11 ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (𝑝 = ⟨𝑎, 𝑏⟩ → 𝜒))
109adantr 481 . . . . . . . . . 10 (((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) → (𝑝 = ⟨𝑎, 𝑏⟩ → 𝜒))
1110imp 407 . . . . . . . . 9 ((((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) ∧ 𝑝 = ⟨𝑎, 𝑏⟩) → 𝜒)
12 opelxpi 5626 . . . . . . . . . . . . . . . 16 ((𝑥𝑋𝑦𝑌) → ⟨𝑥, 𝑦⟩ ∈ (𝑋 × 𝑌))
13 dfsbcq 3718 . . . . . . . . . . . . . . . . . 18 (𝑞 = ⟨𝑥, 𝑦⟩ → ([𝑞 / 𝑝]𝜓[𝑥, 𝑦⟩ / 𝑝]𝜓))
14 eqeq2 2750 . . . . . . . . . . . . . . . . . 18 (𝑞 = ⟨𝑥, 𝑦⟩ → (𝑝 = 𝑞𝑝 = ⟨𝑥, 𝑦⟩))
1513, 14imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑞 = ⟨𝑥, 𝑦⟩ → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩)))
1615adantl 482 . . . . . . . . . . . . . . . 16 (((𝑥𝑋𝑦𝑌) ∧ 𝑞 = ⟨𝑥, 𝑦⟩) → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩)))
1712, 16rspcdv 3553 . . . . . . . . . . . . . . 15 ((𝑥𝑋𝑦𝑌) → (∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩)))
1817adantr 481 . . . . . . . . . . . . . 14 (((𝑥𝑋𝑦𝑌) ∧ 𝜓) → (∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩)))
19 opex 5379 . . . . . . . . . . . . . . . . . . . 20 𝑥, 𝑦⟩ ∈ V
20 reuop.x . . . . . . . . . . . . . . . . . . . 20 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝜓𝜃))
2119, 20sbcie 3759 . . . . . . . . . . . . . . . . . . 19 ([𝑥, 𝑦⟩ / 𝑝]𝜓𝜃)
22 pm2.27 42 . . . . . . . . . . . . . . . . . . 19 ([𝑥, 𝑦⟩ / 𝑝]𝜓 → (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → 𝑝 = ⟨𝑥, 𝑦⟩))
2321, 22sylbir 234 . . . . . . . . . . . . . . . . . 18 (𝜃 → (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → 𝑝 = ⟨𝑥, 𝑦⟩))
24 eqcom 2745 . . . . . . . . . . . . . . . . . 18 (⟨𝑥, 𝑦⟩ = 𝑝𝑝 = ⟨𝑥, 𝑦⟩)
2523, 24syl6ibr 251 . . . . . . . . . . . . . . . . 17 (𝜃 → (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → ⟨𝑥, 𝑦⟩ = 𝑝))
2625com12 32 . . . . . . . . . . . . . . . 16 (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → (𝜃 → ⟨𝑥, 𝑦⟩ = 𝑝))
27 eqeq2 2750 . . . . . . . . . . . . . . . . . 18 (⟨𝑎, 𝑏⟩ = 𝑝 → (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑥, 𝑦⟩ = 𝑝))
2827eqcoms 2746 . . . . . . . . . . . . . . . . 17 (𝑝 = ⟨𝑎, 𝑏⟩ → (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑥, 𝑦⟩ = 𝑝))
2928imbi2d 341 . . . . . . . . . . . . . . . 16 (𝑝 = ⟨𝑎, 𝑏⟩ → ((𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ (𝜃 → ⟨𝑥, 𝑦⟩ = 𝑝)))
3026, 29syl5ibrcom 246 . . . . . . . . . . . . . . 15 (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
3130a1d 25 . . . . . . . . . . . . . 14 (([𝑥, 𝑦⟩ / 𝑝]𝜓𝑝 = ⟨𝑥, 𝑦⟩) → ((𝑎𝑋𝑏𝑌) → (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))))
3218, 31syl6 35 . . . . . . . . . . . . 13 (((𝑥𝑋𝑦𝑌) ∧ 𝜓) → (∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) → ((𝑎𝑋𝑏𝑌) → (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))))
3332expimpd 454 . . . . . . . . . . . 12 ((𝑥𝑋𝑦𝑌) → ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ((𝑎𝑋𝑏𝑌) → (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))))
3433imp4c 424 . . . . . . . . . . 11 ((𝑥𝑋𝑦𝑌) → ((((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) ∧ 𝑝 = ⟨𝑎, 𝑏⟩) → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
3534impcom 408 . . . . . . . . . 10 (((((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) ∧ 𝑝 = ⟨𝑎, 𝑏⟩) ∧ (𝑥𝑋𝑦𝑌)) → (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))
3635ralrimivva 3123 . . . . . . . . 9 ((((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) ∧ 𝑝 = ⟨𝑎, 𝑏⟩) → ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))
3711, 36jca 512 . . . . . . . 8 ((((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) ∧ 𝑝 = ⟨𝑎, 𝑏⟩) → (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
3837ex 413 . . . . . . 7 (((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ∧ (𝑎𝑋𝑏𝑌)) → (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))))
3938reximdvva 3206 . . . . . 6 ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → (∃𝑎𝑋𝑏𝑌 𝑝 = ⟨𝑎, 𝑏⟩ → ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))))
4039com12 32 . . . . 5 (∃𝑎𝑋𝑏𝑌 𝑝 = ⟨𝑎, 𝑏⟩ → ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))))
416, 40sylbi 216 . . . 4 (𝑝 ∈ (𝑋 × 𝑌) → ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))))
4241rexlimiv 3209 . . 3 (∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) → ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
43 opelxpi 5626 . . . . . . 7 ((𝑎𝑋𝑏𝑌) → ⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌))
4443adantr 481 . . . . . 6 (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → ⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌))
45 simprl 768 . . . . . 6 (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → 𝜒)
46 nfsbc1v 3736 . . . . . . . . . . . . . . . . . 18 𝑥[𝑐 / 𝑥]𝜃
47 nfv 1917 . . . . . . . . . . . . . . . . . 18 𝑥𝑐, 𝑦⟩ = ⟨𝑎, 𝑏
4846, 47nfim 1899 . . . . . . . . . . . . . . . . 17 𝑥([𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑦⟩ = ⟨𝑎, 𝑏⟩)
49 nfsbc1v 3736 . . . . . . . . . . . . . . . . . 18 𝑦[𝑑 / 𝑦][𝑐 / 𝑥]𝜃
50 nfv 1917 . . . . . . . . . . . . . . . . . 18 𝑦𝑐, 𝑑⟩ = ⟨𝑎, 𝑏
5149, 50nfim 1899 . . . . . . . . . . . . . . . . 17 𝑦([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩)
52 sbceq1a 3727 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (𝜃[𝑐 / 𝑥]𝜃))
53 opeq1 4804 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑐 → ⟨𝑥, 𝑦⟩ = ⟨𝑐, 𝑦⟩)
5453eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑐 → (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑐, 𝑦⟩ = ⟨𝑎, 𝑏⟩))
5552, 54imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑐 → ((𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ([𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
56 sbceq1a 3727 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → ([𝑐 / 𝑥]𝜃[𝑑 / 𝑦][𝑐 / 𝑥]𝜃))
57 opeq2 4805 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑑 → ⟨𝑐, 𝑦⟩ = ⟨𝑐, 𝑑⟩)
5857eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑑 → (⟨𝑐, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩))
5956, 58imbi12d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑑 → (([𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩)))
6048, 51, 55, 59rspc2 3568 . . . . . . . . . . . . . . . 16 ((𝑐𝑋𝑑𝑌) → (∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩)))
6160ad2antlr 724 . . . . . . . . . . . . . . 15 ((((𝑎𝑋𝑏𝑌) ∧ (𝑐𝑋𝑑𝑌)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) → ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩)))
6220sbcop 5403 . . . . . . . . . . . . . . . . . 18 ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃[𝑐, 𝑑⟩ / 𝑝]𝜓)
63 pm2.27 42 . . . . . . . . . . . . . . . . . 18 ([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩) → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩))
6462, 63sylbir 234 . . . . . . . . . . . . . . . . 17 ([𝑐, 𝑑⟩ / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩) → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩))
65 eqcom 2745 . . . . . . . . . . . . . . . . 17 (⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩ ↔ ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩)
6664, 65syl6ibr 251 . . . . . . . . . . . . . . . 16 ([𝑐, 𝑑⟩ / 𝑝]𝜓 → (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩) → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩))
6766com12 32 . . . . . . . . . . . . . . 15 (([𝑑 / 𝑦][𝑐 / 𝑥]𝜃 → ⟨𝑐, 𝑑⟩ = ⟨𝑎, 𝑏⟩) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩))
6861, 67syl6 35 . . . . . . . . . . . . . 14 ((((𝑎𝑋𝑏𝑌) ∧ (𝑐𝑋𝑑𝑌)) ∧ 𝜒) → (∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩)))
6968expimpd 454 . . . . . . . . . . . . 13 (((𝑎𝑋𝑏𝑌) ∧ (𝑐𝑋𝑑𝑌)) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩)))
7069expcom 414 . . . . . . . . . . . 12 ((𝑐𝑋𝑑𝑌) → ((𝑎𝑋𝑏𝑌) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩))))
7170impd 411 . . . . . . . . . . 11 ((𝑐𝑋𝑑𝑌) → (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩)))
7271impcom 408 . . . . . . . . . 10 ((((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) ∧ (𝑐𝑋𝑑𝑌)) → ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩))
73 dfsbcq 3718 . . . . . . . . . . 11 (𝑞 = ⟨𝑐, 𝑑⟩ → ([𝑞 / 𝑝]𝜓[𝑐, 𝑑⟩ / 𝑝]𝜓))
74 eqeq2 2750 . . . . . . . . . . 11 (𝑞 = ⟨𝑐, 𝑑⟩ → (⟨𝑎, 𝑏⟩ = 𝑞 ↔ ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩))
7573, 74imbi12d 345 . . . . . . . . . 10 (𝑞 = ⟨𝑐, 𝑑⟩ → (([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞) ↔ ([𝑐, 𝑑⟩ / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = ⟨𝑐, 𝑑⟩)))
7672, 75syl5ibrcom 246 . . . . . . . . 9 ((((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) ∧ (𝑐𝑋𝑑𝑌)) → (𝑞 = ⟨𝑐, 𝑑⟩ → ([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)))
7776rexlimdvva 3223 . . . . . . . 8 (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → (∃𝑐𝑋𝑑𝑌 𝑞 = ⟨𝑐, 𝑑⟩ → ([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)))
78 elxp2 5613 . . . . . . . . 9 (𝑞 ∈ (𝑋 × 𝑌) ↔ ∃𝑐𝑋𝑑𝑌 𝑞 = ⟨𝑐, 𝑑⟩)
7978biimpi 215 . . . . . . . 8 (𝑞 ∈ (𝑋 × 𝑌) → ∃𝑐𝑋𝑑𝑌 𝑞 = ⟨𝑐, 𝑑⟩)
8077, 79impel 506 . . . . . . 7 ((((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) ∧ 𝑞 ∈ (𝑋 × 𝑌)) → ([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞))
8180ralrimiva 3103 . . . . . 6 (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞))
82 nfv 1917 . . . . . . . 8 𝑝𝜒
83 nfcv 2907 . . . . . . . . 9 𝑝(𝑋 × 𝑌)
84 nfv 1917 . . . . . . . . . 10 𝑝𝑎, 𝑏⟩ = 𝑞
851, 84nfim 1899 . . . . . . . . 9 𝑝([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)
8683, 85nfralw 3151 . . . . . . . 8 𝑝𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)
8782, 86nfan 1902 . . . . . . 7 𝑝(𝜒 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞))
88 eqeq1 2742 . . . . . . . . . 10 (𝑝 = ⟨𝑎, 𝑏⟩ → (𝑝 = 𝑞 ↔ ⟨𝑎, 𝑏⟩ = 𝑞))
8988imbi2d 341 . . . . . . . . 9 (𝑝 = ⟨𝑎, 𝑏⟩ → (([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)))
9089ralbidv 3112 . . . . . . . 8 (𝑝 = ⟨𝑎, 𝑏⟩ → (∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞) ↔ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞)))
917, 90anbi12d 631 . . . . . . 7 (𝑝 = ⟨𝑎, 𝑏⟩ → ((𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ (𝜒 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞))))
9287, 91rspce 3550 . . . . . 6 ((⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌) ∧ (𝜒 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓 → ⟨𝑎, 𝑏⟩ = 𝑞))) → ∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9344, 45, 81, 92syl12anc 834 . . . . 5 (((𝑎𝑋𝑏𝑌) ∧ (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩))) → ∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9493ex 413 . . . 4 ((𝑎𝑋𝑏𝑌) → ((𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) → ∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞))))
9594rexlimivv 3221 . . 3 (∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) → ∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)))
9642, 95impbii 208 . 2 (∃𝑝 ∈ (𝑋 × 𝑌)(𝜓 ∧ ∀𝑞 ∈ (𝑋 × 𝑌)([𝑞 / 𝑝]𝜓𝑝 = 𝑞)) ↔ ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
975, 96bitri 274 1 (∃!𝑝 ∈ (𝑋 × 𝑌)𝜓 ↔ ∃𝑎𝑋𝑏𝑌 (𝜒 ∧ ∀𝑥𝑋𝑦𝑌 (𝜃 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
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  cop 4567   × cxp 5587
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-sep 5223  ax-nul 5230  ax-pr 5352
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-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-opab 5137  df-xp 5595
This theorem is referenced by:  ichnreuop  44924  ichreuopeq  44925  reuopreuprim  44978
  Copyright terms: Public domain W3C validator