When editing an equation using the Ket algebra editor, keyboard commands and the internal representation used by the editor represents all equations as a tree data structure. This provides a simple example.