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

Theorem optocl 5746
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 5673 . . 3 (𝐴 ∈ (𝐵 × 𝐶) → ∃𝑥∃𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶)))
2 optocl.3 . . . . . 6 ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶) → 𝜑)
3 optocl.2 . . . . . . 7 (⟨𝑥, 𝑦⟩ = 𝐴 → (𝜑 ↔ 𝜓))
43eqcoms 2768 . . . . . 6 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝜑 ↔ 𝜓))
52, 4imbitrid 247 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶) → 𝜓))
65imp 412 . . . 4 ((𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶)) → 𝜓)
76exlimivv 1964 . . 3 (∃𝑥∃𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶)) → 𝜓)
81, 7syl 18 . 2 (𝐴 ∈ (𝐵 × 𝐶) → 𝜓)
9 optocl.1 . 2 𝐷 = (𝐵 × 𝐶)
108, 9eleq2s 2878 1 (𝐴 ∈ 𝐷 → 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ⟨cop 4834   × cxp 5649
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-opab 5167  df-xp 5657
This theorem is used by:  2optocl  5748  3optocl  5749  ecoptocl  8836  ax1rid  11253  axcnre  11256
  Copyright terms: Public domain W3C validator