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

Theorem predeq123 6192
Description: Equality theorem for the predecessor class. (Contributed by Scott Fenton, 13-Jun-2018.)
Assertion
Ref Expression
predeq123 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → Pred(𝑅, 𝐴, 𝑋) = Pred(𝑆, 𝐵, 𝑌))

Proof of Theorem predeq123
StepHypRef Expression
1 simp2 1135 . . 3 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → 𝐴 = 𝐵)
2 cnveq 5771 . . . . 5 (𝑅 = 𝑆𝑅 = 𝑆)
323ad2ant1 1131 . . . 4 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → 𝑅 = 𝑆)
4 sneq 4568 . . . . 5 (𝑋 = 𝑌 → {𝑋} = {𝑌})
543ad2ant3 1133 . . . 4 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → {𝑋} = {𝑌})
63, 5imaeq12d 5959 . . 3 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → (𝑅 “ {𝑋}) = (𝑆 “ {𝑌}))
71, 6ineq12d 4144 . 2 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → (𝐴 ∩ (𝑅 “ {𝑋})) = (𝐵 ∩ (𝑆 “ {𝑌})))
8 df-pred 6191 . 2 Pred(𝑅, 𝐴, 𝑋) = (𝐴 ∩ (𝑅 “ {𝑋}))
9 df-pred 6191 . 2 Pred(𝑆, 𝐵, 𝑌) = (𝐵 ∩ (𝑆 “ {𝑌}))
107, 8, 93eqtr4g 2804 1 ((𝑅 = 𝑆𝐴 = 𝐵𝑋 = 𝑌) → Pred(𝑅, 𝐴, 𝑋) = Pred(𝑆, 𝐵, 𝑌))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1085   = wceq 1539  cin 3882  {csn 4558  ccnv 5579  cima 5583  Predcpred 6190
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191
This theorem is referenced by:  predeq1  6193  predeq2  6194  predeq3  6195  frecseq123  8069  wsuceq123  33735  wlimeq12  33740
  Copyright terms: Public domain W3C validator