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

Theorem eqbrrdva 5852
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 5671 . . . 4 (𝐶 × 𝐷) ⊆ (V × V)
31, 2sstrdi 3925 . . 3 (𝜑 → 𝐴 ⊆ (V × V))
4 df-rel 5662 . . 3 (Rel 𝐴 ↔ 𝐴 ⊆ (V × V))
53, 4sylibr 237 . 2 (𝜑 → Rel 𝐴)
6 eqbrrdva.2 . . . 4 (𝜑 → 𝐵 ⊆ (𝐶 × 𝐷))
76, 2sstrdi 3925 . . 3 (𝜑 → 𝐵 ⊆ (V × V))
8 df-rel 5662 . . 3 (Rel 𝐵 ↔ 𝐵 ⊆ (V × V))
97, 8sylibr 237 . 2 (𝜑 → Rel 𝐵)
101ssbrd 5151 . . . 4 (𝜑 → (𝑥𝐴𝑦 → 𝑥(𝐶 × 𝐷)𝑦))
11 brxp 5704 . . . 4 (𝑥(𝐶 × 𝐷)𝑦 ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷))
1210, 11imbitrdi 254 . . 3 (𝜑 → (𝑥𝐴𝑦 → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
136ssbrd 5151 . . . 4 (𝜑 → (𝑥𝐵𝑦 → 𝑥(𝐶 × 𝐷)𝑦))
1413, 11imbitrdi 254 . . 3 (𝜑 → (𝑥𝐵𝑦 → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
15 eqbrrdva.3 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))
16153expib 1140 . . 3 (𝜑 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦)))
1712, 14, 16pm5.21ndd 382 . 2 (𝜑 → (𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))
185, 9, 17eqbrrdv 5774 1 (𝜑 → 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146  Vcvv 3454   ⊆ wss 3900   class class class wbr 5106   × cxp 5653  Rel wrel 5660
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662
This theorem is used by:  metustsym  24889
  Copyright terms: Public domain W3C validator