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

Theorem unjust 3940
Description: Soundness justification theorem for df-un 3941. (Contributed by Rodolfo Medina, 28-Apr-2010.) (Proof shortened by Andrew Salmon, 9-Jul-2011.)
Assertion
Ref Expression
unjust {𝑥 ∣ (𝑥𝐴𝑥𝐵)} = {𝑦 ∣ (𝑦𝐴𝑦𝐵)}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑦,𝐴   𝑦,𝐵

Proof of Theorem unjust
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eleq1w 2895 . . . 4 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
2 eleq1w 2895 . . . 4 (𝑥 = 𝑧 → (𝑥𝐵𝑧𝐵))
31, 2orbi12d 915 . . 3 (𝑥 = 𝑧 → ((𝑥𝐴𝑥𝐵) ↔ (𝑧𝐴𝑧𝐵)))
43cbvabv 2889 . 2 {𝑥 ∣ (𝑥𝐴𝑥𝐵)} = {𝑧 ∣ (𝑧𝐴𝑧𝐵)}
5 eleq1w 2895 . . . 4 (𝑧 = 𝑦 → (𝑧𝐴𝑦𝐴))
6 eleq1w 2895 . . . 4 (𝑧 = 𝑦 → (𝑧𝐵𝑦𝐵))
75, 6orbi12d 915 . . 3 (𝑧 = 𝑦 → ((𝑧𝐴𝑧𝐵) ↔ (𝑦𝐴𝑦𝐵)))
87cbvabv 2889 . 2 {𝑧 ∣ (𝑧𝐴𝑧𝐵)} = {𝑦 ∣ (𝑦𝐴𝑦𝐵)}
94, 8eqtri 2844 1 {𝑥 ∣ (𝑥𝐴𝑥𝐵)} = {𝑦 ∣ (𝑦𝐴𝑦𝐵)}
Colors of variables: wff setvar class
Syntax hints:  wo 843   = wceq 1533  wcel 2110  {cab 2799
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 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1777  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator