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 32812
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 27880 . . . . . . . . . . . . 13 (𝑓(Cycles‘𝐺)𝑝 → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))))
2 fveq2 6717 . . . . . . . . . . . . . . . 16 ((♯‘𝑓) = 1 → (𝑝‘(♯‘𝑓)) = (𝑝‘1))
32eqeq2d 2748 . . . . . . . . . . . . . . 15 ((♯‘𝑓) = 1 → ((𝑝‘0) = (𝑝‘(♯‘𝑓)) ↔ (𝑝‘0) = (𝑝‘1)))
43anbi2d 632 . . . . . . . . . . . . . 14 ((♯‘𝑓) = 1 → ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))) ↔ (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1))))
54biimpd 232 . . . . . . . . . . . . 13 ((♯‘𝑓) = 1 → ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘(♯‘𝑓))) → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1))))
61, 5mpan9 510 . . . . . . . . . . . 12 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
7 pthiswlk 27814 . . . . . . . . . . . . 13 (𝑓(Paths‘𝐺)𝑝𝑓(Walks‘𝐺)𝑝)
87anim1i 618 . . . . . . . . . . . 12 ((𝑓(Paths‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
96, 8syl 17 . . . . . . . . . . 11 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)))
109anim1i 618 . . . . . . . . . 10 (((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) ∧ (♯‘𝑓) = 1) → ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
1110anabss3 675 . . . . . . . . 9 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
12 df-3an 1091 . . . . . . . . 9 ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1) ↔ ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1)) ∧ (♯‘𝑓) = 1))
1311, 12sylibr 237 . . . . . . . 8 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1))
14 3ancomb 1101 . . . . . . . 8 ((𝑓(Walks‘𝐺)𝑝 ∧ (𝑝‘0) = (𝑝‘1) ∧ (♯‘𝑓) = 1) ↔ (𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)))
1513, 14sylib 221 . . . . . . 7 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)))
16 wlkl1loop 27725 . . . . . . . . . 10 (((Fun (iEdg‘𝐺) ∧ 𝑓(Walks‘𝐺)𝑝) ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → {(𝑝‘0)} ∈ (Edg‘𝐺))
1716expl 461 . . . . . . . . 9 (Fun (iEdg‘𝐺) → ((𝑓(Walks‘𝐺)𝑝 ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → {(𝑝‘0)} ∈ (Edg‘𝐺)))
18 eqid 2737 . . . . . . . . . 10 (iEdg‘𝐺) = (iEdg‘𝐺)
1918uhgrfun 27157 . . . . . . . . 9 (𝐺 ∈ UHGraph → Fun (iEdg‘𝐺))
2017, 19syl11 33 . . . . . . . 8 ((𝑓(Walks‘𝐺)𝑝 ∧ ((♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1))) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
21203impb 1117 . . . . . . 7 ((𝑓(Walks‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = (𝑝‘1)) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
2215, 21syl 17 . . . . . 6 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
23223adant3 1134 . . . . 5 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {(𝑝‘0)} ∈ (Edg‘𝐺)))
24 sneq 4551 . . . . . . 7 ((𝑝‘0) = 𝐴 → {(𝑝‘0)} = {𝐴})
2524eleq1d 2822 . . . . . 6 ((𝑝‘0) = 𝐴 → ({(𝑝‘0)} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ (Edg‘𝐺)))
26253ad2ant3 1137 . . . . 5 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → ({(𝑝‘0)} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ (Edg‘𝐺)))
2723, 26sylibd 242 . . . 4 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {𝐴} ∈ (Edg‘𝐺)))
2827exlimivv 1940 . . 3 (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → (𝐺 ∈ UHGraph → {𝐴} ∈ (Edg‘𝐺)))
2928com12 32 . 2 (𝐺 ∈ UHGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → {𝐴} ∈ (Edg‘𝐺)))
30 edgval 27140 . . . . . . . . . . . . . 14 (Edg‘𝐺) = ran (iEdg‘𝐺)
3130eleq2i 2829 . . . . . . . . . . . . 13 ({𝐴} ∈ (Edg‘𝐺) ↔ {𝐴} ∈ ran (iEdg‘𝐺))
32 elrnrexdm 6908 . . . . . . . . . . . . . 14 (Fun (iEdg‘𝐺) → ({𝐴} ∈ ran (iEdg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺){𝐴} = ((iEdg‘𝐺)‘𝑗)))
33 eqcom 2744 . . . . . . . . . . . . . . 15 ({𝐴} = ((iEdg‘𝐺)‘𝑗) ↔ ((iEdg‘𝐺)‘𝑗) = {𝐴})
3433rexbii 3170 . . . . . . . . . . . . . 14 (∃𝑗 ∈ dom (iEdg‘𝐺){𝐴} = ((iEdg‘𝐺)‘𝑗) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴})
3532, 34syl6ib 254 . . . . . . . . . . . . 13 (Fun (iEdg‘𝐺) → ({𝐴} ∈ ran (iEdg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
3631, 35syl5bi 245 . . . . . . . . . . . 12 (Fun (iEdg‘𝐺) → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
3719, 36syl 17 . . . . . . . . . . 11 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴}))
38 df-rex 3067 . . . . . . . . . . 11 (∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐴} ↔ ∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}))
3937, 38syl6ib 254 . . . . . . . . . 10 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴})))
4018lp1cycl 28235 . . . . . . . . . . . 12 ((𝐺 ∈ UHGraph ∧ 𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩)
41403expib 1124 . . . . . . . . . . 11 (𝐺 ∈ UHGraph → ((𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
4241eximdv 1925 . . . . . . . . . 10 (𝐺 ∈ UHGraph → (∃𝑗(𝑗 ∈ dom (iEdg‘𝐺) ∧ ((iEdg‘𝐺)‘𝑗) = {𝐴}) → ∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
4339, 42syld 47 . . . . . . . . 9 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
44 s1len 14163 . . . . . . . . . . 11 (♯‘⟨“𝑗”⟩) = 1
4544ax-gen 1803 . . . . . . . . . 10 𝑗(♯‘⟨“𝑗”⟩) = 1
46 19.29r 1882 . . . . . . . . . 10 ((∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ ∀𝑗(♯‘⟨“𝑗”⟩) = 1) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
4745, 46mpan2 691 . . . . . . . . 9 (∃𝑗⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
4843, 47syl6 35 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1)))
4948imp 410 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1))
50 uhgredgn0 27219 . . . . . . . . . . 11 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → {𝐴} ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}))
51 eldifsni 4703 . . . . . . . . . . 11 ({𝐴} ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) → {𝐴} ≠ ∅)
5250, 51syl 17 . . . . . . . . . 10 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → {𝐴} ≠ ∅)
53 snnzb 4634 . . . . . . . . . 10 (𝐴 ∈ V ↔ {𝐴} ≠ ∅)
5452, 53sylibr 237 . . . . . . . . 9 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → 𝐴 ∈ V)
55 s2fv0 14452 . . . . . . . . 9 (𝐴 ∈ V → (⟨“𝐴𝐴”⟩‘0) = 𝐴)
5654, 55syl 17 . . . . . . . 8 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → (⟨“𝐴𝐴”⟩‘0) = 𝐴)
5756alrimiv 1935 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∀𝑗(⟨“𝐴𝐴”⟩‘0) = 𝐴)
58 19.29r 1882 . . . . . . 7 ((∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ ∀𝑗(⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
5949, 57, 58syl2anc 587 . . . . . 6 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
60 df-3an 1091 . . . . . . 7 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6160exbii 1855 . . . . . 6 (∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ ∃𝑗((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1) ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6259, 61sylibr 237 . . . . 5 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
63 s1cli 14162 . . . . . . . 8 ⟨“𝑗”⟩ ∈ Word V
64 breq1 5056 . . . . . . . . . 10 (𝑓 = ⟨“𝑗”⟩ → (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ↔ ⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
65 fveqeq2 6726 . . . . . . . . . 10 (𝑓 = ⟨“𝑗”⟩ → ((♯‘𝑓) = 1 ↔ (♯‘⟨“𝑗”⟩) = 1))
6664, 653anbi12d 1439 . . . . . . . . 9 (𝑓 = ⟨“𝑗”⟩ → ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) ↔ (⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)))
6766rspcev 3537 . . . . . . . 8 ((⟨“𝑗”⟩ ∈ Word V ∧ (⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)) → ∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
6863, 67mpan 690 . . . . . . 7 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
69 rexex 3162 . . . . . . 7 (∃𝑓 ∈ Word V(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7068, 69syl 17 . . . . . 6 ((⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7170exlimiv 1938 . . . . 5 (∃𝑗(⟨“𝑗”⟩(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘⟨“𝑗”⟩) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7262, 71syl 17 . . . 4 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
73 s2cli 14445 . . . . . . 7 ⟨“𝐴𝐴”⟩ ∈ Word V
74 breq2 5057 . . . . . . . . 9 (𝑝 = ⟨“𝐴𝐴”⟩ → (𝑓(Cycles‘𝐺)𝑝𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩))
75 fveq1 6716 . . . . . . . . . 10 (𝑝 = ⟨“𝐴𝐴”⟩ → (𝑝‘0) = (⟨“𝐴𝐴”⟩‘0))
7675eqeq1d 2739 . . . . . . . . 9 (𝑝 = ⟨“𝐴𝐴”⟩ → ((𝑝‘0) = 𝐴 ↔ (⟨“𝐴𝐴”⟩‘0) = 𝐴))
7774, 763anbi13d 1440 . . . . . . . 8 (𝑝 = ⟨“𝐴𝐴”⟩ → ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) ↔ (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)))
7877rspcev 3537 . . . . . . 7 ((⟨“𝐴𝐴”⟩ ∈ Word V ∧ (𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴)) → ∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
7973, 78mpan 690 . . . . . 6 ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
80 rexex 3162 . . . . . 6 (∃𝑝 ∈ Word V(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) → ∃𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8179, 80syl 17 . . . . 5 ((𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8281eximi 1842 . . . 4 (∃𝑓(𝑓(Cycles‘𝐺)⟨“𝐴𝐴”⟩ ∧ (♯‘𝑓) = 1 ∧ (⟨“𝐴𝐴”⟩‘0) = 𝐴) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8372, 82syl 17 . . 3 ((𝐺 ∈ UHGraph ∧ {𝐴} ∈ (Edg‘𝐺)) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴))
8483ex 416 . 2 (𝐺 ∈ UHGraph → ({𝐴} ∈ (Edg‘𝐺) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴)))
8529, 84impbid 215 1 (𝐺 ∈ UHGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 1 ∧ (𝑝‘0) = 𝐴) ↔ {𝐴} ∈ (Edg‘𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089  wal 1541   = wceq 1543  wex 1787  wcel 2110  wne 2940  wrex 3062  Vcvv 3408  cdif 3863  c0 4237  𝒫 cpw 4513  {csn 4541   class class class wbr 5053  dom cdm 5551  ran crn 5552  Fun wfun 6374  cfv 6380  0cc0 10729  1c1 10730  chash 13896  Word cword 14069  ⟨“cs1 14152  ⟨“cs2 14406  Vtxcvtx 27087  iEdgciedg 27088  Edgcedg 27138  UHGraphcuhgr 27147  Walkscwlks 27684  Pathscpths 27799  Cyclesccycls 27872
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-ifp 1064  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-int 4860  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-er 8391  df-map 8510  df-pm 8511  df-en 8627  df-dom 8628  df-sdom 8629  df-fin 8630  df-card 9555  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-2 11893  df-n0 12091  df-z 12177  df-uz 12439  df-fz 13096  df-fzo 13239  df-hash 13897  df-word 14070  df-concat 14126  df-s1 14153  df-s2 14413  df-edg 27139  df-uhgr 27149  df-wlks 27687  df-wlkson 27688  df-trls 27780  df-trlson 27781  df-pths 27803  df-pthson 27805  df-cycls 27874
This theorem is referenced by:  acycgrislfgr  32827
  Copyright terms: Public domain W3C validator