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 40625
Description: Value of the Scott operation at a class abstraction. Variant of scottab 40626 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 40621 . 2 Scott {𝑥𝜑} = {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)}
2 df-rab 3147 . 2 {𝑧 ∈ {𝑥𝜑} ∣ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)} = {𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))}
3 abeq1 2946 . . 3 ({𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ↔ ∀𝑧((𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)) ↔ 𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}))
4 nfsab1 2808 . . . . . 6 𝑥 𝑧 ∈ {𝑥𝜑}
5 nfab1 2979 . . . . . . 7 𝑥{𝑥𝜑}
6 nfv 1915 . . . . . . 7 𝑥(rank‘𝑧) ⊆ (rank‘𝑤)
75, 6nfralw 3225 . . . . . 6 𝑥𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)
84, 7nfan 1900 . . . . 5 𝑥(𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))
9 vex 3497 . . . . 5 𝑧 ∈ V
10 abid 2803 . . . . . . 7 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
11 eleq1w 2895 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 ∈ {𝑥𝜑} ↔ 𝑧 ∈ {𝑥𝜑}))
1210, 11syl5bbr 287 . . . . . 6 (𝑥 = 𝑧 → (𝜑𝑧 ∈ {𝑥𝜑}))
13 df-clab 2800 . . . . . . . . . . . 12 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
14 scottabf.1 . . . . . . . . . . . . 13 𝑥𝜓
15 scottabf.2 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝜑𝜓))
1614, 15sbiev 2330 . . . . . . . . . . . 12 ([𝑦 / 𝑥]𝜑𝜓)
1713, 16bitr2i 278 . . . . . . . . . . 11 (𝜓𝑦 ∈ {𝑥𝜑})
18 eleq1w 2895 . . . . . . . . . . 11 (𝑦 = 𝑤 → (𝑦 ∈ {𝑥𝜑} ↔ 𝑤 ∈ {𝑥𝜑}))
1917, 18syl5bb 285 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝜓𝑤 ∈ {𝑥𝜑}))
2019adantl 484 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜓𝑤 ∈ {𝑥𝜑}))
21 simpl 485 . . . . . . . . . . 11 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑥 = 𝑧)
2221fveq2d 6674 . . . . . . . . . 10 ((𝑥 = 𝑧𝑦 = 𝑤) → (rank‘𝑥) = (rank‘𝑧))
23 simpr 487 . . . . . . . . . . 11 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑦 = 𝑤)
2423fveq2d 6674 . . . . . . . . . 10 ((𝑥 = 𝑧𝑦 = 𝑤) → (rank‘𝑦) = (rank‘𝑤))
2522, 24sseq12d 4000 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → ((rank‘𝑥) ⊆ (rank‘𝑦) ↔ (rank‘𝑧) ⊆ (rank‘𝑤)))
2620, 25imbi12d 347 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ (𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤))))
2726cbvaldvaw 2045 . . . . . . 7 (𝑥 = 𝑧 → (∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑤(𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤))))
28 df-ral 3143 . . . . . . 7 (∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤) ↔ ∀𝑤(𝑤 ∈ {𝑥𝜑} → (rank‘𝑧) ⊆ (rank‘𝑤)))
2927, 28syl6bbr 291 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)) ↔ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)))
3012, 29anbi12d 632 . . . . 5 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦))) ↔ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))))
318, 9, 30elabf 3665 . . . 4 (𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))} ↔ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)))
3231bicomi 226 . . 3 ((𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤)) ↔ 𝑧 ∈ {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))})
333, 32mpgbir 1800 . 2 {𝑧 ∣ (𝑧 ∈ {𝑥𝜑} ∧ ∀𝑤 ∈ {𝑥𝜑} (rank‘𝑧) ⊆ (rank‘𝑤))} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
341, 2, 333eqtri 2848 1 Scott {𝑥𝜑} = {𝑥 ∣ (𝜑 ∧ ∀𝑦(𝜓 → (rank‘𝑥) ⊆ (rank‘𝑦)))}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wnf 1784  [wsb 2069  wcel 2114  {cab 2799  wral 3138  {crab 3142  wss 3936  cfv 6355  rankcrnk 9192  Scott cscott 40620
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-iota 6314  df-fv 6363  df-scott 40621
This theorem is referenced by:  scottab  40626  scottabes  40627
  Copyright terms: Public domain W3C validator