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

Theorem ot2ndg 7986
Description: Extract the second member of an ordered triple. (See ot1stg 7985 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 4601 . . . . . 6 𝐴, 𝐵, 𝐶⟩ = ⟨⟨𝐴, 𝐵⟩, 𝐶
21fveq2i 6864 . . . . 5 (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩)
3 opex 5427 . . . . . 6 𝐴, 𝐵⟩ ∈ V
4 op1stg 7983 . . . . . 6 ((⟨𝐴, 𝐵⟩ ∈ V ∧ 𝐶𝑋) → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
53, 4mpan 690 . . . . 5 (𝐶𝑋 → (1st ‘⟨⟨𝐴, 𝐵⟩, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
62, 5eqtrid 2777 . . . 4 (𝐶𝑋 → (1st ‘⟨𝐴, 𝐵, 𝐶⟩) = ⟨𝐴, 𝐵⟩)
76fveq2d 6865 . . 3 (𝐶𝑋 → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = (2nd ‘⟨𝐴, 𝐵⟩))
8 op2ndg 7984 . . 3 ((𝐴𝑉𝐵𝑊) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
97, 8sylan9eqr 2787 . 2 (((𝐴𝑉𝐵𝑊) ∧ 𝐶𝑋) → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐵)
1093impa 1109 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (2nd ‘(1st ‘⟨𝐴, 𝐵, 𝐶⟩)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1540  wcel 2109  Vcvv 3450  cop 4598  cotp 4600  cfv 6514  1st c1st 7969  2nd c2nd 7970
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 2702  ax-sep 5254  ax-nul 5264  ax-pr 5390  ax-un 7714
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 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-sn 4593  df-pr 4595  df-op 4599  df-ot 4601  df-uni 4875  df-br 5111  df-opab 5173  df-mpt 5192  df-id 5536  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-iota 6467  df-fun 6516  df-fv 6522  df-1st 7971  df-2nd 7972
This theorem is referenced by:  oteqimp  7990  el2xptp0  8018  sbcoteq1a  8033  xpord3lem  8131  splval  14723  mamufval  22286  msrval  35532  mapdhval  41725  hdmap1val  41799
  Copyright terms: Public domain W3C validator