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

Theorem eqbrrdva 5846
Description: Deduction from extensionality principle for relations, given an equivalence only on the relation domain and range. (Contributed by Thierry Arnoux, 28-Nov-2017.)
Hypotheses
Ref Expression
eqbrrdva.1 (𝜑 → 𝐴 ⊆ (𝐶 × 𝐷))
eqbrrdva.2 (𝜑 → 𝐵 ⊆ (𝐶 × 𝐷))
eqbrrdva.3 ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))
Assertion
Ref Expression
eqbrrdva (𝜑 → 𝐴 = 𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥, 𝑦)   𝐷(𝑥, 𝑦)

Proof of Theorem eqbrrdva
StepHypRef Expression
1 eqbrrdva.1 . . . 4 (𝜑 → 𝐴 ⊆ (𝐶 × 𝐷))
2 xpss 5666 . . . 4 (𝐶 × 𝐷) ⊆ (V × V)
31, 2sstrdi 3940 . . 3 (𝜑 → 𝐴 ⊆ (V × V))
4 df-rel 5657 . . 3 (Rel 𝐴 ↔ 𝐴 ⊆ (V × V))
53, 4sylibr 237 . 2 (𝜑 → Rel 𝐴)
6 eqbrrdva.2 . . . 4 (𝜑 → 𝐵 ⊆ (𝐶 × 𝐷))
76, 2sstrdi 3940 . . 3 (𝜑 → 𝐵 ⊆ (V × V))
8 df-rel 5657 . . 3 (Rel 𝐵 ↔ 𝐵 ⊆ (V × V))
97, 8sylibr 237 . 2 (𝜑 → Rel 𝐵)
101ssbrd 5147 . . . 4 (𝜑 → (𝑥𝐴𝑦 → 𝑥(𝐶 × 𝐷)𝑦))
11 brxp 5699 . . . 4 (𝑥(𝐶 × 𝐷)𝑦 ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷))
1210, 11imbitrdi 254 . . 3 (𝜑 → (𝑥𝐴𝑦 → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
136ssbrd 5147 . . . 4 (𝜑 → (𝑥𝐵𝑦 → 𝑥(𝐶 × 𝐷)𝑦))
1413, 11imbitrdi 254 . . 3 (𝜑 → (𝑥𝐵𝑦 → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
15 eqbrrdva.3 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))
16153expib 1140 . . 3 (𝜑 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦)))
1712, 14, 16pm5.21ndd 382 . 2 (𝜑 → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))
185, 9, 17eqbrrdv 5768 1 (𝜑 → 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ⊆ wss 3913   class class class wbr 5102   × cxp 5648  Rel wrel 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3899  df-un 3901  df-in 3903  df-ss 3914  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657
This theorem is used by:  metustsym  24874
  Copyright terms: Public domain W3C validator