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

Theorem scott0s 9820
Description: Theorem scheme version of scott0 9818. 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 4338 . 2 ({𝑥𝜑} ≠ ∅ ↔ ∃𝑥𝜑)
2 scott0 9818 . . . 4 ({𝑥𝜑} = ∅ ↔ {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = ∅)
3 nfcv 2905 . . . . . . 7 𝑧{𝑥𝜑}
4 nfab1 2907 . . . . . . 7 𝑥{𝑥𝜑}
5 nfv 1917 . . . . . . . 8 𝑥(rank‘𝑧) ⊆ (rank‘𝑦)
64, 5nfralw 3292 . . . . . . 7 𝑥𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)
7 nfv 1917 . . . . . . 7 𝑧𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)
8 fveq2 6839 . . . . . . . . 9 (𝑧 = 𝑥 → (rank‘𝑧) = (rank‘𝑥))
98sseq1d 3973 . . . . . . . 8 (𝑧 = 𝑥 → ((rank‘𝑧) ⊆ (rank‘𝑦) ↔ (rank‘𝑥) ⊆ (rank‘𝑦)))
109ralbidv 3172 . . . . . . 7 (𝑧 = 𝑥 → (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦) ↔ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)))
113, 4, 6, 7, 10cbvrabw 3437 . . . . . 6 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)}
12 df-rab 3406 . . . . . 6 {𝑥 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))}
13 abid 2717 . . . . . . . 8 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
14 df-ral 3063 . . . . . . . . 9 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
15 df-sbc 3738 . . . . . . . . . . 11 ([𝑦 / 𝑥]𝜑𝑦 ∈ {𝑥𝜑})
1615imbi1i 349 . . . . . . . . . 10 (([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1716albii 1821 . . . . . . . . 9 (∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → (rank‘𝑥) ⊆ (rank‘𝑦)))
1814, 17bitr4i 277 . . . . . . . 8 (∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))
1913, 18anbi12i 627 . . . . . . 7 ((𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦))))
2019abbii 2806 . . . . . 6 {𝑥 ∣ (𝑥 ∈ {𝑥𝜑} ∧ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑥) ⊆ (rank‘𝑦))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
2111, 12, 203eqtri 2768 . . . . 5 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
2221eqeq1i 2741 . . . 4 ({𝑧 ∈ {𝑥𝜑} ∣ ∀𝑦 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑦)} = ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} = ∅)
232, 22bitri 274 . . 3 ({𝑥𝜑} = ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} = ∅)
2423necon3bii 2994 . 2 ({𝑥𝜑} ≠ ∅ ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ≠ ∅)
251, 24bitr3i 276 1 (∃𝑥𝜑 ↔ {𝑥 ∣ (𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1539   = wceq 1541  wex 1781  wcel 2106  {cab 2713  wne 2941  wral 3062  {crab 3405  [wsbc 3737  wss 3908  c0 4280  cfv 6493  rankcrnk 9695
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 2707  ax-sep 5254  ax-nul 5261  ax-pow 5318  ax-pr 5382  ax-un 7668
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 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4281  df-if 4485  df-pw 4560  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4864  df-int 4906  df-iun 4954  df-iin 4955  df-br 5104  df-opab 5166  df-mpt 5187  df-tr 5221  df-id 5529  df-eprel 5535  df-po 5543  df-so 5544  df-fr 5586  df-we 5588  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6251  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-ov 7356  df-om 7799  df-2nd 7918  df-frecs 8208  df-wrecs 8239  df-recs 8313  df-rdg 8352  df-r1 9696  df-rank 9697
This theorem is referenced by:  hta  9829
  Copyright terms: Public domain W3C validator