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

Theorem optocl 5708
Description: Implicit substitution of class for ordered pair. (Contributed by NM, 5-Mar-1995.) Shorten and reduce axiom usage. (Revised by TM, 29-Dec-2025.)
Hypotheses
Ref Expression
optocl.1 𝐷 = (𝐵 × 𝐶)
optocl.2 (⟨𝑥, 𝑦⟩ = 𝐴 → (𝜑𝜓))
optocl.3 ((𝑥𝐵𝑦𝐶) → 𝜑)
Assertion
Ref Expression
optocl (𝐴𝐷𝜓)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶,𝑦   𝜓,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐷(𝑥,𝑦)

Proof of Theorem optocl
StepHypRef Expression
1 elxpi 5636 . . 3 (𝐴 ∈ (𝐵 × 𝐶) → ∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)))
2 optocl.3 . . . . . 6 ((𝑥𝐵𝑦𝐶) → 𝜑)
3 optocl.2 . . . . . . 7 (⟨𝑥, 𝑦⟩ = 𝐴 → (𝜑𝜓))
43eqcoms 2739 . . . . . 6 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
52, 4imbitrid 244 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → ((𝑥𝐵𝑦𝐶) → 𝜓))
65imp 406 . . . 4 ((𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) → 𝜓)
76exlimivv 1933 . . 3 (∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) → 𝜓)
81, 7syl 17 . 2 (𝐴 ∈ (𝐵 × 𝐶) → 𝜓)
9 optocl.1 . 2 𝐷 = (𝐵 × 𝐶)
108, 9eleq2s 2849 1 (𝐴𝐷𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1541  wex 1780  wcel 2111  cop 4579   × cxp 5612
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1544  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-opab 5152  df-xp 5620
This theorem is referenced by:  2optocl  5710  3optocl  5711  ecoptocl  8731  ax1rid  11052  axcnre  11055
  Copyright terms: Public domain W3C validator