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

Theorem cgsex2gd 37978
Description: Implicit substitution inference for general classes. (Contributed by NM, 26-Jul-1995.) Adapt cgsex2g 3495 to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use cgsex2g 3495. (Proof modification is discouraged.)
Hypotheses
Ref Expression
cgsex2gd.is ((𝜑 ∧ (𝑥 = 𝐴 ∧ 𝑦 = 𝐵)) → 𝜓)
cgsex2gd.maj ((𝜑 ∧ 𝜓) → (𝜒 ↔ 𝜃))
Assertion
Ref Expression
cgsex2gd ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → (∃𝑥∃𝑦(𝜓 ∧ 𝜒) ↔ 𝜃))
Distinct variable groups:   𝜑,𝑥,𝑦   𝜃,𝑥,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜓(𝑥, 𝑦)   𝜒(𝑥, 𝑦)   𝑉(𝑥, 𝑦)   𝑊(𝑥, 𝑦)

Proof of Theorem cgsex2gd
StepHypRef Expression
1 cgsex2gd.maj . . . . . 6 ((𝜑 ∧ 𝜓) → (𝜒 ↔ 𝜃))
21biimp3a 1498 . . . . 5 ((𝜑 ∧ 𝜓 ∧ 𝜒) → 𝜃)
323expib 1140 . . . 4 (𝜑 → ((𝜓 ∧ 𝜒) → 𝜃))
43exlimdvv 1967 . . 3 (𝜑 → (∃𝑥∃𝑦(𝜓 ∧ 𝜒) → 𝜃))
54adantr 486 . 2 ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → (∃𝑥∃𝑦(𝜓 ∧ 𝜒) → 𝜃))
6 cgsex2gd.is . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴 ∧ 𝑦 = 𝐵)) → 𝜓)
76ex 418 . . . . 5 (𝜑 → ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → 𝜓))
872eximdv 1952 . . . 4 (𝜑 → (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → ∃𝑥∃𝑦𝜓))
9 elisset 2842 . . . . . 6 (𝐴 ∈ 𝑉 → ∃𝑥 𝑥 = 𝐴)
10 elisset 2842 . . . . . 6 (𝐵 ∈ 𝑊 → ∃𝑦 𝑦 = 𝐵)
119, 10anim12i 625 . . . . 5 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
12 exdistrv 1988 . . . . 5 (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
1311, 12sylibr 237 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵))
148, 13impel 515 . . 3 ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → ∃𝑥∃𝑦𝜓)
151biimprd 251 . . . . . . . 8 ((𝜑 ∧ 𝜓) → (𝜃 → 𝜒))
1615impancom 457 . . . . . . 7 ((𝜑 ∧ 𝜃) → (𝜓 → 𝜒))
1716ancld 560 . . . . . 6 ((𝜑 ∧ 𝜃) → (𝜓 → (𝜓 ∧ 𝜒)))
18172eximdv 1952 . . . . 5 ((𝜑 ∧ 𝜃) → (∃𝑥∃𝑦𝜓 → ∃𝑥∃𝑦(𝜓 ∧ 𝜒)))
1918expimpd 459 . . . 4 (𝜑 → ((𝜃 ∧ ∃𝑥∃𝑦𝜓) → ∃𝑥∃𝑦(𝜓 ∧ 𝜒)))
2019adantr 486 . . 3 ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → ((𝜃 ∧ ∃𝑥∃𝑦𝜓) → ∃𝑥∃𝑦(𝜓 ∧ 𝜒)))
2114, 20mpan2d 707 . 2 ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → (𝜃 → ∃𝑥∃𝑦(𝜓 ∧ 𝜒)))
225, 21impbid 215 1 ((𝜑 ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊)) → (∃𝑥∃𝑦(𝜓 ∧ 𝜒) ↔ 𝜃))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145
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
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2739  df-clel 2835
This theorem is used by:  copsex2gd  37979
  Copyright terms: Public domain W3C validator