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

Theorem preddowncl 6341
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 2851 . . . . 5 (𝑦 = 𝑋 → (𝑦 ∈ 𝐵 ↔ 𝑋 ∈ 𝐵))
2 predeq3 6314 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐵, 𝑋))
3 predeq3 6314 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑋))
42, 3eqeq12d 2779 . . . . 5 (𝑦 = 𝑋 → (Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦) ↔ Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
51, 4imbi12d 347 . . . 4 (𝑦 = 𝑋 → ((𝑦 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)) ↔ (𝑋 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
65imbi2d 343 . . 3 (𝑦 = 𝑋 → (((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))) ↔ ((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))))
7 predpredss 6317 . . . . . 6 (𝐵 ⊆ 𝐴 → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
87ad2antrr 739 . . . . 5 (((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦 ∈ 𝐵) → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
9 predeq3 6314 . . . . . . . . . . . 12 (𝑥 = 𝑦 → Pred(𝑅, 𝐴, 𝑥) = Pred(𝑅, 𝐴, 𝑦))
109sseq1d 3943 . . . . . . . . . . 11 (𝑥 = 𝑦 → (Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵))
1110rspccva 3578 . . . . . . . . . 10 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵)
1211sseld 3911 . . . . . . . . 9 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ 𝐵))
13 vex 3457 . . . . . . . . . 10 𝑦 ∈ V
1413elpredim 6326 . . . . . . . . 9 (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝑅𝑦)
1512, 14jca2 523 . . . . . . . 8 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧 ∈ 𝐵 ∧ 𝑧𝑅𝑦)))
16 vex 3457 . . . . . . . . . . 11 𝑧 ∈ V
1716elpred 6327 . . . . . . . . . 10 (𝑦 ∈ 𝐵 → (𝑧 ∈ Pred(𝑅, 𝐵, 𝑦) ↔ (𝑧 ∈ 𝐵 ∧ 𝑧𝑅𝑦)))
1817imbi2d 343 . . . . . . . . 9 (𝑦 ∈ 𝐵 → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧 ∈ 𝐵 ∧ 𝑧𝑅𝑦))))
1918adantl 487 . . . . . . . 8 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧 ∈ 𝐵 ∧ 𝑧𝑅𝑦))))
2015, 19mpbird 260 . . . . . . 7 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)))
2120ssrdv 3918 . . . . . 6 ((∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ∧ 𝑦 ∈ 𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
2221adantll 727 . . . . 5 (((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦 ∈ 𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
238, 22eqssd 3929 . . . 4 (((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦 ∈ 𝐵) → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))
2423ex 418 . . 3 ((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)))
256, 24vtoclg 3520 . 2 (𝑋 ∈ 𝐵 → ((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
2625pm2.43b 56 1 ((𝐵 ⊆ 𝐴 ∧ ∀𝑥 ∈ 𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋 ∈ 𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∀wral 3079   ⊆ wss 3899   class class class wbr 5105  Predcpred 6309
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 5251  ax-pr 5394
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 2838  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-br 5106  df-opab 5170  df-xp 5660  df-cnv 5662  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310
This theorem is used by:  frrlem4  8318
  Copyright terms: Public domain W3C validator