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 32627
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 5149 . . . 4 (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑅)
2 brab2d.1 . . . . 5 (𝜑𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)})
32eleq2d 2825 . . . 4 (𝜑 → (⟨𝐴, 𝐵⟩ ∈ 𝑅 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)}))
41, 3bitrid 283 . . 3 (𝜑 → (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)}))
5 elopab 5537 . . 3 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)} ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)))
64, 5bitrdi 287 . 2 (𝜑 → (𝐴𝑅𝐵 ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))))
7 eqcom 2742 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩)
8 vex 3482 . . . . . . . . . . 11 𝑥 ∈ V
9 vex 3482 . . . . . . . . . . 11 𝑦 ∈ V
108, 9opth 5487 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
117, 10sylbb1 237 . . . . . . . . 9 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝑥 = 𝐴𝑦 = 𝐵))
12 eleq1 2827 . . . . . . . . . . 11 (𝑥 = 𝐴 → (𝑥𝑈𝐴𝑈))
13 eleq1 2827 . . . . . . . . . . 11 (𝑦 = 𝐵 → (𝑦𝑉𝐵𝑉))
1412, 13bi2anan9 638 . . . . . . . . . 10 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑈𝑦𝑉) ↔ (𝐴𝑈𝐵𝑉)))
1514biimpa 476 . . . . . . . . 9 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ (𝑥𝑈𝑦𝑉)) → (𝐴𝑈𝐵𝑉))
1611, 15sylan 580 . . . . . . . 8 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝑈𝑦𝑉)) → (𝐴𝑈𝐵𝑉))
1716adantl 481 . . . . . . 7 ((𝜑 ∧ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝑈𝑦𝑉))) → (𝐴𝑈𝐵𝑉))
1817adantrrr 725 . . . . . 6 ((𝜑 ∧ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))) → (𝐴𝑈𝐵𝑉))
1918ex 412 . . . . 5 (𝜑 → ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) → (𝐴𝑈𝐵𝑉)))
2019exlimdvv 1932 . . . 4 (𝜑 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓)) → (𝐴𝑈𝐵𝑉)))
2120imp 406 . . 3 ((𝜑 ∧ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝑈𝑦𝑉) ∧ 𝜓))) → (𝐴𝑈𝐵𝑉))
22 simprl 771 . . 3 ((𝜑 ∧ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)) → (𝐴𝑈𝐵𝑉))
23 simprl 771 . . . 4 ((𝜑 ∧ (𝐴𝑈𝐵𝑉)) → 𝐴𝑈)
24 simprr 773 . . . 4 ((𝜑 ∧ (𝐴𝑈𝐵𝑉)) → 𝐵𝑉)
2514adantl 481 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝑥𝑈𝑦𝑉) ↔ (𝐴𝑈𝐵𝑉)))
26 brab2d.2 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
2725, 26anbi12d 632 . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (((𝑥𝑈𝑦𝑉) ∧ 𝜓) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
2827adantlr 715 . . . 4 (((𝜑 ∧ (𝐴𝑈𝐵𝑉)) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (((𝑥𝑈𝑦𝑉) ∧ 𝜓) ↔ ((𝐴𝑈𝐵𝑉) ∧ 𝜒)))
2923, 24, 28copsex2dv 32626 . . 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 1776  wcel 2106  cop 4637   class class class wbr 5148  {copab 5210
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706  ax-sep 5302  ax-nul 5312  ax-pr 5438
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2727  df-clel 2814  df-rab 3434  df-v 3480  df-dif 3966  df-un 3968  df-ss 3980  df-nul 4340  df-if 4532  df-sn 4632  df-pr 4634  df-op 4638  df-br 5149  df-opab 5211
This theorem is referenced by:  erlcl1  33247  erlcl2  33248  erldi  33249  erlbrd  33250  erler  33252  fracerl  33288
  Copyright terms: Public domain W3C validator