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

Theorem preddowncl 6168
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 2897 . . . . 5 (𝑦 = 𝑋 → (𝑦𝐵𝑋𝐵))
2 predeq3 6145 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐵, 𝑋))
3 predeq3 6145 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑋))
42, 3eqeq12d 2834 . . . . 5 (𝑦 = 𝑋 → (Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦) ↔ Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
51, 4imbi12d 346 . . . 4 (𝑦 = 𝑋 → ((𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)) ↔ (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
65imbi2d 342 . . 3 (𝑦 = 𝑋 → (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))) ↔ ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))))
7 predpredss 6147 . . . . . 6 (𝐵𝐴 → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
87ad2antrr 722 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
9 predeq3 6145 . . . . . . . . . . . 12 (𝑥 = 𝑦 → Pred(𝑅, 𝐴, 𝑥) = Pred(𝑅, 𝐴, 𝑦))
109sseq1d 3995 . . . . . . . . . . 11 (𝑥 = 𝑦 → (Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵))
1110rspccva 3619 . . . . . . . . . 10 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵)
1211sseld 3963 . . . . . . . . 9 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝐵))
13 vex 3495 . . . . . . . . . 10 𝑦 ∈ V
1413elpredim 6153 . . . . . . . . 9 (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝑅𝑦)
1512, 14jca2 514 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦)))
16 vex 3495 . . . . . . . . . . 11 𝑧 ∈ V
1716elpred 6154 . . . . . . . . . 10 (𝑦𝐵 → (𝑧 ∈ Pred(𝑅, 𝐵, 𝑦) ↔ (𝑧𝐵𝑧𝑅𝑦)))
1817imbi2d 342 . . . . . . . . 9 (𝑦𝐵 → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
1918adantl 482 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
2015, 19mpbird 258 . . . . . . 7 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)))
2120ssrdv 3970 . . . . . 6 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
2221adantll 710 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
238, 22eqssd 3981 . . . 4 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))
2423ex 413 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)))
256, 24vtoclg 3565 . 2 (𝑋𝐵 → ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
2625pm2.43b 55 1 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1528  wcel 2105  wral 3135  wss 3933   class class class wbr 5057  Predcpred 6140
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-xp 5554  df-cnv 5556  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141
This theorem is referenced by:  wfrlem4  7947  frrlem4  33023
  Copyright terms: Public domain W3C validator