Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  loop1cycl Structured version   Visualization version   GIF version

Theorem loop1cycl 32999
Description: A hypergraph has a cycle of length one if and only if it has a loop. (Contributed by BTernaryTau, 13-Oct-2023.)
Assertion
Ref Expression
loop1cycl (𝐺 ∈ UHGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) ↔ {𝐴} ∈ (Edg‘𝐺)))
Distinct variable groups:   𝐺,𝑝   𝐴,𝑓,𝑝   𝑓,𝐺

Proof of Theorem loop1cycl
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 cyclprop 28062 . . . . . . . . . . . . 13 (𝑓(Cycles‘𝐺)𝑝 → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))))
2 fveq2 6756 . . . . . . . . . . . . . . . 16 ((♯‘𝑓) = 1 → (𝑝‘(♯‘𝑓)) = (𝑝‘1))
32eqeq2d 2749 . . . . . . . . . . . . . . 15 ((♯‘𝑓) = 1 → ((𝑝‘0) = (𝑝‘(♯‘𝑓)) ↔ (𝑝‘0) = (𝑝‘1)))
43anbi2d 628 . . . . . . . . . . . . . 14 ((♯‘𝑓) = 1 → ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))) ↔ (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1))))
54biimpd 228 . . . . . . . . . . . . 13 ((♯‘𝑓) = 1 → ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))) → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1))))
61, 5mpan9 506 . . . . . . . . . . . 12 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
7 pthiswlk 27996 . . . . . . . . . . . . 13 (𝑓(Paths‘𝐺)𝑝𝑓(Walks‘𝐺)𝑝)
87anim1i 614 . . . . . . . . . . . 12 ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
96, 8syl 17 . . . . . . . . . . 11 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
109anim1i 614 . . . . . . . . . 10 (((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) ∧ (♯‘𝑓) = 1) → ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
1110anabss3 671 . . . . . . . . 9 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
12 df-3an 1087 . . . . . . . . 9 ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1) ↔ ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
1311, 12sylibr 233 . . . . . . . 8 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1))
14 3ancomb 1097 . . . . . . . 8 ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1) ↔ (𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)))
1513, 14sylib 217 . . . . . . 7 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)))
16 wlkl1loop 27907 . . . . . . . . . 10 (((Fun (iEdg‘𝐺) ∧ 𝑓(Walks‘𝐺)𝑝) ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → {(𝑝‘0)} ∈ (Edg‘𝐺))
1716expl 457 . . . . . . . . 9 (Fun (iEdg‘𝐺) → ((𝑓(Walks‘𝐺)𝑝 ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → {(𝑝‘0)} ∈ (Edg‘𝐺)))
18 eqid 2738 . . . . . . . . . 10 (iEdg‘𝐺) = (iEdg‘𝐺)
1918uhgrfun 27339 . . . . . . . . 9 (𝐺 ∈ UHGraph → Fun (iEdg‘𝐺))
2017, 19syl11 33 . . . . . . . 8 ((𝑓(Walks‘𝐺)𝑝 ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
21203impb 1113 . . . . . . 7 ((𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
2215, 21syl 17 . . . . . 6 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
23223adant3 1130 . . . . 5 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
24 sneq 4568 . . . . . . 7 ((𝑝‘0) = 𝐴 → {(𝑝‘0)} = {𝐴})
2524eleq1d 2823 . . . . . 6 ((𝑝‘0) = 𝐴 → ({(𝑝‘0)} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ (Edg‘𝐺)))
26253ad2ant3 1133 . . . . 5 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → ({(𝑝‘0)} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ (Edg‘𝐺)))
2723, 26sylibd 238 . . . 4 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {𝐴} ∈ (Edg‘𝐺)))
2827exlimivv 1936 . . 3 (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {𝐴} ∈ (Edg‘𝐺)))
2928com12 32 . 2 (𝐺 ∈ UHGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → {𝐴} ∈ (Edg‘𝐺)))
30 edgval 27322 . . . . . . . . . . . . . 14 (Edg‘𝐺) = ran (iEdg‘𝐺)
3130eleq2i 2830 . . . . . . . . . . . . 13 ({𝐴} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ ran (iEdg‘𝐺))
32 elrnrexdm 6947 . . . . . . . . . . . . . 14 (Fun (iEdg‘𝐺) → ({𝐴} ∈ ran (iEdg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺){𝐴} = ((iEdg‘𝐺)‘𝑗)))
33 eqcom 2745 . . . . . . . . . . . . . . 15 ({𝐴} = ((iEdg‘𝐺)‘𝑗) ↔ ((iEdg‘𝐺)‘𝑗) = {𝐴})
3433rexbii 3177 . . . . . . . . . . . . . 14 (∃𝑗 ∈ dom (iEdg‘𝐺){𝐴} = ((iEdg‘𝐺)‘𝑗) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴})
3532, 34syl6ib 250 . . . . . . . . . . . . 13 (Fun (iEdg‘𝐺) → ({𝐴} ∈ ran (iEdg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
3631, 35syl5bi 241 . . . . . . . . . . . 12 (Fun (iEdg‘𝐺) → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
3719, 36syl 17 . . . . . . . . . . 11 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
38 df-rex 3069 . . . . . . . . . . 11 (∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴} ↔ ∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}))
3937, 38syl6ib 250 . . . . . . . . . 10 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴})))
4018lp1cycl 28417 . . . . . . . . . . . 12 ((𝐺 ∈ UHGraph ∧ 𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩)
41403expib 1120 . . . . . . . . . . 11 (𝐺 ∈ UHGraph → ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
4241eximdv 1921 . . . . . . . . . 10 (𝐺 ∈ UHGraph → (∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
4339, 42syld 47 . . . . . . . . 9 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
44 s1len 14239 . . . . . . . . . . 11 (♯‘⟨“𝑗”⟩) = 1
4544ax-gen 1799 . . . . . . . . . 10 𝑗(♯‘⟨“𝑗”⟩) = 1
46 19.29r 1878 . . . . . . . . . 10 ((∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ ∀𝑗(♯‘⟨“𝑗”⟩) = 1) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
4745, 46mpan2 687 . . . . . . . . 9 (∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
4843, 47syl6 35 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1)))
4948imp 406 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
50 uhgredgn0 27401 . . . . . . . . . . 11 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → {𝐴} ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}))
51 eldifsni 4720 . . . . . . . . . . 11 ({𝐴} ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) → {𝐴} ≠ ∅)
5250, 51syl 17 . . . . . . . . . 10 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → {𝐴} ≠ ∅)
53 snnzb 4651 . . . . . . . . . 10 (𝐴 ∈ V ↔ {𝐴} ≠ ∅)
5452, 53sylibr 233 . . . . . . . . 9 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → 𝐴 ∈ V)
55 s2fv0 14528 . . . . . . . . 9 (𝐴 ∈ V → (⟨“𝐴𝐴”⟩‘0) = 𝐴)
5654, 55syl 17 . . . . . . . 8 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → (⟨“𝐴𝐴”⟩‘0) = 𝐴)
5756alrimiv 1931 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∀𝑗(⟨“𝐴𝐴”⟩‘0) = 𝐴)
58 19.29r 1878 . . . . . . 7 ((∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ ∀𝑗(⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
5949, 57, 58syl2anc 583 . . . . . 6 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
60 df-3an 1087 . . . . . . 7 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6160exbii 1851 . . . . . 6 (∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6259, 61sylibr 233 . . . . 5 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
63 s1cli 14238 . . . . . . . 8 ⟨“𝑗”⟩ ∈ Word V
64 breq1 5073 . . . . . . . . . 10 (𝑓 = ⟨“𝑗”⟩ → (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ↔ ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
65 fveqeq2 6765 . . . . . . . . . 10 (𝑓 = ⟨“𝑗”⟩ → ((♯‘𝑓) = 1 ↔ (♯‘⟨“𝑗”⟩) = 1))
6664, 653anbi12d 1435 . . . . . . . . 9 (𝑓 = ⟨“𝑗”⟩ → ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ (⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)))
6766rspcev 3552 . . . . . . . 8 ((⟨“𝑗”⟩ ∈ Word V ∧ (⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)) → ∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6863, 67mpan 686 . . . . . . 7 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
69 rexex 3167 . . . . . . 7 (∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7068, 69syl 17 . . . . . 6 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7170exlimiv 1934 . . . . 5 (∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7262, 71syl 17 . . . 4 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
73 s2cli 14521 . . . . . . 7 ⟨“𝐴𝐴”⟩ ∈ Word V
74 breq2 5074 . . . . . . . . 9 (𝑝 = ⟨“𝐴𝐴”⟩ → (𝑓(Cycles‘𝐺)𝑝𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
75 fveq1 6755 . . . . . . . . . 10 (𝑝 = ⟨“𝐴𝐴”⟩ → (𝑝‘0) = (⟨“𝐴𝐴”⟩‘0))
7675eqeq1d 2740 . . . . . . . . 9 (𝑝 = ⟨“𝐴𝐴”⟩ → ((𝑝‘0) = 𝐴 ↔ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7774, 763anbi13d 1436 . . . . . . . 8 (𝑝 = ⟨“𝐴𝐴”⟩ → ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) ↔ (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)))
7877rspcev 3552 . . . . . . 7 ((⟨“𝐴𝐴”⟩ ∈ Word V ∧ (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)) → ∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
7973, 78mpan 686 . . . . . 6 ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
80 rexex 3167 . . . . . 6 (∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → ∃𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8179, 80syl 17 . . . . 5 ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8281eximi 1838 . . . 4 (∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8372, 82syl 17 . . 3 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8483ex 412 . 2 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴)))
8529, 84impbid 211 1 (𝐺 ∈ UHGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) ↔ {𝐴} ∈ (Edg‘𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085  wal 1537   = wceq 1539  wex 1783  wcel 2108  wne 2942  wrex 3064  Vcvv 3422  cdif 3880  c0 4253  𝒫 cpw 4530  {csn 4558   class class class wbr 5070  dom cdm 5580  ran crn 5581  Fun wfun 6412  cfv 6418  0cc0 10802  1c1 10803  chash 13972  Word cword 14145  ⟨“cs1 14228  ⟨“cs2 14482  Vtxcvtx 27269  iEdgciedg 27270  Edgcedg 27320  UHGraphcuhgr 27329  Walkscwlks 27866  Pathscpths 27981  Cyclesccycls 28054
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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ifp 1060  df-3or 1086  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-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  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-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  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-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-pm 8576  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-fzo 13312  df-hash 13973  df-word 14146  df-concat 14202  df-s1 14229  df-s2 14489  df-edg 27321  df-uhgr 27331  df-wlks 27869  df-wlkson 27870  df-trls 27962  df-trlson 27963  df-pths 27985  df-pthson 27987  df-cycls 28056
This theorem is referenced by:  acycgrislfgr  33014
  Copyright terms: Public domain W3C validator