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

Theorem upgr1e 29311
Description: A pseudograph with one edge. Such a graph is actually a simple pseudograph, see uspgr1e 29442. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 16-Oct-2020.) (Revised by AV, 21-Mar-2021.) (Proof shortened by AV, 17-Apr-2021.)
Hypotheses
Ref Expression
upgr1e.v 𝑉 = (Vtx‘𝐺)
upgr1e.a (𝜑𝐴𝑋)
upgr1e.b (𝜑𝐵𝑉)
upgr1e.c (𝜑𝐶𝑉)
upgr1e.e (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝐵, 𝐶}⟩})
Assertion
Ref Expression
upgr1e (𝜑𝐺 ∈ UPGraph)

Proof of Theorem upgr1e
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 upgr1e.a . . . . . 6 (𝜑𝐴𝑋)
2 prex 5395 . . . . . . . 8 {𝐵, 𝐶} ∈ V
32snid 4621 . . . . . . 7 {𝐵, 𝐶} ∈ {{𝐵, 𝐶}}
43a1i 11 . . . . . 6 (𝜑 → {𝐵, 𝐶} ∈ {{𝐵, 𝐶}})
51, 4fsnd 6851 . . . . 5 (𝜑 → {⟨𝐴, {𝐵, 𝐶}⟩}:{𝐴}⟶{{𝐵, 𝐶}})
6 upgr1e.b . . . . . . . . 9 (𝜑𝐵𝑉)
7 upgr1e.c . . . . . . . . 9 (𝜑𝐶𝑉)
86, 7prssd 4780 . . . . . . . 8 (𝜑 → {𝐵, 𝐶} ⊆ 𝑉)
9 upgr1e.v . . . . . . . 8 𝑉 = (Vtx‘𝐺)
108, 9sseqtrdi 3976 . . . . . . 7 (𝜑 → {𝐵, 𝐶} ⊆ (Vtx‘𝐺))
112elpw 4559 . . . . . . 7 ({𝐵, 𝐶} ∈ 𝒫 (Vtx‘𝐺) ↔ {𝐵, 𝐶} ⊆ (Vtx‘𝐺))
1210, 11sylibr 236 . . . . . 6 (𝜑 → {𝐵, 𝐶} ∈ 𝒫 (Vtx‘𝐺))
1312, 6upgr1elem 29310 . . . . 5 (𝜑 → {{𝐵, 𝐶}} ⊆ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
145, 13fssd 6709 . . . 4 (𝜑 → {⟨𝐴, {𝐵, 𝐶}⟩}:{𝐴}⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
1514ffdmd 6722 . . 3 (𝜑 → {⟨𝐴, {𝐵, 𝐶}⟩}:dom {⟨𝐴, {𝐵, 𝐶}⟩}⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
16 upgr1e.e . . . 4 (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝐵, 𝐶}⟩})
1716dmeqd 5881 . . . 4 (𝜑 → dom (iEdg‘𝐺) = dom {⟨𝐴, {𝐵, 𝐶}⟩})
1816, 17feq12d 6679 . . 3 (𝜑 → ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} ↔ {⟨𝐴, {𝐵, 𝐶}⟩}:dom {⟨𝐴, {𝐵, 𝐶}⟩}⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}))
1915, 18mpbird 259 . 2 (𝜑 → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
2091vgrex 29200 . . 3 (𝐵𝑉𝐺 ∈ V)
21 eqid 2762 . . . 4 (Vtx‘𝐺) = (Vtx‘𝐺)
22 eqid 2762 . . . 4 (iEdg‘𝐺) = (iEdg‘𝐺)
2321, 22isupgr 29282 . . 3 (𝐺 ∈ V → (𝐺 ∈ UPGraph ↔ (iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}))
246, 20, 233syl 18 . 2 (𝜑 → (𝐺 ∈ UPGraph ↔ (iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}))
2519, 24mpbird 259 1 (𝜑𝐺 ∈ UPGraph)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1560  wcel 2142  {crab 3414  Vcvv 3454  cdif 3901  wss 3904  c0 4285  𝒫 cpw 4555  {csn 4582  {cpr 4584  cop 4588   class class class wbr 5100  dom cdm 5647  wf 6517  cfv 6521  cle 11217  2c2 12272  chash 14343  Vtxcvtx 29194  iEdgciedg 29195  UPGraphcupgr 29278
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pow 5322  ax-pr 5390  ax-un 7718  ax-cnex 11129  ax-resscn 11130  ax-1cn 11131  ax-icn 11132  ax-addcl 11133  ax-addrcl 11134  ax-mulcl 11135  ax-mulrcl 11136  ax-mulcom 11137  ax-addass 11138  ax-mulass 11139  ax-distr 11140  ax-i2m1 11141  ax-1ne0 11142  ax-1rid 11143  ax-rnegex 11144  ax-rrecex 11145  ax-cnre 11146  ax-pre-lttri 11147  ax-pre-lttrn 11148  ax-pre-ltadd 11149  ax-pre-mulgt0 11150
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1099  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3368  df-rab 3415  df-v 3456  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4481  df-pw 4557  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-int 4906  df-iun 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6288  df-ord 6349  df-on 6350  df-lim 6351  df-suc 6352  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-om 7847  df-1st 7970  df-2nd 7971  df-frecs 8262  df-wrecs 8293  df-recs 8342  df-rdg 8381  df-1o 8437  df-oadd 8441  df-er 8678  df-en 8928  df-dom 8929  df-sdom 8930  df-fin 8931  df-dju 9859  df-card 9897  df-pnf 11218  df-mnf 11219  df-xr 11220  df-ltxr 11221  df-le 11222  df-sub 11416  df-neg 11417  df-nn 12211  df-2 12280  df-n0 12482  df-xnn0 12555  df-z 12569  df-uz 12840  df-fz 13513  df-hash 14344  df-upgr 29280
This theorem is referenced by:  upgr1eop  29313  upgr1eopALT  29315
  Copyright terms: Public domain W3C validator