monogate.dev / search
EML Tree Enumerator
Exhaustive enumeration of all EML trees up to N nodes, evaluated over ℂ. Deterministic — finds proven constructions or proves none exist up to the chosen depth.
Target value
Max nodes — 8
2,056 trees · +4,862 at 9
135791112
How it works
1. Exhaustive enumeration. Every binary tree with 0 through N internal eml nodes is generated exactly once. Leaves always evaluate to 1. The total is the sum of Catalan numbers C(0) + … + C(N).
2. Complex evaluation. Each tree is evaluated over ℂ using strict principal-branch ln: arg(z) ∈ (−π, π]. If ln(0) is reached at any intermediate node, the tree is skipped (counted as an error).
3. Distance to target. The result is compared to the target value by |z − target| in ℂ. A distance below 1×10⁻⁸ counts as a construction found.
4. Deterministic. Unlike gradient descent, this search is exhaustive: if no construction exists up to N nodes under this grammar, it will not be found. Sanity checks: e (1 node), 0 (3 nodes), −iπ (11 nodes).