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

Theorem xpord2lem 33414
Description: Lemma for cross product ordering. Calculate the value of the cross product relationship. (Contributed by Scott Fenton, 19-Aug-2024.)
Hypothesis
Ref Expression
xpord2.1 𝑇 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 × 𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦))}
Assertion
Ref Expression
xpord2lem (⟨𝑎, 𝑏𝑇𝑐, 𝑑⟩ ↔ ((𝑎𝐴𝑏𝐵) ∧ (𝑐𝐴𝑑𝐵) ∧ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑))))
Distinct variable groups:   𝑥,𝑎   𝑥,𝐴   𝑦,𝑎   𝑦,𝐴   𝑥,𝑏   𝑥,𝐵   𝑦,𝑏   𝑦,𝐵   𝑥,𝑐,𝑦   𝑥,𝑑,𝑦   𝑥,𝑅,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝐴(𝑎,𝑏,𝑐,𝑑)   𝐵(𝑎,𝑏,𝑐,𝑑)   𝑅(𝑎,𝑏,𝑐,𝑑)   𝑆(𝑎,𝑏,𝑐,𝑑)   𝑇(𝑥,𝑦,𝑎,𝑏,𝑐,𝑑)

Proof of Theorem xpord2lem
StepHypRef Expression
1 opex 5332 . 2 𝑎, 𝑏⟩ ∈ V
2 opex 5332 . 2 𝑐, 𝑑⟩ ∈ V
3 eleq1 2821 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥 ∈ (𝐴 × 𝐵) ↔ ⟨𝑎, 𝑏⟩ ∈ (𝐴 × 𝐵)))
4 opelxp 5571 . . . 4 (⟨𝑎, 𝑏⟩ ∈ (𝐴 × 𝐵) ↔ (𝑎𝐴𝑏𝐵))
53, 4bitrdi 290 . . 3 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥 ∈ (𝐴 × 𝐵) ↔ (𝑎𝐴𝑏𝐵)))
6 vex 3404 . . . . . . 7 𝑎 ∈ V
7 vex 3404 . . . . . . 7 𝑏 ∈ V
86, 7op1std 7736 . . . . . 6 (𝑥 = ⟨𝑎, 𝑏⟩ → (1st𝑥) = 𝑎)
98breq1d 5050 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((1st𝑥)𝑅(1st𝑦) ↔ 𝑎𝑅(1st𝑦)))
108eqeq1d 2741 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((1st𝑥) = (1st𝑦) ↔ 𝑎 = (1st𝑦)))
119, 10orbi12d 918 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ↔ (𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦))))
126, 7op2ndd 7737 . . . . . 6 (𝑥 = ⟨𝑎, 𝑏⟩ → (2nd𝑥) = 𝑏)
1312breq1d 5050 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((2nd𝑥)𝑆(2nd𝑦) ↔ 𝑏𝑆(2nd𝑦)))
1412eqeq1d 2741 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((2nd𝑥) = (2nd𝑦) ↔ 𝑏 = (2nd𝑦)))
1513, 14orbi12d 918 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ↔ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦))))
16 neeq1 2997 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥𝑦 ↔ ⟨𝑎, 𝑏⟩ ≠ 𝑦))
1711, 15, 163anbi123d 1437 . . 3 (𝑥 = ⟨𝑎, 𝑏⟩ → ((((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦) ↔ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦)))
185, 173anbi13d 1439 . 2 (𝑥 = ⟨𝑎, 𝑏⟩ → ((𝑥 ∈ (𝐴 × 𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦)) ↔ ((𝑎𝐴𝑏𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦))))
19 eleq1 2821 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑦 ∈ (𝐴 × 𝐵) ↔ ⟨𝑐, 𝑑⟩ ∈ (𝐴 × 𝐵)))
20 opelxp 5571 . . . 4 (⟨𝑐, 𝑑⟩ ∈ (𝐴 × 𝐵) ↔ (𝑐𝐴𝑑𝐵))
2119, 20bitrdi 290 . . 3 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑦 ∈ (𝐴 × 𝐵) ↔ (𝑐𝐴𝑑𝐵)))
22 vex 3404 . . . . . . 7 𝑐 ∈ V
23 vex 3404 . . . . . . 7 𝑑 ∈ V
2422, 23op1std 7736 . . . . . 6 (𝑦 = ⟨𝑐, 𝑑⟩ → (1st𝑦) = 𝑐)
2524breq2d 5052 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑎𝑅(1st𝑦) ↔ 𝑎𝑅𝑐))
2624eqeq2d 2750 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑎 = (1st𝑦) ↔ 𝑎 = 𝑐))
2725, 26orbi12d 918 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ↔ (𝑎𝑅𝑐𝑎 = 𝑐)))
2822, 23op2ndd 7737 . . . . . 6 (𝑦 = ⟨𝑐, 𝑑⟩ → (2nd𝑦) = 𝑑)
2928breq2d 5052 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑏𝑆(2nd𝑦) ↔ 𝑏𝑆𝑑))
3028eqeq2d 2750 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑏 = (2nd𝑦) ↔ 𝑏 = 𝑑))
3129, 30orbi12d 918 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → ((𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ↔ (𝑏𝑆𝑑𝑏 = 𝑑)))
32 neeq2 2998 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (⟨𝑎, 𝑏⟩ ≠ 𝑦 ↔ ⟨𝑎, 𝑏⟩ ≠ ⟨𝑐, 𝑑⟩))
336, 7opthne 5350 . . . . 5 (⟨𝑎, 𝑏⟩ ≠ ⟨𝑐, 𝑑⟩ ↔ (𝑎𝑐𝑏𝑑))
3432, 33bitrdi 290 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → (⟨𝑎, 𝑏⟩ ≠ 𝑦 ↔ (𝑎𝑐𝑏𝑑)))
3527, 31, 343anbi123d 1437 . . 3 (𝑦 = ⟨𝑐, 𝑑⟩ → (((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦) ↔ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑))))
3621, 353anbi23d 1440 . 2 (𝑦 = ⟨𝑐, 𝑑⟩ → (((𝑎𝐴𝑏𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦)) ↔ ((𝑎𝐴𝑏𝐵) ∧ (𝑐𝐴𝑑𝐵) ∧ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑)))))
37 xpord2.1 . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 × 𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦))}
381, 2, 18, 36, 37brab 5408 1 (⟨𝑎, 𝑏𝑇𝑐, 𝑑⟩ ↔ ((𝑎𝐴𝑏𝐵) ∧ (𝑐𝐴𝑑𝐵) ∧ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑))))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399  wo 846  w3a 1088   = wceq 1542  wcel 2114  wne 2935  cop 4532   class class class wbr 5040  {copab 5102   × cxp 5533  cfv 6349  1st c1st 7724  2nd c2nd 7725
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-sep 5177  ax-nul 5184  ax-pr 5306  ax-un 7491
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3402  df-sbc 3686  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4807  df-br 5041  df-opab 5103  df-mpt 5121  df-id 5439  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-rn 5546  df-iota 6307  df-fun 6351  df-fv 6357  df-1st 7726  df-2nd 7727
This theorem is referenced by:  poxp2  33415  frxp2  33416  xpord2pred  33417
  Copyright terms: Public domain W3C validator