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

Theorem ushgredgedgloop 27501
Description: In a simple hypergraph there is a 1-1 onto mapping between the indexed edges being loops at a fixed vertex 𝑁 and the set of loops at this vertex 𝑁. (Contributed by AV, 11-Dec-2020.) (Revised by AV, 6-Jul-2022.)
Hypotheses
Ref Expression
ushgredgedgloop.e 𝐸 = (Edg‘𝐺)
ushgredgedgloop.i 𝐼 = (iEdg‘𝐺)
ushgredgedgloop.a 𝐴 = {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}
ushgredgedgloop.b 𝐵 = {𝑒𝐸𝑒 = {𝑁}}
ushgredgedgloop.f 𝐹 = (𝑥𝐴 ↦ (𝐼𝑥))
Assertion
Ref Expression
ushgredgedgloop ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐹:𝐴1-1-onto𝐵)
Distinct variable groups:   𝐵,𝑒   𝑒,𝐸,𝑖   𝑒,𝐺,𝑖,𝑥   𝑒,𝐼,𝑖,𝑥   𝑒,𝑁,𝑖,𝑥   𝑒,𝑉,𝑖,𝑥
Allowed substitution hints:   𝐴(𝑥,𝑒,𝑖)   𝐵(𝑥,𝑖)   𝐸(𝑥)   𝐹(𝑥,𝑒,𝑖)

