Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  opbrop GIF version

Theorem opbrop 4662
 Description: Ordered pair membership in a relation. Special case. (Contributed by NM, 5-Aug-1995.)
Hypotheses
Ref Expression
opbrop.1 (((𝑧 = 𝐴𝑤 = 𝐵) ∧ (𝑣 = 𝐶𝑢 = 𝐷)) → (𝜑𝜓))
opbrop.2 𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑))}
Assertion
Ref Expression
opbrop (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ 𝜓))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢,𝐴   𝑥,𝐵,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝐶,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝐷,𝑦,𝑧,𝑤,𝑣,𝑢   𝑥,𝑆,𝑦,𝑧,𝑤,𝑣,𝑢   𝜑,𝑥,𝑦   𝜓,𝑧,𝑤,𝑣,𝑢
Allowed substitution hints:   𝜑(𝑧,𝑤,𝑣,𝑢)   𝜓(𝑥,𝑦)   𝑅(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)

Proof of Theorem opbrop
StepHypRef Expression
1 opbrop.1 . . . 4 (((𝑧 = 𝐴𝑤 = 𝐵) ∧ (𝑣 = 𝐶𝑢 = 𝐷)) → (𝜑𝜓))
21copsex4g 4206 . . 3 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ 𝜓))
32anbi2d 460 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ 𝜓)))
4 opexg 4187 . . 3 ((𝐴𝑆𝐵𝑆) → ⟨𝐴, 𝐵⟩ ∈ V)
5 opexg 4187 . . 3 ((𝐶𝑆𝐷𝑆) → ⟨𝐶, 𝐷⟩ ∈ V)
6 eleq1 2220 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 ∈ (𝑆 × 𝑆) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆)))
76anbi1d 461 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ↔ (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆))))
8 eqeq1 2164 . . . . . . . 8 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 = ⟨𝑧, 𝑤⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩))
98anbi1d 461 . . . . . . 7 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩)))
109anbi1d 461 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
11104exbidv 1850 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → (∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
127, 11anbi12d 465 . . . 4 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
13 eleq1 2220 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 ∈ (𝑆 × 𝑆) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)))
1413anbi2d 460 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ↔ (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆))))
15 eqeq1 2164 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 = ⟨𝑣, 𝑢⟩ ↔ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩))
1615anbi2d 460 . . . . . . 7 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩)))
1716anbi1d 461 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
18174exbidv 1850 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
1914, 18anbi12d 465 . . . 4 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
20 opbrop.2 . . . 4 𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑))}
2112, 19, 20brabg 4228 . . 3 ((⟨𝐴, 𝐵⟩ ∈ V ∧ ⟨𝐶, 𝐷⟩ ∈ V) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
224, 5, 21syl2an 287 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
23 opelxpi 4615 . . . 4 ((𝐴𝑆𝐵𝑆) → ⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆))
24 opelxpi 4615 . . . 4 ((𝐶𝑆𝐷𝑆) → ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆))
2523, 24anim12i 336 . . 3 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)))
2625biantrurd 303 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (𝜓 ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ 𝜓)))
273, 22, 263bitr4d 219 1 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ 𝜓))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ↔ wb 104   = wceq 1335  ∃wex 1472   ∈ wcel 2128  Vcvv 2712  ⟨cop 3563   class class class wbr 3965  {copab 4024   × cxp 4581 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-14 2131  ax-ext 2139  ax-sep 4082  ax-pow 4134  ax-pr 4168 This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1338  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-rex 2441  df-v 2714  df-un 3106  df-in 3108  df-ss 3115  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-br 3966  df-opab 4026  df-xp 4589 This theorem is referenced by:  ecopoveq  6568  oviec  6579
 Copyright terms: Public domain W3C validator