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

Theorem scottexs 9832
Description: Theorem scheme version of scottex 9830. The collection of all 𝑥 of minimum rank such that 𝜑(𝑥) is true, is a set. (Contributed by NM, 13-Oct-2003.)
Assertion
Ref Expression
scottexs {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ∈ V
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem scottexs
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfcv 2902 . . . 4 𝑧{𝑥𝜑}
2 nfab1 2904 . . . 4 𝑥{𝑥𝜑}
3 nfv 1917 . . . . 5 𝑥(rank‘𝑧) ⊆ (rank‘𝑦)
42, 3nfralw 3292 . . . 4 𝑥𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)
5 nfv 1917 . . . 4 𝑧𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)
6 fveq2 6847 . . . . . 6 (𝑧 = 𝑥 → (rank‘𝑧) = (rank‘𝑥))
76sseq1d 3978 . . . . 5 (𝑧 = 𝑥 → ((rank‘𝑧) ⊆ (rank‘𝑦) ↔ (rank‘𝑥) ⊆ (rank‘𝑦)))
87ralbidv 3170 . . . 4 (𝑧 = 𝑥 → (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦) ↔ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)))
91, 2, 4, 5, 8cbvrabw 3440 . . 3 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)}
10 df-rab 3406 . . 3 {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))}
11 abid 2712 . . . . 5 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
12 df-ral 3061 . . . . . 6 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
13 df-sbc 3743 . . . . . . . 8 ([𝑦 / 𝑥]𝜑𝑦 ∈ {𝑥𝜑})
1413imbi1i 349 . . . . . . 7 (([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1514albii 1821 . . . . . 6 (∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1612, 15bitr4i 277 . . . . 5 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))
1711, 16anbi12i 627 . . . 4 ((𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦))))
1817abbii 2801 . . 3 {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
199, 10, 183eqtri 2763 . 2 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
20 scottex 9830 . 2 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} ∈ V
2119, 20eqeltrri 2829 1 {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ∈ V
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1539  wcel 2106  {cab 2708  wral 3060  {crab 3405  Vcvv 3446  [wsbc 3742  wss 3913  cfv 6501  rankcrnk 9708
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-rep 5247  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677  ax-reg 9537  ax-inf2 9586
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-int 4913  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-ov 7365  df-om 7808  df-2nd 7927  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-r1 9709  df-rank 9710
This theorem is referenced by:  hta  9842
  Copyright terms: Public domain W3C validator