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

Theorem brtxp 36850
Description: Characterize a ternary relation over a tail Cartesian product. Together with txpss3v 36848, this completely defines membership in a tail cross. (Contributed by Scott Fenton, 31-Mar-2012.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
Hypotheses
Ref Expression
brtxp.1 𝑋 ∈ V
brtxp.2 𝑌 ∈ V
brtxp.3 𝑍 ∈ V
Assertion
Ref Expression
brtxp (𝑋(𝐴 ⊗ 𝐵)⟨𝑌, 𝑍⟩ ↔ (𝑋𝐴𝑌 ∧ 𝑋𝐵𝑍))

Proof of Theorem brtxp
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-txp 36824 . . 3 (𝐴 ⊗ 𝐵) = ((◡(1st ↾ (V × V)) ∘ 𝐴) ∩ (◡(2nd ↾ (V × V)) ∘ 𝐵))
21breqi 5112 . 2 (𝑋(𝐴 ⊗ 𝐵)⟨𝑌, 𝑍⟩ ↔ 𝑋((◡(1st ↾ (V × V)) ∘ 𝐴) ∩ (◡(2nd ↾ (V × V)) ∘ 𝐵))⟨𝑌, 𝑍⟩)
3 brin 5161 . 2 (𝑋((◡(1st ↾ (V × V)) ∘ 𝐴) ∩ (◡(2nd ↾ (V × V)) ∘ 𝐵))⟨𝑌, 𝑍⟩ ↔ (𝑋(◡(1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ∧ 𝑋(◡(2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩))
4 brtxp.1 . . . . 5 𝑋 ∈ V
5 opex 5437 . . . . 5 ⟨𝑌, 𝑍⟩ ∈ V
64, 5brco 5858 . . . 4 (𝑋(◡(1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ↔ ∃𝑦(𝑋𝐴𝑦 ∧ 𝑦◡(1st ↾ (V × V))⟨𝑌, 𝑍⟩))
7 vex 3458 . . . . . . . 8 𝑦 ∈ V
87, 5brcnv 5870 . . . . . . 7 (𝑦◡(1st ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ ⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦)
9 brtxp.2 . . . . . . . . 9 𝑌 ∈ V
10 brtxp.3 . . . . . . . . 9 𝑍 ∈ V
119, 10opelvv 5696 . . . . . . . 8 ⟨𝑌, 𝑍⟩ ∈ (V × V)
127brresi 5993 . . . . . . . 8 (⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦 ↔ (⟨𝑌, 𝑍⟩ ∈ (V × V) ∧ ⟨𝑌, 𝑍⟩1st 𝑦))
1311, 12mpbiran 722 . . . . . . 7 (⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦 ↔ ⟨𝑌, 𝑍⟩1st 𝑦)
149, 10br1steq 36743 . . . . . . 7 (⟨𝑌, 𝑍⟩1st 𝑦 ↔ 𝑦 = 𝑌)
158, 13, 143bitri 300 . . . . . 6 (𝑦◡(1st ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ 𝑦 = 𝑌)
1615anbi1ci 638 . . . . 5 ((𝑋𝐴𝑦 ∧ 𝑦◡(1st ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ (𝑦 = 𝑌 ∧ 𝑋𝐴𝑦))
1716exbii 1881 . . . 4 (∃𝑦(𝑋𝐴𝑦 ∧ 𝑦◡(1st ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ ∃𝑦(𝑦 = 𝑌 ∧ 𝑋𝐴𝑦))
18 breq2 5110 . . . . 5 (𝑦 = 𝑌 → (𝑋𝐴𝑦 ↔ 𝑋𝐴𝑌))
199, 18ceqsexv 3502 . . . 4 (∃𝑦(𝑦 = 𝑌 ∧ 𝑋𝐴𝑦) ↔ 𝑋𝐴𝑌)
206, 17, 193bitri 300 . . 3 (𝑋(◡(1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ↔ 𝑋𝐴𝑌)
214, 5brco 5858 . . . 4 (𝑋(◡(2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩ ↔ ∃𝑧(𝑋𝐵𝑧 ∧ 𝑧◡(2nd ↾ (V × V))⟨𝑌, 𝑍⟩))
22 vex 3458 . . . . . . . 8 𝑧 ∈ V
2322, 5brcnv 5870 . . . . . . 7 (𝑧◡(2nd ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ ⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧)
2422brresi 5993 . . . . . . . 8 (⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧 ↔ (⟨𝑌, 𝑍⟩ ∈ (V × V) ∧ ⟨𝑌, 𝑍⟩2nd 𝑧))
2511, 24mpbiran 722 . . . . . . 7 (⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧 ↔ ⟨𝑌, 𝑍⟩2nd 𝑧)
269, 10br2ndeq 36744 . . . . . . 7 (⟨𝑌, 𝑍⟩2nd 𝑧 ↔ 𝑧 = 𝑍)
2723, 25, 263bitri 300 . . . . . 6 (𝑧◡(2nd ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ 𝑧 = 𝑍)
2827anbi1ci 638 . . . . 5 ((𝑋𝐵𝑧 ∧ 𝑧◡(2nd ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ (𝑧 = 𝑍 ∧ 𝑋𝐵𝑧))
2928exbii 1881 . . . 4 (∃𝑧(𝑋𝐵𝑧 ∧ 𝑧◡(2nd ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ ∃𝑧(𝑧 = 𝑍 ∧ 𝑋𝐵𝑧))
30 breq2 5110 . . . . 5 (𝑧 = 𝑍 → (𝑋𝐵𝑧 ↔ 𝑋𝐵𝑍))
3110, 30ceqsexv 3502 . . . 4 (∃𝑧(𝑧 = 𝑍 ∧ 𝑋𝐵𝑧) ↔ 𝑋𝐵𝑍)
3221, 29, 313bitri 300 . . 3 (𝑋(◡(2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩ ↔ 𝑋𝐵𝑍)
3320, 32anbi12i 640 . 2 ((𝑋(◡(1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ∧ 𝑋(◡(2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩) ↔ (𝑋𝐴𝑌 ∧ 𝑋𝐵𝑍))
342, 3, 333bitri 300 1 (𝑋(𝐴 ⊗ 𝐵)⟨𝑌, 𝑍⟩ ↔ (𝑋𝐴𝑌 ∧ 𝑋𝐵𝑍))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454   ∩ cin 4092  ⟨cop 4838   class class class wbr 5106   × cxp 5654  ◡ccnv 5655   ↾ cres 5658   ∘ ccom 5660  1st c1st 8031  2nd c2nd 8032   ⊗ ctxp 36800
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pr 5396  ax-un 7781
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-fo 6570  df-fv 6572  df-1st 8033  df-2nd 8034  df-txp 36824
This theorem is used by:  brtxp2  36851  pprodss4v  36854  brpprod  36855  brsset  36859  brtxpsd  36864  elfuns  36885
  Copyright terms: Public domain W3C validator