Eulerian circuit in Logical English

eulerian-circuit-le.le · output · proof · check · playground


The question

Can you start and finish at the same vertex while traversing every undirected edge exactly once? The example compares a six-vertex network, a chain and two disjoint triangles.

Mind sees two paths at every stop. Quill asks how Mind will reach the other island. Each island has its own triangle of paths, with water between the islands.

Historical background

Euler analyzed the Königsberg bridge problem by counting the bridges incident to each land mass. In a closed walk, each arrival at a vertex pairs with a departure. The same parity condition is used here. Euler’s original paper, Euler Archive

What we tell eyemind

Each edge is listed once and gives adjacency in both directions. Starting from one vertex, recursive reachability extends across adjacent edges. The degree is the number of neighbors. For these simple graphs, Euler’s criterion says that all vertices incident to an edge must be reachable and have even degree.

What eyemind concludes

The six-vertex network has 11 edges and degrees 4, 4, 4, 4, 2 and 4. The chain fails the degree test at both ends. The two triangles pass the degree test and fail the connectivity test.

struct('le:answer', 'circuits', 'six vertices', 'circuit exists')

What the proof establishes

The proof is checked. It verifies the reachable vertices and degree counts used in Euler’s criterion. The answer certifies existence by the criterion.

Try it

node bin/eyemind.js examples/eulerian-circuit-le.le
node bin/eyemind.js --check-proof examples/proof/eulerian-circuit-le.js examples/eulerian-circuit-le.le

Add an edge from v3 to v1 in the chain. It becomes a triangle and has a circuit.