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

Theorem 2pthon3v 27881
Description: For a vertex adjacent to two other vertices there is a simple path of length 2 between these other vertices in a hypergraph. (Contributed by Alexander van der Vekens, 4-Dec-2017.) (Revised by AV, 24-Jan-2021.)
Hypotheses
Ref Expression
2pthon3v.v 𝑉 = (Vtx‘𝐺)
2pthon3v.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
2pthon3v (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶) ∧ ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2))
Distinct variable groups:   𝐴,𝑓,𝑝   𝐵,𝑓,𝑝   𝐶,𝑓,𝑝   𝑓,𝐺,𝑝
Allowed substitution hints:   𝐸(𝑓,𝑝)   𝑉(𝑓,𝑝)

Proof of Theorem 2pthon3v
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 2pthon3v.e . . . . . . . . . 10 𝐸 = (Edg‘𝐺)
2 edgval 26994 . . . . . . . . . 10 (Edg‘𝐺) = ran (iEdg‘𝐺)
31, 2eqtri 2761 . . . . . . . . 9 𝐸 = ran (iEdg‘𝐺)
43eleq2i 2824 . . . . . . . 8 ({𝐴, 𝐵} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ ran (iEdg‘𝐺))
5 2pthon3v.v . . . . . . . . . . 11 𝑉 = (Vtx‘𝐺)
6 eqid 2738 . . . . . . . . . . 11 (iEdg‘𝐺) = (iEdg‘𝐺)
75, 6uhgrf 27007 . . . . . . . . . 10 (𝐺 ∈ UHGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 𝑉 ∖ {∅}))
87ffnd 6505 . . . . . . . . 9 (𝐺 ∈ UHGraph → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
9 fvelrnb 6730 . . . . . . . . 9 ((iEdg‘𝐺) Fn dom (iEdg‘𝐺) → ({𝐴, 𝐵} ∈ ran (iEdg‘𝐺) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
108, 9syl 17 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐴, 𝐵} ∈ ran (iEdg‘𝐺) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
114, 10syl5bb 286 . . . . . . 7 (𝐺 ∈ UHGraph → ({𝐴, 𝐵} ∈ 𝐸 ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
123eleq2i 2824 . . . . . . . 8 ({𝐵, 𝐶} ∈ 𝐸 ↔ {𝐵, 𝐶} ∈ ran (iEdg‘𝐺))
13 fvelrnb 6730 . . . . . . . . 9 ((iEdg‘𝐺) Fn dom (iEdg‘𝐺) → ({𝐵, 𝐶} ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
148, 13syl 17 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐵, 𝐶} ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
1512, 14syl5bb 286 . . . . . . 7 (𝐺 ∈ UHGraph → ({𝐵, 𝐶} ∈ 𝐸 ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
1611, 15anbi12d 634 . . . . . 6 (𝐺 ∈ UHGraph → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
1716adantr 484 . . . . 5 ((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
1817adantr 484 . . . 4 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
19 reeanv 3270 . . . 4 (∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
2018, 19bitr4di 292 . . 3 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
21 df-s2 14299 . . . . . . . 8 ⟨“𝑖𝑗”⟩ = (⟨“𝑖”⟩ ++ ⟨“𝑗”⟩)
2221ovexi 7204 . . . . . . 7 ⟨“𝑖𝑗”⟩ ∈ V
23 df-s3 14300 . . . . . . . 8 ⟨“𝐴𝐵𝐶”⟩ = (⟨“𝐴𝐵”⟩ ++ ⟨“𝐶”⟩)
2423ovexi 7204 . . . . . . 7 ⟨“𝐴𝐵𝐶”⟩ ∈ V
2522, 24pm3.2i 474 . . . . . 6 (⟨“𝑖𝑗”⟩ ∈ V ∧ ⟨“𝐴𝐵𝐶”⟩ ∈ V)
26 eqid 2738 . . . . . . . 8 ⟨“𝐴𝐵𝐶”⟩ = ⟨“𝐴𝐵𝐶”⟩
27 eqid 2738 . . . . . . . 8 ⟨“𝑖𝑗”⟩ = ⟨“𝑖𝑗”⟩
28 simp-4r 784 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (𝐴𝑉𝐵𝑉𝐶𝑉))
29 3simpb 1150 . . . . . . . . 9 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴𝐵𝐵𝐶))
3029ad3antlr 731 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (𝐴𝐵𝐵𝐶))
31 eqimss2 3934 . . . . . . . . . 10 (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} → {𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖))
32 eqimss2 3934 . . . . . . . . . 10 (((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶} → {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗))
3331, 32anim12i 616 . . . . . . . . 9 ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ({𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖) ∧ {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗)))
3433adantl 485 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ({𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖) ∧ {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗)))
35 fveqeq2 6683 . . . . . . . . . . . . . 14 (𝑖 = 𝑗 → (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ↔ ((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵}))
3635anbi1d 633 . . . . . . . . . . . . 13 (𝑖 = 𝑗 → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) ↔ (((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
37 eqtr2 2759 . . . . . . . . . . . . . 14 ((((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → {𝐴, 𝐵} = {𝐵, 𝐶})
38 3simpa 1149 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑉𝐵𝑉𝐶𝑉) → (𝐴𝑉𝐵𝑉))
39 3simpc 1151 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑉𝐵𝑉𝐶𝑉) → (𝐵𝑉𝐶𝑉))
40 preq12bg 4739 . . . . . . . . . . . . . . . . . . . 20 (((𝐴𝑉𝐵𝑉) ∧ (𝐵𝑉𝐶𝑉)) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
4138, 39, 40syl2anc 587 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
42 eqneqall 2945 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 = 𝐵 → (𝐴𝐵𝑖𝑗))
4342com12 32 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴𝐵 → (𝐴 = 𝐵𝑖𝑗))
44433ad2ant1 1134 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴 = 𝐵𝑖𝑗))
4544com12 32 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝐵 → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
4645adantr 484 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 = 𝐵𝐵 = 𝐶) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
47 eqneqall 2945 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 = 𝐶 → (𝐴𝐶𝑖𝑗))
4847com12 32 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴𝐶 → (𝐴 = 𝐶𝑖𝑗))
49483ad2ant2 1135 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴 = 𝐶𝑖𝑗))
5049com12 32 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝐶 → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5150adantr 484 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 = 𝐶𝐵 = 𝐵) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5246, 51jaoi 856 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵)) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5341, 52syl6bi 256 . . . . . . . . . . . . . . . . . 18 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ({𝐴, 𝐵} = {𝐵, 𝐶} → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗)))
5453com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗)))
5554adantl 485 . . . . . . . . . . . . . . . 16 ((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗)))
5655imp 410 . . . . . . . . . . . . . . 15 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗))
5756com12 32 . . . . . . . . . . . . . 14 ({𝐴, 𝐵} = {𝐵, 𝐶} → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗))
5837, 57syl 17 . . . . . . . . . . . . 13 ((((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗))
5936, 58syl6bi 256 . . . . . . . . . . . 12 (𝑖 = 𝑗 → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗)))
6059com23 86 . . . . . . . . . . 11 (𝑖 = 𝑗 → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗)))
61 2a1 28 . . . . . . . . . . 11 (𝑖𝑗 → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗)))
6260, 61pm2.61ine 3017 . . . . . . . . . 10 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗))
6362adantr 484 . . . . . . . . 9 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗))
6463imp 410 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → 𝑖𝑗)
65 simplr2 1217 . . . . . . . . 9 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → 𝐴𝐶)
6665adantr 484 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → 𝐴𝐶)
6726, 27, 28, 30, 34, 5, 6, 64, 662pthond 27880 . . . . . . 7 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩)
68 s2len 14340 . . . . . . 7 (♯‘⟨“𝑖𝑗”⟩) = 2
6967, 68jctir 524 . . . . . 6 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2))
70 breq12 5035 . . . . . . . 8 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → (𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ↔ ⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩))
71 fveqeq2 6683 . . . . . . . . 9 (𝑓 = ⟨“𝑖𝑗”⟩ → ((♯‘𝑓) = 2 ↔ (♯‘⟨“𝑖𝑗”⟩) = 2))
7271adantr 484 . . . . . . . 8 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → ((♯‘𝑓) = 2 ↔ (♯‘⟨“𝑖𝑗”⟩) = 2))
7370, 72anbi12d 634 . . . . . . 7 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → ((𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2) ↔ (⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2)))
7473spc2egv 3503 . . . . . 6 ((⟨“𝑖𝑗”⟩ ∈ V ∧ ⟨“𝐴𝐵𝐶”⟩ ∈ V) → ((⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
7525, 69, 74mpsyl 68 . . . . 5 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2))
7675ex 416 . . . 4 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
7776rexlimdvva 3204 . . 3 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
7820, 77sylbid 243 . 2 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
79783impia 1118 1 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶) ∧ ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 846  w3a 1088   = wceq 1542  wex 1786  wcel 2114  wne 2934  wrex 3054  Vcvv 3398  cdif 3840  wss 3843  c0 4211  𝒫 cpw 4488  {csn 4516  {cpr 4518   class class class wbr 5030  dom cdm 5525  ran crn 5526   Fn wfn 6334  cfv 6339  (class class class)co 7170  2c2 11771  chash 13782   ++ cconcat 14011  ⟨“cs1 14038  ⟨“cs2 14292  ⟨“cs3 14293  Vtxcvtx 26941  iEdgciedg 26942  Edgcedg 26992  UHGraphcuhgr 27001  SPathsOncspthson 27656
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479  ax-cnex 10671  ax-resscn 10672  ax-1cn 10673  ax-icn 10674  ax-addcl 10675  ax-addrcl 10676  ax-mulcl 10677  ax-mulrcl 10678  ax-mulcom 10679  ax-addass 10680  ax-mulass 10681  ax-distr 10682  ax-i2m1 10683  ax-1ne0 10684  ax-1rid 10685  ax-rnegex 10686  ax-rrecex 10687  ax-cnre 10688  ax-pre-lttri 10689  ax-pre-lttrn 10690  ax-pre-ltadd 10691  ax-pre-mulgt0 10692
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-ifp 1063  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-nel 3039  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-tp 4521  df-op 4523  df-uni 4797  df-int 4837  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5483  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-riota 7127  df-ov 7173  df-oprab 7174  df-mpo 7175  df-om 7600  df-1st 7714  df-2nd 7715  df-wrecs 7976  df-recs 8037  df-rdg 8075  df-1o 8131  df-er 8320  df-map 8439  df-en 8556  df-dom 8557  df-sdom 8558  df-fin 8559  df-card 9441  df-pnf 10755  df-mnf 10756  df-xr 10757  df-ltxr 10758  df-le 10759  df-sub 10950  df-neg 10951  df-nn 11717  df-2 11779  df-3 11780  df-n0 11977  df-z 12063  df-uz 12325  df-fz 12982  df-fzo 13125  df-hash 13783  df-word 13956  df-concat 14012  df-s1 14039  df-s2 14299  df-s3 14300  df-edg 26993  df-uhgr 27003  df-wlks 27541  df-wlkson 27542  df-trls 27634  df-trlson 27635  df-pths 27657  df-spths 27658  df-spthson 27660
This theorem is referenced by:  2pthfrgr  28221
  Copyright terms: Public domain W3C validator