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 33356
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 5328 . 2 𝑎, 𝑏⟩ ∈ V
2 opex 5328 . 2 𝑐, 𝑑⟩ ∈ V
3 eleq1 2839 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥 ∈ (𝐴 × 𝐵) ↔ ⟨𝑎, 𝑏⟩ ∈ (𝐴 × 𝐵)))
4 opelxp 5564 . . . 4 (⟨𝑎, 𝑏⟩ ∈ (𝐴 × 𝐵) ↔ (𝑎𝐴𝑏𝐵))
53, 4bitrdi 290 . . 3 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥 ∈ (𝐴 × 𝐵) ↔ (𝑎𝐴𝑏𝐵)))
6 vex 3413 . . . . . . 7 𝑎 ∈ V
7 vex 3413 . . . . . . 7 𝑏 ∈ V
86, 7op1std 7709 . . . . . 6 (𝑥 = ⟨𝑎, 𝑏⟩ → (1st𝑥) = 𝑎)
98breq1d 5046 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((1st𝑥)𝑅(1st𝑦) ↔ 𝑎𝑅(1st𝑦)))
108eqeq1d 2760 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((1st𝑥) = (1st𝑦) ↔ 𝑎 = (1st𝑦)))
119, 10orbi12d 916 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ↔ (𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦))))
126, 7op2ndd 7710 . . . . . 6 (𝑥 = ⟨𝑎, 𝑏⟩ → (2nd𝑥) = 𝑏)
1312breq1d 5046 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((2nd𝑥)𝑆(2nd𝑦) ↔ 𝑏𝑆(2nd𝑦)))
1412eqeq1d 2760 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → ((2nd𝑥) = (2nd𝑦) ↔ 𝑏 = (2nd𝑦)))
1513, 14orbi12d 916 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ↔ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦))))
16 neeq1 3013 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝑥𝑦 ↔ ⟨𝑎, 𝑏⟩ ≠ 𝑦))
1711, 15, 163anbi123d 1433 . . 3 (𝑥 = ⟨𝑎, 𝑏⟩ → ((((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦) ↔ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦)))
185, 173anbi13d 1435 . 2 (𝑥 = ⟨𝑎, 𝑏⟩ → ((𝑥 ∈ (𝐴 × 𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦)) ↔ ((𝑎𝐴𝑏𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦))))
19 eleq1 2839 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑦 ∈ (𝐴 × 𝐵) ↔ ⟨𝑐, 𝑑⟩ ∈ (𝐴 × 𝐵)))
20 opelxp 5564 . . . 4 (⟨𝑐, 𝑑⟩ ∈ (𝐴 × 𝐵) ↔ (𝑐𝐴𝑑𝐵))
2119, 20bitrdi 290 . . 3 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑦 ∈ (𝐴 × 𝐵) ↔ (𝑐𝐴𝑑𝐵)))
22 vex 3413 . . . . . . 7 𝑐 ∈ V
23 vex 3413 . . . . . . 7 𝑑 ∈ V
2422, 23op1std 7709 . . . . . 6 (𝑦 = ⟨𝑐, 𝑑⟩ → (1st𝑦) = 𝑐)
2524breq2d 5048 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑎𝑅(1st𝑦) ↔ 𝑎𝑅𝑐))
2624eqeq2d 2769 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑎 = (1st𝑦) ↔ 𝑎 = 𝑐))
2725, 26orbi12d 916 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ↔ (𝑎𝑅𝑐𝑎 = 𝑐)))
2822, 23op2ndd 7710 . . . . . 6 (𝑦 = ⟨𝑐, 𝑑⟩ → (2nd𝑦) = 𝑑)
2928breq2d 5048 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑏𝑆(2nd𝑦) ↔ 𝑏𝑆𝑑))
3028eqeq2d 2769 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (𝑏 = (2nd𝑦) ↔ 𝑏 = 𝑑))
3129, 30orbi12d 916 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → ((𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ↔ (𝑏𝑆𝑑𝑏 = 𝑑)))
32 neeq2 3014 . . . . 5 (𝑦 = ⟨𝑐, 𝑑⟩ → (⟨𝑎, 𝑏⟩ ≠ 𝑦 ↔ ⟨𝑎, 𝑏⟩ ≠ ⟨𝑐, 𝑑⟩))
336, 7opthne 5346 . . . . 5 (⟨𝑎, 𝑏⟩ ≠ ⟨𝑐, 𝑑⟩ ↔ (𝑎𝑐𝑏𝑑))
3432, 33bitrdi 290 . . . 4 (𝑦 = ⟨𝑐, 𝑑⟩ → (⟨𝑎, 𝑏⟩ ≠ 𝑦 ↔ (𝑎𝑐𝑏𝑑)))
3527, 31, 343anbi123d 1433 . . 3 (𝑦 = ⟨𝑐, 𝑑⟩ → (((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦) ↔ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑))))
3621, 353anbi23d 1436 . 2 (𝑦 = ⟨𝑐, 𝑑⟩ → (((𝑎𝐴𝑏𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ ((𝑎𝑅(1st𝑦) ∨ 𝑎 = (1st𝑦)) ∧ (𝑏𝑆(2nd𝑦) ∨ 𝑏 = (2nd𝑦)) ∧ ⟨𝑎, 𝑏⟩ ≠ 𝑦)) ↔ ((𝑎𝐴𝑏𝐵) ∧ (𝑐𝐴𝑑𝐵) ∧ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑)))))
37 xpord2.1 . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 × 𝐵) ∧ 𝑦 ∈ (𝐴 × 𝐵) ∧ (((1st𝑥)𝑅(1st𝑦) ∨ (1st𝑥) = (1st𝑦)) ∧ ((2nd𝑥)𝑆(2nd𝑦) ∨ (2nd𝑥) = (2nd𝑦)) ∧ 𝑥𝑦))}
381, 2, 18, 36, 37brab 5404 1 (⟨𝑎, 𝑏𝑇𝑐, 𝑑⟩ ↔ ((𝑎𝐴𝑏𝐵) ∧ (𝑐𝐴𝑑𝐵) ∧ ((𝑎𝑅𝑐𝑎 = 𝑐) ∧ (𝑏𝑆𝑑𝑏 = 𝑑) ∧ (𝑎𝑐𝑏𝑑))))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2951  cop 4531   class class class wbr 5036  {copab 5098   × cxp 5526  cfv 6340  1st c1st 7697  2nd c2nd 7698
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5173  ax-nul 5180  ax-pr 5302  ax-un 7465
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3699  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5037  df-opab 5099  df-mpt 5117  df-id 5434  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-iota 6299  df-fun 6342  df-fv 6348  df-1st 7699  df-2nd 7700
This theorem is referenced by:  poxp2  33357  frxp2  33358  xpord2pred  33359
  Copyright terms: Public domain W3C validator