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

Theorem scott0 8912
Description: Scott's trick collects all sets that have a certain property and are of the smallest possible rank. This theorem shows that the resulting collection, expressed as in Equation 9.3 of [Jech] p. 72, contains at least one representative with the property, if there is one. In other words, the collection is empty iff no set has the property (i.e. 𝐴 is empty). (Contributed by NM, 15-Oct-2003.)
Assertion
Ref Expression
scott0 (𝐴 = ∅ ↔ {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = ∅)
Distinct variable group:   𝑥,𝑦,𝐴

Proof of Theorem scott0
StepHypRef Expression
1 rabeq 3341 . . 3 (𝐴 = ∅ → {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = {𝑥 ∈ ∅ ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)})
2 rab0 4100 . . 3 {𝑥 ∈ ∅ ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = ∅
31, 2syl6eq 2820 . 2 (𝐴 = ∅ → {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = ∅)
4 n0 4076 . . . . . . . 8 (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴)
5 nfre1 3152 . . . . . . . . 9 𝑥𝑥𝐴 (rank‘𝑥) = (rank‘𝑥)
6 eqid 2770 . . . . . . . . . 10 (rank‘𝑥) = (rank‘𝑥)
7 rspe 3150 . . . . . . . . . 10 ((𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥)) → ∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥))
86, 7mpan2 663 . . . . . . . . 9 (𝑥𝐴 → ∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥))
95, 8exlimi 2241 . . . . . . . 8 (∃𝑥 𝑥𝐴 → ∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥))
104, 9sylbi 207 . . . . . . 7 (𝐴 ≠ ∅ → ∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥))
11 fvex 6342 . . . . . . . . . . 11 (rank‘𝑥) ∈ V
12 eqeq1 2774 . . . . . . . . . . . 12 (𝑦 = (rank‘𝑥) → (𝑦 = (rank‘𝑥) ↔ (rank‘𝑥) = (rank‘𝑥)))
1312anbi2d 606 . . . . . . . . . . 11 (𝑦 = (rank‘𝑥) → ((𝑥𝐴𝑦 = (rank‘𝑥)) ↔ (𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥))))
1411, 13spcev 3449 . . . . . . . . . 10 ((𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥)) → ∃𝑦(𝑥𝐴𝑦 = (rank‘𝑥)))
1514eximi 1909 . . . . . . . . 9 (∃𝑥(𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥)) → ∃𝑥𝑦(𝑥𝐴𝑦 = (rank‘𝑥)))
16 excom 2197 . . . . . . . . 9 (∃𝑦𝑥(𝑥𝐴𝑦 = (rank‘𝑥)) ↔ ∃𝑥𝑦(𝑥𝐴𝑦 = (rank‘𝑥)))
1715, 16sylibr 224 . . . . . . . 8 (∃𝑥(𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥)) → ∃𝑦𝑥(𝑥𝐴𝑦 = (rank‘𝑥)))
18 df-rex 3066 . . . . . . . 8 (∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) ↔ ∃𝑥(𝑥𝐴 ∧ (rank‘𝑥) = (rank‘𝑥)))
19 df-rex 3066 . . . . . . . . 9 (∃𝑥𝐴 𝑦 = (rank‘𝑥) ↔ ∃𝑥(𝑥𝐴𝑦 = (rank‘𝑥)))
2019exbii 1923 . . . . . . . 8 (∃𝑦𝑥𝐴 𝑦 = (rank‘𝑥) ↔ ∃𝑦𝑥(𝑥𝐴𝑦 = (rank‘𝑥)))
2117, 18, 203imtr4i 281 . . . . . . 7 (∃𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) → ∃𝑦𝑥𝐴 𝑦 = (rank‘𝑥))
2210, 21syl 17 . . . . . 6 (𝐴 ≠ ∅ → ∃𝑦𝑥𝐴 𝑦 = (rank‘𝑥))
23 abn0 4099 . . . . . 6 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ≠ ∅ ↔ ∃𝑦𝑥𝐴 𝑦 = (rank‘𝑥))
2422, 23sylibr 224 . . . . 5 (𝐴 ≠ ∅ → {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ≠ ∅)
2511dfiin2 4687 . . . . . 6 𝑥𝐴 (rank‘𝑥) = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)}
26 rankon 8821 . . . . . . . . . 10 (rank‘𝑥) ∈ On
27 eleq1 2837 . . . . . . . . . 10 (𝑦 = (rank‘𝑥) → (𝑦 ∈ On ↔ (rank‘𝑥) ∈ On))
2826, 27mpbiri 248 . . . . . . . . 9 (𝑦 = (rank‘𝑥) → 𝑦 ∈ On)
2928rexlimivw 3176 . . . . . . . 8 (∃𝑥𝐴 𝑦 = (rank‘𝑥) → 𝑦 ∈ On)
3029abssi 3824 . . . . . . 7 {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ⊆ On
31 onint 7141 . . . . . . 7 (({𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ⊆ On ∧ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ≠ ∅) → {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)})
3230, 31mpan 662 . . . . . 6 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ≠ ∅ → {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)})
3325, 32syl5eqel 2853 . . . . 5 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ≠ ∅ → 𝑥𝐴 (rank‘𝑥) ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)})
34 nfii1 4683 . . . . . . . . 9 𝑥 𝑥𝐴 (rank‘𝑥)
3534nfeq2 2928 . . . . . . . 8 𝑥 𝑦 = 𝑥𝐴 (rank‘𝑥)
36 eqeq1 2774 . . . . . . . 8 (𝑦 = 𝑥𝐴 (rank‘𝑥) → (𝑦 = (rank‘𝑥) ↔ 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥)))
3735, 36rexbid 3198 . . . . . . 7 (𝑦 = 𝑥𝐴 (rank‘𝑥) → (∃𝑥𝐴 𝑦 = (rank‘𝑥) ↔ ∃𝑥𝐴 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥)))
3837elabg 3500 . . . . . 6 ( 𝑥𝐴 (rank‘𝑥) ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} → ( 𝑥𝐴 (rank‘𝑥) ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} ↔ ∃𝑥𝐴 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥)))
3938ibi 256 . . . . 5 ( 𝑥𝐴 (rank‘𝑥) ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (rank‘𝑥)} → ∃𝑥𝐴 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥))
40 ssid 3771 . . . . . . . . . 10 (rank‘𝑦) ⊆ (rank‘𝑦)
41 fveq2 6332 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (rank‘𝑥) = (rank‘𝑦))
4241sseq1d 3779 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((rank‘𝑥) ⊆ (rank‘𝑦) ↔ (rank‘𝑦) ⊆ (rank‘𝑦)))
4342rspcev 3458 . . . . . . . . . 10 ((𝑦𝐴 ∧ (rank‘𝑦) ⊆ (rank‘𝑦)) → ∃𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
4440, 43mpan2 663 . . . . . . . . 9 (𝑦𝐴 → ∃𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
45 iinss 4703 . . . . . . . . 9 (∃𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦) → 𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
4644, 45syl 17 . . . . . . . 8 (𝑦𝐴 𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
47 sseq1 3773 . . . . . . . 8 ( 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) → ( 𝑥𝐴 (rank‘𝑥) ⊆ (rank‘𝑦) ↔ (rank‘𝑥) ⊆ (rank‘𝑦)))
4846, 47syl5ib 234 . . . . . . 7 ( 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) → (𝑦𝐴 → (rank‘𝑥) ⊆ (rank‘𝑦)))
4948ralrimiv 3113 . . . . . 6 ( 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) → ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
5049reximi 3158 . . . . 5 (∃𝑥𝐴 𝑥𝐴 (rank‘𝑥) = (rank‘𝑥) → ∃𝑥𝐴𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
5124, 33, 39, 504syl 19 . . . 4 (𝐴 ≠ ∅ → ∃𝑥𝐴𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
52 rabn0 4102 . . . 4 ({𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} ≠ ∅ ↔ ∃𝑥𝐴𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦))
5351, 52sylibr 224 . . 3 (𝐴 ≠ ∅ → {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} ≠ ∅)
5453necon4i 2977 . 2 ({𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = ∅ → 𝐴 = ∅)
553, 54impbii 199 1 (𝐴 = ∅ ↔ {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = ∅)
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 382   = wceq 1630  wex 1851  wcel 2144  {cab 2756  wne 2942  wral 3060  wrex 3061  {crab 3064  wss 3721  c0 4061   cint 4609   ciin 4653  Oncon0 5866  cfv 6031  rankcrnk 8789
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-8 2146  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-sep 4912  ax-nul 4920  ax-pow 4971  ax-pr 5034  ax-un 7095
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3or 1071  df-3an 1072  df-tru 1633  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-mo 2622  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ne 2943  df-ral 3065  df-rex 3066  df-reu 3067  df-rab 3069  df-v 3351  df-sbc 3586  df-csb 3681  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-pss 3737  df-nul 4062  df-if 4224  df-pw 4297  df-sn 4315  df-pr 4317  df-tp 4319  df-op 4321  df-uni 4573  df-int 4610  df-iun 4654  df-iin 4655  df-br 4785  df-opab 4845  df-mpt 4862  df-tr 4885  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-om 7212  df-wrecs 7558  df-recs 7620  df-rdg 7658  df-r1 8790  df-rank 8791
This theorem is referenced by:  scott0s  8914  cplem1  8915  karden  8921  scott0f  34302
  Copyright terms: Public domain W3C validator