Definition (Depth)

  • The depth of a circuit is the length of the longest path through its underlying graph, counting number of edges
  • The depth of a node is the length of the longest path from a source to that node

NB: induction on circuit structure induction on depth

This circuit has depth 3, witnessed by two longest paths:

  • is a path of length 3.
  • is a path of length 3. Thus have depth have depth have depth ; and has depth .