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

Theorem 2pthon3v 27084
 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 26161 . . . . . . . . . 10 (Edg‘𝐺) = ran (iEdg‘𝐺)
31, 2eqtri 2782 . . . . . . . . 9 𝐸 = ran (iEdg‘𝐺)
43eleq2i 2831 . . . . . . . 8 ({𝐴, 𝐵} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ ran (iEdg‘𝐺))
5 2pthon3v.v . . . . . . . . . . 11 𝑉 = (Vtx‘𝐺)
6 eqid 2760 . . . . . . . . . . 11 (iEdg‘𝐺) = (iEdg‘𝐺)
75, 6uhgrf 26177 . . . . . . . . . 10 (𝐺 ∈ UHGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 𝑉 ∖ {∅}))
87ffnd 6207 . . . . . . . . 9 (𝐺 ∈ UHGraph → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
9 fvelrnb 6406 . . . . . . . . 9 ((iEdg‘𝐺) Fn dom (iEdg‘𝐺) → ({𝐴, 𝐵} ∈ ran (iEdg‘𝐺) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
108, 9syl 17 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐴, 𝐵} ∈ ran (iEdg‘𝐺) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
114, 10syl5bb 272 . . . . . . 7 (𝐺 ∈ UHGraph → ({𝐴, 𝐵} ∈ 𝐸 ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵}))
123eleq2i 2831 . . . . . . . 8 ({𝐵, 𝐶} ∈ 𝐸 ↔ {𝐵, 𝐶} ∈ ran (iEdg‘𝐺))
13 fvelrnb 6406 . . . . . . . . 9 ((iEdg‘𝐺) Fn dom (iEdg‘𝐺) → ({𝐵, 𝐶} ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
148, 13syl 17 . . . . . . . 8 (𝐺 ∈ UHGraph → ({𝐵, 𝐶} ∈ ran (iEdg‘𝐺) ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
1512, 14syl5bb 272 . . . . . . 7 (𝐺 ∈ UHGraph → ({𝐵, 𝐶} ∈ 𝐸 ↔ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
1611, 15anbi12d 749 . . . . . 6 (𝐺 ∈ UHGraph → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
1716adantr 472 . . . . 5 ((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
1817adantr 472 . . . 4 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
19 reeanv 3245 . . . 4 (∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) ↔ (∃𝑖 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ∃𝑗 ∈ dom (iEdg‘𝐺)((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}))
2018, 19syl6bbr 278 . . 3 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ↔ ∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
21 df-s2 13813 . . . . . . . 8 ⟨“𝑖𝑗”⟩ = (⟨“𝑖”⟩ ++ ⟨“𝑗”⟩)
2221ovexi 6843 . . . . . . 7 ⟨“𝑖𝑗”⟩ ∈ V
23 df-s3 13814 . . . . . . . 8 ⟨“𝐴𝐵𝐶”⟩ = (⟨“𝐴𝐵”⟩ ++ ⟨“𝐶”⟩)
2423ovexi 6843 . . . . . . 7 ⟨“𝐴𝐵𝐶”⟩ ∈ V
2522, 24pm3.2i 470 . . . . . 6 (⟨“𝑖𝑗”⟩ ∈ V ∧ ⟨“𝐴𝐵𝐶”⟩ ∈ V)
26 eqid 2760 . . . . . . . 8 ⟨“𝐴𝐵𝐶”⟩ = ⟨“𝐴𝐵𝐶”⟩
27 eqid 2760 . . . . . . . 8 ⟨“𝑖𝑗”⟩ = ⟨“𝑖𝑗”⟩
28 simp-4r 827 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (𝐴𝑉𝐵𝑉𝐶𝑉))
29 3simpb 1145 . . . . . . . . 9 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴𝐵𝐵𝐶))
3029ad3antlr 769 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (𝐴𝐵𝐵𝐶))
31 eqimss2 3799 . . . . . . . . . 10 (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} → {𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖))
32 eqimss2 3799 . . . . . . . . . 10 (((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶} → {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗))
3331, 32anim12i 591 . . . . . . . . 9 ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ({𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖) ∧ {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗)))
3433adantl 473 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ({𝐴, 𝐵} ⊆ ((iEdg‘𝐺)‘𝑖) ∧ {𝐵, 𝐶} ⊆ ((iEdg‘𝐺)‘𝑗)))
35 fveq2 6353 . . . . . . . . . . . . . . 15 (𝑖 = 𝑗 → ((iEdg‘𝐺)‘𝑖) = ((iEdg‘𝐺)‘𝑗))
3635eqeq1d 2762 . . . . . . . . . . . . . 14 (𝑖 = 𝑗 → (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ↔ ((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵}))
3736anbi1d 743 . . . . . . . . . . . . 13 (𝑖 = 𝑗 → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) ↔ (((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})))
38 eqtr2 2780 . . . . . . . . . . . . . 14 ((((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → {𝐴, 𝐵} = {𝐵, 𝐶})
39 3simpa 1143 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑉𝐵𝑉𝐶𝑉) → (𝐴𝑉𝐵𝑉))
40 3simpc 1147 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑉𝐵𝑉𝐶𝑉) → (𝐵𝑉𝐶𝑉))
41 preq12bg 4530 . . . . . . . . . . . . . . . . . . . 20 (((𝐴𝑉𝐵𝑉) ∧ (𝐵𝑉𝐶𝑉)) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
4239, 40, 41syl2anc 696 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
43 eqneqall 2943 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 = 𝐵 → (𝐴𝐵𝑖𝑗))
4443com12 32 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴𝐵 → (𝐴 = 𝐵𝑖𝑗))
45443ad2ant1 1128 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴 = 𝐵𝑖𝑗))
4645com12 32 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝐵 → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
4746adantr 472 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 = 𝐵𝐵 = 𝐶) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
48 eqneqall 2943 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 = 𝐶 → (𝐴𝐶𝑖𝑗))
4948com12 32 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴𝐶 → (𝐴 = 𝐶𝑖𝑗))
50493ad2ant2 1129 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝐵𝐴𝐶𝐵𝐶) → (𝐴 = 𝐶𝑖𝑗))
5150com12 32 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝐶 → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5251adantr 472 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 = 𝐶𝐵 = 𝐵) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5347, 52jaoi 393 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵)) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗))
5442, 53syl6bi 243 . . . . . . . . . . . . . . . . . 18 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ({𝐴, 𝐵} = {𝐵, 𝐶} → ((𝐴𝐵𝐴𝐶𝐵𝐶) → 𝑖𝑗)))
5554com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴𝑉𝐵𝑉𝐶𝑉) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗)))
5655adantl 473 . . . . . . . . . . . . . . . 16 ((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) → ((𝐴𝐵𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗)))
5756imp 444 . . . . . . . . . . . . . . 15 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ({𝐴, 𝐵} = {𝐵, 𝐶} → 𝑖𝑗))
5857com12 32 . . . . . . . . . . . . . 14 ({𝐴, 𝐵} = {𝐵, 𝐶} → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗))
5938, 58syl 17 . . . . . . . . . . . . 13 ((((iEdg‘𝐺)‘𝑗) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗))
6037, 59syl6bi 243 . . . . . . . . . . . 12 (𝑖 = 𝑗 → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → 𝑖𝑗)))
6160com23 86 . . . . . . . . . . 11 (𝑖 = 𝑗 → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗)))
62 2a1 28 . . . . . . . . . . 11 (𝑖𝑗 → (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗)))
6361, 62pm2.61ine 3015 . . . . . . . . . 10 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗))
6463adantr 472 . . . . . . . . 9 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → 𝑖𝑗))
6564imp 444 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → 𝑖𝑗)
66 simplr2 1263 . . . . . . . . 9 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → 𝐴𝐶)
6766adantr 472 . . . . . . . 8 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → 𝐴𝐶)
6826, 27, 28, 30, 34, 5, 6, 65, 672pthond 27083 . . . . . . 7 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩)
69 s2len 13854 . . . . . . 7 (♯‘⟨“𝑖𝑗”⟩) = 2
7068, 69jctir 562 . . . . . 6 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → (⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2))
71 breq12 4809 . . . . . . . 8 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → (𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ↔ ⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩))
72 fveq2 6353 . . . . . . . . . 10 (𝑓 = ⟨“𝑖𝑗”⟩ → (♯‘𝑓) = (♯‘⟨“𝑖𝑗”⟩))
7372eqeq1d 2762 . . . . . . . . 9 (𝑓 = ⟨“𝑖𝑗”⟩ → ((♯‘𝑓) = 2 ↔ (♯‘⟨“𝑖𝑗”⟩) = 2))
7473adantr 472 . . . . . . . 8 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → ((♯‘𝑓) = 2 ↔ (♯‘⟨“𝑖𝑗”⟩) = 2))
7571, 74anbi12d 749 . . . . . . 7 ((𝑓 = ⟨“𝑖𝑗”⟩ ∧ 𝑝 = ⟨“𝐴𝐵𝐶”⟩) → ((𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2) ↔ (⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2)))
7675spc2egv 3435 . . . . . 6 ((⟨“𝑖𝑗”⟩ ∈ V ∧ ⟨“𝐴𝐵𝐶”⟩ ∈ V) → ((⟨“𝑖𝑗”⟩(𝐴(SPathsOn‘𝐺)𝐶)⟨“𝐴𝐵𝐶”⟩ ∧ (♯‘⟨“𝑖𝑗”⟩) = 2) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
7725, 70, 76mpsyl 68 . . . . 5 (((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) ∧ (((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶})) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2))
7877ex 449 . . . 4 ((((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) ∧ (𝑖 ∈ dom (iEdg‘𝐺) ∧ 𝑗 ∈ dom (iEdg‘𝐺))) → ((((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
7978rexlimdvva 3176 . . 3 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (∃𝑖 ∈ dom (iEdg‘𝐺)∃𝑗 ∈ dom (iEdg‘𝐺)(((iEdg‘𝐺)‘𝑖) = {𝐴, 𝐵} ∧ ((iEdg‘𝐺)‘𝑗) = {𝐵, 𝐶}) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
8020, 79sylbid 230 . 2 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶)) → (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2)))
81803impia 1110 1 (((𝐺 ∈ UHGraph ∧ (𝐴𝑉𝐵𝑉𝐶𝑉)) ∧ (𝐴𝐵𝐴𝐶𝐵𝐶) ∧ ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(𝐴(SPathsOn‘𝐺)𝐶)𝑝 ∧ (♯‘𝑓) = 2))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∨ wo 382   ∧ wa 383   ∧ w3a 1072   = wceq 1632  ∃wex 1853   ∈ wcel 2139   ≠ wne 2932  ∃wrex 3051  Vcvv 3340   ∖ cdif 3712   ⊆ wss 3715  ∅c0 4058  𝒫 cpw 4302  {csn 4321  {cpr 4323   class class class wbr 4804  dom cdm 5266  ran crn 5267   Fn wfn 6044  ‘cfv 6049  (class class class)co 6814  2c2 11282  ♯chash 13331   ++ cconcat 13499  ⟨“cs1 13500  ⟨“cs2 13806  ⟨“cs3 13807  Vtxcvtx 26094  iEdgciedg 26095  Edgcedg 26159  UHGraphcuhgr 26171  SPathsOncspthson 26842 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7115  ax-cnex 10204  ax-resscn 10205  ax-1cn 10206  ax-icn 10207  ax-addcl 10208  ax-addrcl 10209  ax-mulcl 10210  ax-mulrcl 10211  ax-mulcom 10212  ax-addass 10213  ax-mulass 10214  ax-distr 10215  ax-i2m1 10216  ax-1ne0 10217  ax-1rid 10218  ax-rnegex 10219  ax-rrecex 10220  ax-cnre 10221  ax-pre-lttri 10222  ax-pre-lttrn 10223  ax-pre-ltadd 10224  ax-pre-mulgt0 10225 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-ifp 1051  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-riota 6775  df-ov 6817  df-oprab 6818  df-mpt2 6819  df-om 7232  df-1st 7334  df-2nd 7335  df-wrecs 7577  df-recs 7638  df-rdg 7676  df-1o 7730  df-oadd 7734  df-er 7913  df-map 8027  df-pm 8028  df-en 8124  df-dom 8125  df-sdom 8126  df-fin 8127  df-card 8975  df-pnf 10288  df-mnf 10289  df-xr 10290  df-ltxr 10291  df-le 10292  df-sub 10480  df-neg 10481  df-nn 11233  df-2 11291  df-3 11292  df-n0 11505  df-z 11590  df-uz 11900  df-fz 12540  df-fzo 12680  df-hash 13332  df-word 13505  df-concat 13507  df-s1 13508  df-s2 13813  df-s3 13814  df-edg 26160  df-uhgr 26173  df-wlks 26726  df-wlkson 26727  df-trls 26820  df-trlson 26821  df-pths 26843  df-spths 26844  df-spthson 26846 This theorem is referenced by:  2pthfrgr  27459
 Copyright terms: Public domain W3C validator