Users' Mathboxes Mathbox for Rohan Ridenour < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  scottabf Structured version   Visualization version   GIF version

Theorem scottabf 41747
Description: Value of the Scott operation at a class abstraction. Variant of scottab 41748 with a nonfreeness hypothesis instead of a disjoint variable condition. (Contributed by Rohan Ridenour, 14-Aug-2023.)
Hypotheses
Ref Expression
scottabf.1 𝑥𝜓
scottabf.2 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
scottabf Scott {𝑥𝜑} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
Distinct variable groups:   𝜑,𝑦   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥,𝑦)

Proof of Theorem scottabf
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-scott 41743 . 2 Scott {𝑥𝜑} = {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)}
2 df-rab 3072 . 2 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)} = {𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))}
3 abeq1 2872 . . 3 ({𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ↔ ∀𝑧((𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)) ↔ 𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}))
4 nfsab1 2723 . . . . . 6 𝑥 𝑧 ∈ {𝑥𝜑}
5 nfab1 2908 . . . . . . 7 𝑥{𝑥𝜑}
6 nfv 1918 . . . . . . 7 𝑥(rank‘𝑧) ⊆ (rank‘𝑤)
75, 6nfralw 3149 . . . . . 6 𝑥𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)
84, 7nfan 1903 . . . . 5 𝑥(𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))
9 vex 3426 . . . . 5 𝑧 ∈ V
10 abid 2719 . . . . . . 7 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
11 eleq1w 2821 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 ∈ {𝑥𝜑} ↔ 𝑧 ∈ {𝑥𝜑}))
1210, 11bitr3id 284 . . . . . 6 (𝑥 = 𝑧 → (𝜑𝑧 ∈ {𝑥𝜑}))
13 df-clab 2716 . . . . . . . . . . . 12 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
14 scottabf.1 . . . . . . . . . . . . 13 𝑥𝜓
15 scottabf.2 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝜑𝜓))
1614, 15sbiev 2312 . . . . . . . . . . . 12 ([𝑦 / 𝑥]𝜑𝜓)
1713, 16bitr2i 275 . . . . . . . . . . 11 (𝜓𝑦 ∈ {𝑥𝜑})
18 eleq1w 2821 . . . . . . . . . . 11 (𝑦 = 𝑤 → (𝑦 ∈ {𝑥𝜑} ↔ 𝑤 ∈ {𝑥𝜑}))
1917, 18syl5bb 282 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝜓𝑤 ∈ {𝑥𝜑}))
2019adantl 481 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜓𝑤 ∈ {𝑥𝜑}))
21 simpl 482 . . . . . . . . . . 11 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑥 = 𝑧)
2221fveq2d 6760 . . . . . . . . . 10 ((𝑥 = 𝑧𝑦 = 𝑤) → (rank‘𝑥) = (rank‘𝑧))
23 simpr 484 . . . . . . . . . . 11 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑦 = 𝑤)
2423fveq2d 6760 . . . . . . . . . 10 ((𝑥 = 𝑧𝑦 = 𝑤) → (rank‘𝑦) = (rank‘𝑤))
2522, 24sseq12d 3950 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → ((rank‘𝑥) ⊆ (rank‘𝑦) ↔ (rank‘𝑧) ⊆ (rank‘𝑤)))
2620, 25imbi12d 344 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤))))
2726cbvaldvaw 2042 . . . . . . 7 (𝑥 = 𝑧 → (∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑤(𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤))))
28 df-ral 3068 . . . . . . 7 (∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤) ↔ ∀𝑤(𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤)))
2927, 28bitr4di 288 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)))
3012, 29anbi12d 630 . . . . 5 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦))) ↔ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))))
318, 9, 30elabf 3599 . . . 4 (𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ↔ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)))
3231bicomi 223 . . 3 ((𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)) ↔ 𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))})
333, 32mpgbir 1803 . 2 {𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
341, 2, 333eqtri 2770 1 Scott {𝑥𝜑} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wnf 1787  [wsb 2068  wcel 2108  {cab 2715  wral 3063  {crab 3067  wss 3883  cfv 6418  rankcrnk 9452  Scott cscott 41742
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-scott 41743
This theorem is referenced by:  scottab  41748  scottabes  41749
  Copyright terms: Public domain W3C validator