MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ot1stg Structured version   Visualization version   GIF version

Theorem ot1stg 7938
Description: Extract the first member of an ordered triple. (Due to infrequent usage, it isn't worthwhile at this point to define special extractors for triples, so we reuse the ordered pair extractors for ot1stg 7938, ot2ndg 7939, ot3rdg 7940.) (Contributed by NM, 3-Apr-2015.) (Revised by Mario Carneiro, 2-May-2015.)
Assertion
Ref Expression
ot1stg ((𝐴𝑉𝐵𝑊𝐶𝑋) → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐴)

Proof of Theorem ot1stg
StepHypRef Expression
1 df-ot 4586 . . . . . 6 𝐴, 𝐵, 𝐶⟩ = ⟨⟨𝐴, 𝐵⟩, 𝐶
21fveq2i 6825 . . . . 5 (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩)
3 opex 5407 . . . . . 6 𝐴, 𝐵⟩ ∈ V
4 op1stg 7936 . . . . . 6 ((⟨𝐴, 𝐵⟩ ∈ V ∧ 𝐶𝑋) → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
53, 4mpan 690 . . . . 5 (𝐶𝑋 → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
62, 5eqtrid 2776 . . . 4 (𝐶𝑋 → (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
76fveq2d 6826 . . 3 (𝐶𝑋 → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = (1st ‘⟨𝐴, 𝐵⟩))
8 op1stg 7936 . . 3 ((𝐴𝑉𝐵𝑊) → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
97, 8sylan9eqr 2786 . 2 (((𝐴𝑉𝐵𝑊) ∧ 𝐶𝑋) → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐴)
1093impa 1109 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1540  wcel 2109  Vcvv 3436  cop 4583  cotp 4585  cfv 6482  1st c1st 7922
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5235  ax-nul 5245  ax-pr 5371  ax-un 7671
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ral 3045  df-rex 3054  df-rab 3395  df-v 3438  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4285  df-if 4477  df-sn 4578  df-pr 4580  df-op 4584  df-ot 4586  df-uni 4859  df-br 5093  df-opab 5155  df-mpt 5174  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-iota 6438  df-fun 6484  df-fv 6490  df-1st 7924
This theorem is referenced by:  oteqimp  7943  el2xptp0  7971  sbcoteq1a  7986  xpord3lem  8082  splval  14657  mamufval  22277  msrval  35531  elmsta  35541  mapdhval  41723  hdmap1val  41797
  Copyright terms: Public domain W3C validator