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 38063
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 1865 . . . 4 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → (∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
76alrimiv 1962 . . 3 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
8 ss2ab 3989 . . 3 ({𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)} ↔ ∀𝑦(∃𝑥(𝐴 = 𝑦 ∧ 𝜑) → ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)))
97, 8sylibr 237 . 2 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)} ⊆ {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)})
10 df-bj-gab 38062 . 2 {𝐴 ∣ 𝑥 ∣ 𝜑} = {𝑦 ∣ ∃𝑥(𝐴 = 𝑦 ∧ 𝜑)}
11 df-bj-gab 38062 . 2 {𝐵 ∣ 𝑥 ∣ 𝜓} = {𝑦 ∣ ∃𝑥(𝐵 = 𝑦 ∧ 𝜓)}
129, 10, 113sstr4g 3966 1 (∀𝑥(𝐴 = 𝐵 ∧ (𝜑 → 𝜓)) → {𝐴 ∣ 𝑥 ∣ 𝜑} ⊆ {𝐵 ∣ 𝑥 ∣ 𝜓})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812  {cab 2741   ⊆ wss 3900  {bj-cgab 38061
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ss 3901  df-bj-gab 38062
This theorem is used by:  bj-gabssd  38064
  Copyright terms: Public domain W3C validator