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

Theorem preddowncl 6224
Description: A property of classes that are downward closed under predecessor. (Contributed by Scott Fenton, 13-Apr-2011.)
Assertion
Ref Expression
preddowncl ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑅
Allowed substitution hint:   𝑋(𝑥)

Proof of Theorem preddowncl
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq1 2826 . . . . 5 (𝑦 = 𝑋 → (𝑦𝐵𝑋𝐵))
2 predeq3 6195 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐵, 𝑋))
3 predeq3 6195 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑋))
42, 3eqeq12d 2754 . . . . 5 (𝑦 = 𝑋 → (Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦) ↔ Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
51, 4imbi12d 344 . . . 4 (𝑦 = 𝑋 → ((𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)) ↔ (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
65imbi2d 340 . . 3 (𝑦 = 𝑋 → (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))) ↔ ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))))
7 predpredss 6198 . . . . . 6 (𝐵𝐴 → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
87ad2antrr 722 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
9 predeq3 6195 . . . . . . . . . . . 12 (𝑥 = 𝑦 → Pred(𝑅, 𝐴, 𝑥) = Pred(𝑅, 𝐴, 𝑦))
109sseq1d 3948 . . . . . . . . . . 11 (𝑥 = 𝑦 → (Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵))
1110rspccva 3551 . . . . . . . . . 10 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵)
1211sseld 3916 . . . . . . . . 9 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝐵))
13 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
1413elpredim 6207 . . . . . . . . 9 (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝑅𝑦)
1512, 14jca2 513 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦)))
16 vex 3426 . . . . . . . . . . 11 𝑧 ∈ V
1716elpred 6208 . . . . . . . . . 10 (𝑦𝐵 → (𝑧 ∈ Pred(𝑅, 𝐵, 𝑦) ↔ (𝑧𝐵𝑧𝑅𝑦)))
1817imbi2d 340 . . . . . . . . 9 (𝑦𝐵 → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
1918adantl 481 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
2015, 19mpbird 256 . . . . . . 7 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)))
2120ssrdv 3923 . . . . . 6 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
2221adantll 710 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
238, 22eqssd 3934 . . . 4 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))
2423ex 412 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)))
256, 24vtoclg 3495 . 2 (𝑋𝐵 → ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
2625pm2.43b 55 1 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wss 3883   class class class wbr 5070  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  ax-sep 5218  ax-nul 5225  ax-pr 5347
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-ral 3068  df-rex 3069  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:  frrlem4  8076  wfrlem4OLD  8114
  Copyright terms: Public domain W3C validator