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 33454
Description: Characterize a ternary relation over a tail Cartesian product. Together with txpss3v 33452, 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 33428 . . 3 (𝐴𝐵) = (((1st ↾ (V × V)) ∘ 𝐴) ∩ ((2nd ↾ (V × V)) ∘ 𝐵))
21breqi 5036 . 2 (𝑋(𝐴𝐵)⟨𝑌, 𝑍⟩ ↔ 𝑋(((1st ↾ (V × V)) ∘ 𝐴) ∩ ((2nd ↾ (V × V)) ∘ 𝐵))⟨𝑌, 𝑍⟩)
3 brin 5082 . 2 (𝑋(((1st ↾ (V × V)) ∘ 𝐴) ∩ ((2nd ↾ (V × V)) ∘ 𝐵))⟨𝑌, 𝑍⟩ ↔ (𝑋((1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ∧ 𝑋((2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩))
4 brtxp.1 . . . . 5 𝑋 ∈ V
5 opex 5321 . . . . 5 𝑌, 𝑍⟩ ∈ V
64, 5brco 5705 . . . 4 (𝑋((1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ↔ ∃𝑦(𝑋𝐴𝑦𝑦(1st ↾ (V × V))⟨𝑌, 𝑍⟩))
7 vex 3444 . . . . . . . 8 𝑦 ∈ V
87, 5brcnv 5717 . . . . . . 7 (𝑦(1st ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ ⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦)
9 brtxp.2 . . . . . . . . 9 𝑌 ∈ V
10 brtxp.3 . . . . . . . . 9 𝑍 ∈ V
119, 10opelvv 5558 . . . . . . . 8 𝑌, 𝑍⟩ ∈ (V × V)
127brresi 5827 . . . . . . . 8 (⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦 ↔ (⟨𝑌, 𝑍⟩ ∈ (V × V) ∧ ⟨𝑌, 𝑍⟩1st 𝑦))
1311, 12mpbiran 708 . . . . . . 7 (⟨𝑌, 𝑍⟩(1st ↾ (V × V))𝑦 ↔ ⟨𝑌, 𝑍⟩1st 𝑦)
149, 10br1steq 33127 . . . . . . 7 (⟨𝑌, 𝑍⟩1st 𝑦𝑦 = 𝑌)
158, 13, 143bitri 300 . . . . . 6 (𝑦(1st ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ 𝑦 = 𝑌)
1615anbi1ci 628 . . . . 5 ((𝑋𝐴𝑦𝑦(1st ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ (𝑦 = 𝑌𝑋𝐴𝑦))
1716exbii 1849 . . . 4 (∃𝑦(𝑋𝐴𝑦𝑦(1st ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ ∃𝑦(𝑦 = 𝑌𝑋𝐴𝑦))
18 breq2 5034 . . . . 5 (𝑦 = 𝑌 → (𝑋𝐴𝑦𝑋𝐴𝑌))
199, 18ceqsexv 3489 . . . 4 (∃𝑦(𝑦 = 𝑌𝑋𝐴𝑦) ↔ 𝑋𝐴𝑌)
206, 17, 193bitri 300 . . 3 (𝑋((1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ↔ 𝑋𝐴𝑌)
214, 5brco 5705 . . . 4 (𝑋((2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩ ↔ ∃𝑧(𝑋𝐵𝑧𝑧(2nd ↾ (V × V))⟨𝑌, 𝑍⟩))
22 vex 3444 . . . . . . . 8 𝑧 ∈ V
2322, 5brcnv 5717 . . . . . . 7 (𝑧(2nd ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ ⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧)
2422brresi 5827 . . . . . . . 8 (⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧 ↔ (⟨𝑌, 𝑍⟩ ∈ (V × V) ∧ ⟨𝑌, 𝑍⟩2nd 𝑧))
2511, 24mpbiran 708 . . . . . . 7 (⟨𝑌, 𝑍⟩(2nd ↾ (V × V))𝑧 ↔ ⟨𝑌, 𝑍⟩2nd 𝑧)
269, 10br2ndeq 33128 . . . . . . 7 (⟨𝑌, 𝑍⟩2nd 𝑧𝑧 = 𝑍)
2723, 25, 263bitri 300 . . . . . 6 (𝑧(2nd ↾ (V × V))⟨𝑌, 𝑍⟩ ↔ 𝑧 = 𝑍)
2827anbi1ci 628 . . . . 5 ((𝑋𝐵𝑧𝑧(2nd ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ (𝑧 = 𝑍𝑋𝐵𝑧))
2928exbii 1849 . . . 4 (∃𝑧(𝑋𝐵𝑧𝑧(2nd ↾ (V × V))⟨𝑌, 𝑍⟩) ↔ ∃𝑧(𝑧 = 𝑍𝑋𝐵𝑧))
30 breq2 5034 . . . . 5 (𝑧 = 𝑍 → (𝑋𝐵𝑧𝑋𝐵𝑍))
3110, 30ceqsexv 3489 . . . 4 (∃𝑧(𝑧 = 𝑍𝑋𝐵𝑧) ↔ 𝑋𝐵𝑍)
3221, 29, 313bitri 300 . . 3 (𝑋((2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩ ↔ 𝑋𝐵𝑍)
3320, 32anbi12i 629 . 2 ((𝑋((1st ↾ (V × V)) ∘ 𝐴)⟨𝑌, 𝑍⟩ ∧ 𝑋((2nd ↾ (V × V)) ∘ 𝐵)⟨𝑌, 𝑍⟩) ↔ (𝑋𝐴𝑌𝑋𝐵𝑍))
342, 3, 333bitri 300 1 (𝑋(𝐴𝐵)⟨𝑌, 𝑍⟩ ↔ (𝑋𝐴𝑌𝑋𝐵𝑍))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  Vcvv 3441  cin 3880  cop 4531   class class class wbr 5030   × cxp 5517  ccnv 5518  cres 5521  ccom 5523  1st c1st 7669  2nd c2nd 7670  ctxp 33404
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 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-fo 6330  df-fv 6332  df-1st 7671  df-2nd 7672  df-txp 33428
This theorem is referenced by:  brtxp2  33455  pprodss4v  33458  brpprod  33459  brsset  33463  brtxpsd  33468  elfuns  33489
  Copyright terms: Public domain W3C validator