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

Theorem iedgval 29724
Description: The set of indexed edges of a graph. (Contributed by AV, 21-Sep-2020.)
Assertion
Ref Expression
iedgval (iEdg‘𝐺) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺))

Proof of Theorem iedgval
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 eleq1 2863 . . . 4 (𝑔 = 𝐺 → (𝑔 ∈ (V × V) ↔ 𝐺 ∈ (V × V)))
2 fveq2 6931 . . . 4 (𝑔 = 𝐺 → (2nd ‘𝑔) = (2nd ‘𝐺))
3 fveq2 6931 . . . 4 (𝑔 = 𝐺 → (.ef‘𝑔) = (.ef‘𝐺))
41, 2, 3ifbieq12d 4521 . . 3 (𝑔 = 𝐺 → if(𝑔 ∈ (V × V), (2nd ‘𝑔), (.ef‘𝑔)) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)))
5 df-iedg 29722 . . 3 iEdg = (𝑔 ∈ V ↦ if(𝑔 ∈ (V × V), (2nd ‘𝑔), (.ef‘𝑔)))
6 fvex 6944 . . . 4 (2nd ‘𝐺) ∈ V
7 fvex 6944 . . . 4 (.ef‘𝐺) ∈ V
86, 7ifex 4543 . . 3 if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)) ∈ V
94, 5, 8fvmpt 7039 . 2 (𝐺 ∈ V → (iEdg‘𝐺) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)))
10 fvprc 6923 . . 3 (¬ 𝐺 ∈ V → (.ef‘𝐺) = ∅)
11 prcnel 3486 . . . 4 (¬ 𝐺 ∈ V → ¬ 𝐺 ∈ (V × V))
1211iffalsed 4503 . . 3 (¬ 𝐺 ∈ V → if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)) = (.ef‘𝐺))
13 fvprc 6923 . . 3 (¬ 𝐺 ∈ V → (iEdg‘𝐺) = ∅)
1410, 12, 133eqtr4rd 2820 . 2 (¬ 𝐺 ∈ V → (iEdg‘𝐺) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)))
159, 14pm2.61i 184 1 (iEdg‘𝐺) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ∅c0 4288  ifcif 4492   × cxp 5664  ‘cfv 6578  2nd c2nd 8050  .efcedgf 29711  iEdgciedg 29720
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6532  df-fun 6580  df-fv 6586  df-iedg 29722
This theorem is used by:  opiedgval  29729  funiedgdmge2val  29735  funiedgdm2val  29737  snstriedgval  29761  iedgval0  29763
  Copyright terms: Public domain W3C validator