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

Theorem ot2ndg 7878
Description: Extract the second member of an ordered triple. (See ot1stg 7877 comment.) (Contributed by NM, 3-Apr-2015.) (Revised by Mario Carneiro, 2-May-2015.)
Assertion
Ref Expression
ot2ndg ((𝐴𝑉𝐵𝑊𝐶𝑋) → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐵)

Proof of Theorem ot2ndg
StepHypRef Expression
1 df-ot 4574 . . . . . 6 𝐴, 𝐵, 𝐶⟩ = ⟨⟨𝐴, 𝐵⟩, 𝐶
21fveq2i 6807 . . . . 5 (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩)
3 opex 5392 . . . . . 6 𝐴, 𝐵⟩ ∈ V
4 op1stg 7875 . . . . . 6 ((⟨𝐴, 𝐵⟩ ∈ V ∧ 𝐶𝑋) → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
53, 4mpan 688 . . . . 5 (𝐶𝑋 → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
62, 5eqtrid 2788 . . . 4 (𝐶𝑋 → (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
76fveq2d 6808 . . 3 (𝐶𝑋 → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = (2nd ‘⟨𝐴, 𝐵⟩))
8 op2ndg 7876 . . 3 ((𝐴𝑉𝐵𝑊) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
97, 8sylan9eqr 2798 . 2 (((𝐴𝑉𝐵𝑊) ∧ 𝐶𝑋) → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐵)
1093impa 1110 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1087   = wceq 1539  wcel 2104  Vcvv 3437  cop 4571  cotp 4573  cfv 6458  1st c1st 7861  2nd c2nd 7862
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 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ral 3063  df-rex 3072  df-rab 3287  df-v 3439  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-ot 4574  df-uni 4845  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-iota 6410  df-fun 6460  df-fv 6466  df-1st 7863  df-2nd 7864
This theorem is referenced by:  oteqimp  7882  el2xptp0  7910  splval  14509  mamufval  21579  msrval  33545  mapdhval  39780  hdmap1val  39854
  Copyright terms: Public domain W3C validator