Zulip Chat Archive

Stream: Is there code for X?

Topic: Connected components of SimpleGraph.Subgraph


Lessness (Oct 26 2023 at 13:39):

I tried to do this, but it causes an error.

import Mathlib

def aux0 {V} {G: SimpleGraph V} (M: G.Subgraph): Prop :=
   (c: M.ConnectedComponent), True

How does one 'talk' about connected components of SimpleGraph.Subgraph instead of SimpleGraph?

Yaël Dillies (Oct 26 2023 at 13:53):

Replace M by M.coe

Lessness (Oct 26 2023 at 13:55):

Big thank you!


Last updated: Dec 20 2023 at 11:08 UTC