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

Theorem iedgval 29572
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 2849 . . . 4 (𝑔 = 𝐺 → (𝑔 ∈ (V × V) ↔ 𝐺 ∈ (V × V)))
2 fveq2 6883 . . . 4 (𝑔 = 𝐺 → (2nd ‘𝑔) = (2nd ‘𝐺))
3 fveq2 6883 . . . 4 (𝑔 = 𝐺 → (.ef‘𝑔) = (.ef‘𝐺))
41, 2, 3ifbieq12d 4511 . . 3 (𝑔 = 𝐺 → if(𝑔 ∈ (V × V), (2nd ‘𝑔), (.ef‘𝑔)) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)))
5 df-iedg 29570 . . 3 iEdg = (𝑔 ∈ V ↦ if(𝑔 ∈ (V × V), (2nd ‘𝑔), (.ef‘𝑔)))
6 fvex 6896 . . . 4 (2nd ‘𝐺) ∈ V
7 fvex 6896 . . . 4 (.ef‘𝐺) ∈ V
86, 7ifex 4533 . . 3 if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)) ∈ V
94, 5, 8fvmpt 6991 . 2 (𝐺 ∈ V → (iEdg‘𝐺) = if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)))
10 fvprc 6875 . . 3 (¬ 𝐺 ∈ V → (.ef‘𝐺) = ∅)
11 prcnel 3476 . . . 4 (¬ 𝐺 ∈ V → ¬ 𝐺 ∈ (V × V))
1211iffalsed 4493 . . 3 (¬ 𝐺 ∈ V → if(𝐺 ∈ (V × V), (2nd ‘𝐺), (.ef‘𝐺)) = (.ef‘𝐺))
13 fvprc 6875 . . 3 (¬ 𝐺 ∈ V → (iEdg‘𝐺) = ∅)
1410, 12, 133eqtr4rd 2807 . 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 1570   ∈ wcel 2145  Vcvv 3451  ∅c0 4279  ifcif 4482   × cxp 5649  ‘cfv 6537  2nd c2nd 7998  .efcedgf 29559  iEdgciedg 29568
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6493  df-fun 6539  df-fv 6545  df-iedg 29570
This theorem is used by:  opiedgval  29577  funiedgdmge2val  29583  funiedgdm2val  29585  snstriedgval  29609  iedgval0  29611
  Copyright terms: Public domain W3C validator