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 37848
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 2765 . . . . . . . 8 (𝐴 = 𝐵 → (𝐴 = 𝑦 ↔ 𝐵 = 𝑦))
21biimpd 232 . . . . . . 7 (𝐴 = 𝐵 → (𝐴 = 𝑦 → 𝐵 = 𝑦))
32adantr 486 . . . . . 6 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (𝐴 = 𝑦 → 𝐵 = 𝑦))
4 simpr 490 . . . . . 6 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (𝜑 → 𝜓))
53, 4anim12d 621 . . . . 5 ((𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → ((𝐴 = 𝑦 ∧ 𝜑) → (𝐵 = 𝑦 ∧ 𝜓)))
65aleximi 1865 . . . 4 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
76alrimiv 1960 . . 3 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
8 ss2ab 4009 . . 3 ({𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)} ↔ ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
97, 8sylibr 237 . 2 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)})
10 df-bj-gab 37847 . 2 {𝐴 ∣ 𝑥 ∣ 𝜑} = {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)}
11 df-bj-gab 37847 . 2 {𝐵 ∣ 𝑥 ∣ 𝜓} = {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)}
129, 10, 113sstr4g 3984 1 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝐴 ∣ 𝑥 ∣ 𝜑} ⊆ {𝐵 ∣ 𝑥 ∣ 𝜓})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812  {cab 2739   ⊆ wss 3899  {bj-cgab 37846
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-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ss 3916  df-bj-gab 37847
This theorem is used by:  bj-gabssd  37849
  Copyright terms: Public domain W3C validator