Left to Solve
Problems / MathOverflow (not formalized)

Counting the orderings of outward-directed trees where the degree of each vertex is $2$

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

Let be a connected directed tree with the following properties:

• The degree of each vertex of is at most (I am sure there is a name for such a graph but I do not know it).

• has a distinguished vertex such that all directions on the edges of are pointing outward from .

also comes equipped with an ordering on the vertices which is consistent with the directions on the edges. That is, if is a directed edge in , then (thus immediately we have ).

Question: Can we count the number of all such trees with all such orderings?

I asked the more general question (where is replaced by any connected directed graph ) of my graph theory teacher in graduate school, and recall him saying it was NP-complete (a reference for this would be welcome), but I am curious about the restricted question above.

Posed by Trevor J Richards · co.combinatorics, graph-theory

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-196734.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-196734.lean

import Mathlib

/-!
# Counting the orderings of outward-directed trees where the degree of each vertex is $2$

Source: https://mathoverflow.net/questions/196734
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_196734

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_196734