Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-gabss Structured version   Visualization version   GIF version

Theorem bj-gabss 37981
Description: Inclusion of generalized class abstractions. (Contributed by BJ, 4-Oct-2024.)
Assertion
Ref Expression
bj-gabss (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝐴 ∣ 𝑥 ∣ 𝜑} ⊆ {𝐵 ∣ 𝑥 ∣ 𝜓})

Proof of Theorem bj-gabss
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2767 . . . . . . . 8 (𝐴 = 𝐵 → (𝐴 = 𝑦 ↔ 𝐵 = 𝑦))
21biimpd 232 . . . . . . 7 (𝐴 = 𝐵 → (𝐴 = 𝑦 → 𝐵 = 𝑦))
32adantr 486 . . . . . 6 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (𝐴 = 𝑦 → 𝐵 = 𝑦))
4 simpr 490 . . . . . 6 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (𝜑 → 𝜓))
53, 4anim12d 621 . . . . 5 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → ((𝐴 = 𝑦 ∧ 𝜑) → (𝐵 = 𝑦 ∧ 𝜓)))
65aleximi 1864 . . . 4 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
76alrimiv 1961 . . 3 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
8 ss2ab 3989 . . 3 ({𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)} ↔ ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
97, 8sylibr 237 . 2 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)})
10 df-bj-gab 37980 . 2 {𝐴 ∣ 𝑥 ∣ 𝜑} = {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)}
11 df-bj-gab 37980 . 2 {𝐵 ∣ 𝑥 ∣ 𝜓} = {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)}
129, 10, 113sstr4g 3966 1 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝐴 ∣ 𝑥 ∣ 𝜑} ⊆ {𝐵 ∣ 𝑥 ∣ 𝜓})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811  {cab 2741   ⊆ wss 3900  {bj-cgab 37979
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-nf 1816  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ss 3901  df-bj-gab 37980
This theorem is used by:  bj-gabssd  37982
  Copyright terms: Public domain W3C validator