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

Theorem ot1stg 8003
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 8003, ot2ndg 8004, ot3rdg 8005.) (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 4603 . . . . . 6 𝐴, 𝐵, 𝐶⟩ = ⟨⟨𝐴, 𝐵⟩, 𝐶
21fveq2i 6888 . . . . 5 (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩)
3 opex 5449 . . . . . 6 𝐴, 𝐵⟩ ∈ V
4 op1stg 8001 . . . . . 6 ((⟨𝐴, 𝐵⟩ ∈ V ∧ 𝐶𝑋) → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
53, 4mpan 702 . . . . 5 (𝐶𝑋 → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
62, 5eqtrid 2817 . . . 4 (𝐶𝑋 → (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
76fveq2d 6889 . . 3 (𝐶𝑋 → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = (1st ‘⟨𝐴, 𝐵⟩))
8 op1stg 8001 . . 3 ((𝐴𝑉𝐵𝑊) → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
97, 8sylan9eqr 2827 . 2 (((𝐴𝑉𝐵𝑊) ∧ 𝐶𝑋) → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐴)
1093impa 1125 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (1st ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400  w3a 1101   = wceq 1568  wcel 2150  Vcvv 3462  cop 4600  cotp 4602  cfv 6540  1st c1st 7987
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2199  ax-12 2220  ax-ext 2742  ax-sep 5262  ax-nul 5274  ax-pr 5408  ax-un 7736
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1571  df-fal 1581  df-ex 1808  df-nf 1812  df-sb 2099  df-mo 2574  df-eu 2604  df-clab 2749  df-cleq 2762  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3424  df-v 3464  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-ot 4603  df-uni 4878  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5560  df-xp 5671  df-rel 5672  df-cnv 5673  df-co 5674  df-dm 5675  df-rn 5676  df-iota 6496  df-fun 6542  df-fv 6548  df-1st 7989
This theorem is referenced by:  oteqimp  8008  el2xptp0  8036  sbcoteq1a  8051  xpord3lem  8148  splval  14791  mamufval  22532  msrval  35988  elmsta  35998  mapdhval  42448  hdmap1val  42522
  Copyright terms: Public domain W3C validator