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

Theorem opbrop 4419
 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 3984 . . 3 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ 𝜓))
32anbi2d 437 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ 𝜓)))
4 elex 2566 . . . 4 (𝐴𝑆𝐴 ∈ V)
5 elex 2566 . . . 4 (𝐵𝑆𝐵 ∈ V)
6 opexgOLD 3965 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ ∈ V)
74, 5, 6syl2an 273 . . 3 ((𝐴𝑆𝐵𝑆) → ⟨𝐴, 𝐵⟩ ∈ V)
8 elex 2566 . . . 4 (𝐶𝑆𝐶 ∈ V)
9 elex 2566 . . . 4 (𝐷𝑆𝐷 ∈ V)
10 opexgOLD 3965 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → ⟨𝐶, 𝐷⟩ ∈ V)
118, 9, 10syl2an 273 . . 3 ((𝐶𝑆𝐷𝑆) → ⟨𝐶, 𝐷⟩ ∈ V)
12 eleq1 2100 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 ∈ (𝑆 × 𝑆) ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆)))
1312anbi1d 438 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ↔ (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆))))
14 eqeq1 2046 . . . . . . . 8 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 = ⟨𝑧, 𝑤⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩))
1514anbi1d 438 . . . . . . 7 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩)))
1615anbi1d 438 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
17164exbidv 1750 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → (∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
1813, 17anbi12d 442 . . . 4 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
19 eleq1 2100 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 ∈ (𝑆 × 𝑆) ↔ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)))
2019anbi2d 437 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ↔ (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆))))
21 eqeq1 2046 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 = ⟨𝑣, 𝑢⟩ ↔ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩))
2221anbi2d 437 . . . . . . 7 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩)))
2322anbi1d 438 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
24234exbidv 1750 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑)))
2520, 24anbi12d 442 . . . 4 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑)) ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
26 opbrop.2 . . . 4 𝑅 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ 𝜑))}
2718, 25, 26brabg 4006 . . 3 ((⟨𝐴, 𝐵⟩ ∈ V ∧ ⟨𝐶, 𝐷⟩ ∈ V) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
287, 11, 27syl2an 273 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ 𝜑))))
29 opelxpi 4376 . . . 4 ((𝐴𝑆𝐵𝑆) → ⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆))
30 opelxpi 4376 . . . 4 ((𝐶𝑆𝐷𝑆) → ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆))
3129, 30anim12i 321 . . 3 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)))
3231biantrurd 289 . 2 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (𝜓 ↔ ((⟨𝐴, 𝐵⟩ ∈ (𝑆 × 𝑆) ∧ ⟨𝐶, 𝐷⟩ ∈ (𝑆 × 𝑆)) ∧ 𝜓)))
333, 28, 323bitr4d 209 1 (((𝐴𝑆𝐵𝑆) ∧ (𝐶𝑆𝐷𝑆)) → (⟨𝐴, 𝐵𝑅𝐶, 𝐷⟩ ↔ 𝜓))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98   = wceq 1243  ∃wex 1381   ∈ wcel 1393  Vcvv 2557  ⟨cop 3378   class class class wbr 3764  {copab 3817   × cxp 4343 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944 This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-br 3765  df-opab 3819  df-xp 4351 This theorem is referenced by:  ecopoveq  6201  oviec  6212
 Copyright terms: Public domain W3C validator