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

Theorem preddowncl 5624
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 2676 . . . . 5 (𝑦 = 𝑋 → (𝑦𝐵𝑋𝐵))
2 predeq3 5601 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐵, 𝑋))
3 predeq3 5601 . . . . . 6 (𝑦 = 𝑋 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑋))
42, 3eqeq12d 2625 . . . . 5 (𝑦 = 𝑋 → (Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦) ↔ Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
51, 4imbi12d 333 . . . 4 (𝑦 = 𝑋 → ((𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)) ↔ (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
65imbi2d 329 . . 3 (𝑦 = 𝑋 → (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))) ↔ ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))))
7 predpredss 5603 . . . . . 6 (𝐵𝐴 → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
87ad2antrr 758 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑦))
9 predeq3 5601 . . . . . . . . . . . 12 (𝑥 = 𝑦 → Pred(𝑅, 𝐴, 𝑥) = Pred(𝑅, 𝐴, 𝑦))
109sseq1d 3595 . . . . . . . . . . 11 (𝑥 = 𝑦 → (Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵))
1110rspccva 3281 . . . . . . . . . 10 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵)
1211sseld 3567 . . . . . . . . 9 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝐵))
13 vex 3176 . . . . . . . . . . 11 𝑦 ∈ V
1413elpredim 5609 . . . . . . . . . 10 (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝑅𝑦)
1514a1i 11 . . . . . . . . 9 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧𝑅𝑦))
1612, 15jcad 554 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦)))
17 vex 3176 . . . . . . . . . . 11 𝑧 ∈ V
1817elpred 5610 . . . . . . . . . 10 (𝑦𝐵 → (𝑧 ∈ Pred(𝑅, 𝐵, 𝑦) ↔ (𝑧𝐵𝑧𝑅𝑦)))
1918imbi2d 329 . . . . . . . . 9 (𝑦𝐵 → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
2019adantl 481 . . . . . . . 8 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → ((𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)) ↔ (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → (𝑧𝐵𝑧𝑅𝑦))))
2116, 20mpbird 246 . . . . . . 7 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → (𝑧 ∈ Pred(𝑅, 𝐴, 𝑦) → 𝑧 ∈ Pred(𝑅, 𝐵, 𝑦)))
2221ssrdv 3574 . . . . . 6 ((∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
2322adantll 746 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐵, 𝑦))
248, 23eqssd 3585 . . . 4 (((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) ∧ 𝑦𝐵) → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦))
2524ex 449 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑦𝐵 → Pred(𝑅, 𝐵, 𝑦) = Pred(𝑅, 𝐴, 𝑦)))
266, 25vtoclg 3239 . 2 (𝑋𝐵 → ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋))))
2726pm2.43b 53 1 ((𝐵𝐴 ∧ ∀𝑥𝐵 Pred(𝑅, 𝐴, 𝑥) ⊆ 𝐵) → (𝑋𝐵 → Pred(𝑅, 𝐵, 𝑋) = Pred(𝑅, 𝐴, 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wss 3540   class class class wbr 4583  Predcpred 5596
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-xp 5044  df-cnv 5046  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597
This theorem is referenced by:  wfrlem4  7305  frrlem4  31027
  Copyright terms: Public domain W3C validator