Proof of Theorem ushgredgedgloop
Dummy variables 𝑓 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2738 . . . . 5 (Vtx‘𝐺) = (Vtx‘𝐺)
2 ushgredgedgloop.i . . . . 5 𝐼 = (iEdg‘𝐺)
31, 2ushgrf 27336 . . . 4 (𝐺 ∈ USHGraph → 𝐼:dom 𝐼1-1→(𝒫 (Vtx‘𝐺) ∖ {∅}))
43adantr 480 . . 3 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐼:dom 𝐼1-1→(𝒫 (Vtx‘𝐺) ∖ {∅}))
5 ssrab2 4009 . . 3 {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ⊆ dom 𝐼
6 f1ores 6714 . . 3 ((𝐼:dom 𝐼1-1→(𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ⊆ dom 𝐼) → (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}):{𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}–1-1-onto→(𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}))
74, 5, 6sylancl 585 . 2 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}):{𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}–1-1-onto→(𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}))
8 ushgredgedgloop.f . . . . 5 𝐹 = (𝑥𝐴 ↦ (𝐼𝑥))
9 ushgredgedgloop.a . . . . . . 7 𝐴 = {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}
109a1i 11 . . . . . 6 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐴 = {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}})
11 eqidd 2739 . . . . . 6 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ 𝑥𝐴) → (𝐼𝑥) = (𝐼𝑥))
1210, 11mpteq12dva 5159 . . . . 5 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝑥𝐴 ↦ (𝐼𝑥)) = (𝑥 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ↦ (𝐼𝑥)))
138, 12syl5eq 2791 . . . 4 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐹 = (𝑥 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ↦ (𝐼𝑥)))
14 f1f 6654 . . . . . . 7 (𝐼:dom 𝐼1-1→(𝒫 (Vtx‘𝐺) ∖ {∅}) → 𝐼:dom 𝐼⟶(𝒫 (Vtx‘𝐺) ∖ {∅}))
153, 14syl 17 . . . . . 6 (𝐺 ∈ USHGraph → 𝐼:dom 𝐼⟶(𝒫 (Vtx‘𝐺) ∖ {∅}))
165a1i 11 . . . . . 6 (𝐺 ∈ USHGraph → {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ⊆ dom 𝐼)
1715, 16feqresmpt 6820 . . . . 5 (𝐺 ∈ USHGraph → (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}) = (𝑥 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ↦ (𝐼𝑥)))
1817adantr 480 . . . 4 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}) = (𝑥 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ↦ (𝐼𝑥)))
1913, 18eqtr4d 2781 . . 3 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐹 = (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}))
20 ushgruhgr 27342 . . . . . . . 8 (𝐺 ∈ USHGraph → 𝐺 ∈ UHGraph)
21 eqid 2738 . . . . . . . . 9 (iEdg‘𝐺) = (iEdg‘𝐺)
2221uhgrfun 27339 . . . . . . . 8 (𝐺 ∈ UHGraph → Fun (iEdg‘𝐺))
2320, 22syl 17 . . . . . . 7 (𝐺 ∈ USHGraph → Fun (iEdg‘𝐺))
242funeqi 6439 . . . . . . 7 (Fun 𝐼 ↔ Fun (iEdg‘𝐺))
2523, 24sylibr 233 . . . . . 6 (𝐺 ∈ USHGraph → Fun 𝐼)
2625adantr 480 . . . . 5 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → Fun 𝐼)
27 dfimafn 6814 . . . . 5 ((Fun 𝐼 ∧ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ⊆ dom 𝐼) → (𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}) = {𝑒 ∣ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒})
2826, 5, 27sylancl 585 . . . 4 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}) = {𝑒 ∣ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒})
29 fveqeq2 6765 . . . . . . . . . 10 (𝑖 = 𝑗 → ((𝐼𝑖) = {𝑁} ↔ (𝐼𝑗) = {𝑁}))
3029elrab 3617 . . . . . . . . 9 (𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ↔ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}))
31 simpl 482 . . . . . . . . . . . . . . 15 ((𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) → 𝑗 ∈ dom 𝐼)
32 fvelrn 6936 . . . . . . . . . . . . . . . 16 ((Fun 𝐼𝑗 ∈ dom 𝐼) → (𝐼𝑗) ∈ ran 𝐼)
332eqcomi 2747 . . . . . . . . . . . . . . . . 17 (iEdg‘𝐺) = 𝐼
3433rneqi 5835 . . . . . . . . . . . . . . . 16 ran (iEdg‘𝐺) = ran 𝐼
3532, 34eleqtrrdi 2850 . . . . . . . . . . . . . . 15 ((Fun 𝐼𝑗 ∈ dom 𝐼) → (𝐼𝑗) ∈ ran (iEdg‘𝐺))
3626, 31, 35syl2an 595 . . . . . . . . . . . . . 14 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁})) → (𝐼𝑗) ∈ ran (iEdg‘𝐺))
37363adant3 1130 . . . . . . . . . . . . 13 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → (𝐼𝑗) ∈ ran (iEdg‘𝐺))
38 eleq1 2826 . . . . . . . . . . . . . . 15 (𝑓 = (𝐼𝑗) → (𝑓 ∈ ran (iEdg‘𝐺) ↔ (𝐼𝑗) ∈ ran (iEdg‘𝐺)))
3938eqcoms 2746 . . . . . . . . . . . . . 14 ((𝐼𝑗) = 𝑓 → (𝑓 ∈ ran (iEdg‘𝐺) ↔ (𝐼𝑗) ∈ ran (iEdg‘𝐺)))
40393ad2ant3 1133 . . . . . . . . . . . . 13 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → (𝑓 ∈ ran (iEdg‘𝐺) ↔ (𝐼𝑗) ∈ ran (iEdg‘𝐺)))
4137, 40mpbird 256 . . . . . . . . . . . 12 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → 𝑓 ∈ ran (iEdg‘𝐺))
42 ushgredgedgloop.e . . . . . . . . . . . . . . . 16 𝐸 = (Edg‘𝐺)
43 edgval 27322 . . . . . . . . . . . . . . . . 17 (Edg‘𝐺) = ran (iEdg‘𝐺)
4443a1i 11 . . . . . . . . . . . . . . . 16 (𝐺 ∈ USHGraph → (Edg‘𝐺) = ran (iEdg‘𝐺))
4542, 44syl5eq 2791 . . . . . . . . . . . . . . 15 (𝐺 ∈ USHGraph → 𝐸 = ran (iEdg‘𝐺))
4645eleq2d 2824 . . . . . . . . . . . . . 14 (𝐺 ∈ USHGraph → (𝑓𝐸𝑓 ∈ ran (iEdg‘𝐺)))
4746adantr 480 . . . . . . . . . . . . 13 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝑓𝐸𝑓 ∈ ran (iEdg‘𝐺)))
48473ad2ant1 1131 . . . . . . . . . . . 12 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → (𝑓𝐸𝑓 ∈ ran (iEdg‘𝐺)))
4941, 48mpbird 256 . . . . . . . . . . 11 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → 𝑓𝐸)
50 eqeq1 2742 . . . . . . . . . . . . . . 15 ((𝐼𝑗) = 𝑓 → ((𝐼𝑗) = {𝑁} ↔ 𝑓 = {𝑁}))
5150biimpcd 248 . . . . . . . . . . . . . 14 ((𝐼𝑗) = {𝑁} → ((𝐼𝑗) = 𝑓𝑓 = {𝑁}))
5251adantl 481 . . . . . . . . . . . . 13 ((𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) → ((𝐼𝑗) = 𝑓𝑓 = {𝑁}))
5352a1i 11 . . . . . . . . . . . 12 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → ((𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) → ((𝐼𝑗) = 𝑓𝑓 = {𝑁})))
54533imp 1109 . . . . . . . . . . 11 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → 𝑓 = {𝑁})
5549, 54jca 511 . . . . . . . . . 10 (((𝐺 ∈ USHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) ∧ (𝐼𝑗) = 𝑓) → (𝑓𝐸𝑓 = {𝑁}))
56553exp 1117 . . . . . . . . 9 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → ((𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}) → ((𝐼𝑗) = 𝑓 → (𝑓𝐸𝑓 = {𝑁}))))
5730, 56syl5bi 241 . . . . . . . 8 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} → ((𝐼𝑗) = 𝑓 → (𝑓𝐸𝑓 = {𝑁}))))
5857rexlimdv 3211 . . . . . . 7 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓 → (𝑓𝐸𝑓 = {𝑁})))
5923funfnd 6449 . . . . . . . . . . . 12 (𝐺 ∈ USHGraph → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
60 fvelrnb 6812 . . . . . . . . . . . 12 ((iEdg‘𝐺) Fn dom (iEdg‘𝐺) → (𝑓 ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = 𝑓))
6159, 60syl 17 . . . . . . . . . . 11 (𝐺 ∈ USHGraph → (𝑓 ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = 𝑓))
6233dmeqi 5802 . . . . . . . . . . . . . . . . . . . . . 22 dom (iEdg‘𝐺) = dom 𝐼
6362eleq2i 2830 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 ∈ dom (iEdg‘𝐺) ↔ 𝑗 ∈ dom 𝐼)
6463biimpi 215 . . . . . . . . . . . . . . . . . . . 20 (𝑗 ∈ dom (iEdg‘𝐺) → 𝑗 ∈ dom 𝐼)
6564adantr 480 . . . . . . . . . . . . . . . . . . 19 ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓) → 𝑗 ∈ dom 𝐼)
6665adantl 481 . . . . . . . . . . . . . . . . . 18 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → 𝑗 ∈ dom 𝐼)
6733fveq1i 6757 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((iEdg‘𝐺)‘𝑗) = (𝐼𝑗)
6867eqeq2i 2751 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑓 = ((iEdg‘𝐺)‘𝑗) ↔ 𝑓 = (𝐼𝑗))
6968biimpi 215 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑓 = ((iEdg‘𝐺)‘𝑗) → 𝑓 = (𝐼𝑗))
7069eqcoms 2746 . . . . . . . . . . . . . . . . . . . . . . 23 (((iEdg‘𝐺)‘𝑗) = 𝑓𝑓 = (𝐼𝑗))
7170eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . 22 (((iEdg‘𝐺)‘𝑗) = 𝑓 → (𝑓 = {𝑁} ↔ (𝐼𝑗) = {𝑁}))
7271biimpcd 248 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = {𝑁} → (((iEdg‘𝐺)‘𝑗) = 𝑓 → (𝐼𝑗) = {𝑁}))
7372adantl 481 . . . . . . . . . . . . . . . . . . . 20 ((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) → (((iEdg‘𝐺)‘𝑗) = 𝑓 → (𝐼𝑗) = {𝑁}))
7473adantld 490 . . . . . . . . . . . . . . . . . . 19 ((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) → ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓) → (𝐼𝑗) = {𝑁}))
7574imp 406 . . . . . . . . . . . . . . . . . 18 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → (𝐼𝑗) = {𝑁})
7666, 75jca 511 . . . . . . . . . . . . . . . . 17 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → (𝑗 ∈ dom 𝐼 ∧ (𝐼𝑗) = {𝑁}))
7776, 30sylibr 233 . . . . . . . . . . . . . . . 16 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → 𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}})
7867eqeq1i 2743 . . . . . . . . . . . . . . . . . . 19 (((iEdg‘𝐺)‘𝑗) = 𝑓 ↔ (𝐼𝑗) = 𝑓)
7978biimpi 215 . . . . . . . . . . . . . . . . . 18 (((iEdg‘𝐺)‘𝑗) = 𝑓 → (𝐼𝑗) = 𝑓)
8079adantl 481 . . . . . . . . . . . . . . . . 17 ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓) → (𝐼𝑗) = 𝑓)
8180adantl 481 . . . . . . . . . . . . . . . 16 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → (𝐼𝑗) = 𝑓)
8277, 81jca 511 . . . . . . . . . . . . . . 15 (((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) ∧ (𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓)) → (𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ∧ (𝐼𝑗) = 𝑓))
8382ex 412 . . . . . . . . . . . . . 14 ((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) → ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = 𝑓) → (𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} ∧ (𝐼𝑗) = 𝑓)))
8483reximdv2 3198 . . . . . . . . . . . . 13 ((𝐺 ∈ USHGraph ∧ 𝑓 = {𝑁}) → (∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = 𝑓 → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓))
8584ex 412 . . . . . . . . . . . 12 (𝐺 ∈ USHGraph → (𝑓 = {𝑁} → (∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = 𝑓 → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓)))
8685com23 86 . . . . . . . . . . 11 (𝐺 ∈ USHGraph → (∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = 𝑓 → (𝑓 = {𝑁} → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓)))
8761, 86sylbid 239 . . . . . . . . . 10 (𝐺 ∈ USHGraph → (𝑓 ∈ ran (iEdg‘𝐺) → (𝑓 = {𝑁} → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓)))
8846, 87sylbid 239 . . . . . . . . 9 (𝐺 ∈ USHGraph → (𝑓𝐸 → (𝑓 = {𝑁} → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓)))
8988impd 410 . . . . . . . 8 (𝐺 ∈ USHGraph → ((𝑓𝐸𝑓 = {𝑁}) → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓))
9089adantr 480 . . . . . . 7 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → ((𝑓𝐸𝑓 = {𝑁}) → ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓))
9158, 90impbid 211 . . . . . 6 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓 ↔ (𝑓𝐸𝑓 = {𝑁})))
92 vex 3426 . . . . . . 7 𝑓 ∈ V
93 eqeq2 2750 . . . . . . . 8 (𝑒 = 𝑓 → ((𝐼𝑗) = 𝑒 ↔ (𝐼𝑗) = 𝑓))
9493rexbidv 3225 . . . . . . 7 (𝑒 = 𝑓 → (∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒 ↔ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓))
9592, 94elab 3602 . . . . . 6 (𝑓 ∈ {𝑒 ∣ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒} ↔ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑓)
96 eqeq1 2742 . . . . . . 7 (𝑒 = 𝑓 → (𝑒 = {𝑁} ↔ 𝑓 = {𝑁}))
97 ushgredgedgloop.b . . . . . . 7 𝐵 = {𝑒𝐸𝑒 = {𝑁}}
9896, 97elrab2 3620 . . . . . 6 (𝑓𝐵 ↔ (𝑓𝐸𝑓 = {𝑁}))
9991, 95, 983bitr4g 313 . . . . 5 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝑓 ∈ {𝑒 ∣ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒} ↔ 𝑓𝐵))
10099eqrdv 2736 . . . 4 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → {𝑒 ∣ ∃𝑗 ∈ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}} (𝐼𝑗) = 𝑒} = 𝐵)
10128, 100eqtr2d 2779 . . 3 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐵 = (𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}))
10219, 10, 101f1oeq123d 6694 . 2 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → (𝐹:𝐴1-1-onto𝐵 ↔ (𝐼 ↾ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}):{𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}}–1-1-onto→(𝐼 “ {𝑖 ∈ dom 𝐼 ∣ (𝐼𝑖) = {𝑁}})))
1037, 102mpbird 256 1 ((𝐺 ∈ USHGraph ∧ 𝑁𝑉) → 𝐹:𝐴1-1-onto𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  wrex 3064  {crab 3067  cdif 3880  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558  cmpt 5153  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  Fun wfun 6412   Fn wfn 6413  wf 6414  1-1wf1 6415  1-1-ontowf1o 6417  cfv 6418  Vtxcvtx 27269  iEdgciedg 27270  Edgcedg 27320  UHGraphcuhgr 27329  USHGraphcushgr 27330
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-edg 27321  df-uhgr 27331  df-ushgr 27332
This theorem is referenced by:  vtxdushgrfvedg  27760
  Copyright terms: Public domain W3C validator