Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  brab2d Structured version   Visualization version   GIF version

Theorem brab2d 32629
Description: Expressing that two sets are related by a binary relation which is expressed as a class abstraction of ordered pairs. (Contributed by Thierry Arnoux, 4-May-2025.)
Hypotheses
Ref Expression
brab2d.1 (𝜑𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)})
brab2d.2 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
Assertion
Ref Expression
brab2d (𝜑 → (𝐴𝑅𝐵 ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑈,𝑦   𝑥,𝑉,𝑦   𝜒,𝑥,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦)   𝑅(𝑥,𝑦)

Proof of Theorem brab2d
StepHypRef Expression
1 df-br 5167 . . . 4 (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑅)
2 brab2d.1 . . . . 5 (𝜑𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)})
32eleq2d 2830 . . . 4 (𝜑 → (⟨𝐴, 𝐵⟩ ∈ 𝑅 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)}))
41, 3bitrid 283 . . 3 (𝜑 → (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)}))
5 elopab 5546 . . 3 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)} ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)))
64, 5bitrdi 287 . 2 (𝜑 → (𝐴𝑅𝐵 ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))))
7 eqcom 2747 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩)
8 vex 3492 . . . . . . . . . . 11 𝑥 ∈ V
9 vex 3492 . . . . . . . . . . 11 𝑦 ∈ V
108, 9opth 5496 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
117, 10sylbb1 237 . . . . . . . . 9 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝑥 = 𝐴𝑦 = 𝐵))
12 eleq1 2832 . . . . . . . . . . 11 (𝑥 = 𝐴 → (𝑥𝑈𝐴𝑈))
13 eleq1 2832 . . . . . . . . . . 11 (𝑦 = 𝐵 → (𝑦𝑉𝐵𝑉))
1412, 13bi2anan9 637 . . . . . . . . . 10 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑈𝑦𝑉) ↔ (𝐴𝑈𝐵𝑉)))
1514biimpa 476 . . . . . . . . 9 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ (𝑥𝑈𝑦𝑉)) → (𝐴𝑈𝐵𝑉))
1611, 15sylan 579 . . . . . . . 8 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝑈𝑦𝑉)) → (𝐴𝑈𝐵𝑉))
1716adantl 481 . . . . . . 7 ((𝜑 ∧ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝑈𝑦𝑉))) → (𝐴𝑈𝐵𝑉))
1817adantrrr 724 . . . . . 6 ((𝜑 ∧ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))) → (𝐴𝑈𝐵𝑉))
1918ex 412 . . . . 5 (𝜑 → ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) → (𝐴𝑈𝐵𝑉)))
2019exlimdvv 1933 . . . 4 (𝜑 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) → (𝐴𝑈𝐵𝑉)))
2120imp 406 . . 3 ((𝜑 ∧ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))) → (𝐴𝑈𝐵𝑉))
22 simprl 770 . . 3 ((𝜑 ∧ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)) → (𝐴𝑈𝐵𝑉))
23 simprl 770 . . . 4 ((𝜑 ∧ (𝐴𝑈𝐵𝑉)) → 𝐴𝑈)
24 simprr 772 . . . 4 ((𝜑 ∧ (𝐴𝑈𝐵𝑉)) → 𝐵𝑉)
2514adantl 481 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝑥𝑈𝑦𝑉) ↔ (𝐴𝑈𝐵𝑉)))
26 brab2d.2 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
2725, 26anbi12d 631 . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (((𝑥𝑈𝑦𝑉) ∧ 𝜓) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
2827adantlr 714 . . . 4 (((𝜑 ∧ (𝐴𝑈𝐵𝑉)) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (((𝑥𝑈𝑦𝑉) ∧ 𝜓) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
2923, 24, 28copsex2dv 32628 . . 3 ((𝜑 ∧ (𝐴𝑈𝐵𝑉)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
3021, 22, 29bibiad 32486 . 2 (𝜑 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
316, 30bitrd 279 1 (𝜑 → (𝐴𝑅𝐵 ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wex 1777  wcel 2108  cop 4654   class class class wbr 5166  {copab 5228
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-br 5167  df-opab 5229
This theorem is referenced by:  erlcl1  33232  erlcl2  33233  erldi  33234  erlbrd  33235  erler  33237  fracerl  33273
  Copyright terms: Public domain W3C validator