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

Theorem scott0s 9311
Description: Theorem scheme version of scott0 9309. The collection of all 𝑥 of minimum rank such that 𝜑(𝑥) is true, is not empty iff there is an 𝑥 such that 𝜑(𝑥) holds. (Contributed by NM, 13-Oct-2003.)
Assertion
Ref Expression
scott0s (∃𝑥𝜑 ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ≠ ∅)
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem scott0s
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 abn0 4336 . 2 ({𝑥𝜑} ≠ ∅ ↔ ∃𝑥𝜑)
2 scott0 9309 . . . 4 ({𝑥𝜑} = ∅ ↔ {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = ∅)
3 nfcv 2977 . . . . . . 7 𝑧{𝑥𝜑}
4 nfab1 2979 . . . . . . 7 𝑥{𝑥𝜑}
5 nfv 1911 . . . . . . . 8 𝑥(rank‘𝑧) ⊆ (rank‘𝑦)
64, 5nfralw 3225 . . . . . . 7 𝑥𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)
7 nfv 1911 . . . . . . 7 𝑧𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)
8 fveq2 6665 . . . . . . . . 9 (𝑧 = 𝑥 → (rank‘𝑧) = (rank‘𝑥))
98sseq1d 3998 . . . . . . . 8 (𝑧 = 𝑥 → ((rank‘𝑧) ⊆ (rank‘𝑦) ↔ (rank‘𝑥) ⊆ (rank‘𝑦)))
109ralbidv 3197 . . . . . . 7 (𝑧 = 𝑥 → (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦) ↔ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)))
113, 4, 6, 7, 10cbvrabw 3490 . . . . . 6 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)}
12 df-rab 3147 . . . . . 6 {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))}
13 abid 2803 . . . . . . . 8 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
14 df-ral 3143 . . . . . . . . 9 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
15 df-sbc 3773 . . . . . . . . . . 11 ([𝑦 / 𝑥]𝜑𝑦 ∈ {𝑥𝜑})
1615imbi1i 352 . . . . . . . . . 10 (([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1716albii 1816 . . . . . . . . 9 (∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1814, 17bitr4i 280 . . . . . . . 8 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))
1913, 18anbi12i 628 . . . . . . 7 ((𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦))))
2019abbii 2886 . . . . . 6 {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
2111, 12, 203eqtri 2848 . . . . 5 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
2221eqeq1i 2826 . . . 4 ({𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} = ∅)
232, 22bitri 277 . . 3 ({𝑥𝜑} = ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} = ∅)
2423necon3bii 3068 . 2 ({𝑥𝜑} ≠ ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ≠ ∅)
251, 24bitr3i 279 1 (∃𝑥𝜑 ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1531   = wceq 1533  wex 1776  wcel 2110  {cab 2799  wne 3016  wral 3138  {crab 3142  [wsbc 3772  wss 3936  c0 4291  cfv 6350  rankcrnk 9186
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4833  df-int 4870  df-iun 4914  df-iin 4915  df-br 5060  df-opab 5122  df-mpt 5140  df-tr 5166  df-id 5455  df-eprel 5460  df-po 5469  df-so 5470  df-fr 5509  df-we 5511  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-pred 6143  df-ord 6189  df-on 6190  df-lim 6191  df-suc 6192  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-om 7575  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-r1 9187  df-rank 9188
This theorem is referenced by:  hta  9320
  Copyright terms: Public domain W3C validator