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

Theorem scotteqd 9872
Description: Equality theorem for the Scott operation. (Contributed by Rohan Ridenour, 9-Aug-2023.)
Hypothesis
Ref Expression
scotteqd.1 (𝜑𝐴 = 𝐵)
Assertion
Ref Expression
scotteqd (𝜑 → Scott 𝐴 = Scott 𝐵)

Proof of Theorem scotteqd
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 scotteqd.1 . . 3 (𝜑𝐴 = 𝐵)
21adantr 486 . . . 4 ((𝜑𝑥𝐴) → 𝐴 = 𝐵)
32raleqdv 3321 . . 3 ((𝜑𝑥𝐴) → (∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦) ↔ ∀𝑦𝐵 (rank‘𝑥) ⊆ (rank‘𝑦)))
41, 3rabeqbidva 3430 . 2 (𝜑 → {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)} = {𝑥𝐵 ∣ ∀𝑦𝐵 (rank‘𝑥) ⊆ (rank‘𝑦)})
5 df-scott 9871 . 2 Scott 𝐴 = {𝑥𝐴 ∣ ∀𝑦𝐴 (rank‘𝑥) ⊆ (rank‘𝑦)}
6 df-scott 9871 . 2 Scott 𝐵 = {𝑥𝐵 ∣ ∀𝑦𝐵 (rank‘𝑥) ⊆ (rank‘𝑦)}
74, 5, 63eqtr4g 2822 1 (𝜑 → Scott 𝐴 = Scott 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2145  wral 3078  {crab 3414  wss 3902  cfv 6537  rankcrnk 9748  Scott cscott 9870
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2734
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-sb 2100  df-clab 2741  df-cleq 2754  df-clel 2837  df-ral 3079  df-rex 3089  df-rab 3415  df-scott 9871
This theorem is used by:  scotteq  9873  karden  9901  kardval  35663  kard0  35665  dfcoll2  45061  colleq12d  45062
  Copyright terms: Public domain W3C validator