Theorems · Definition · combinatorics
DyckWord.ofTree
BinaryTree Unit → DyckWord
Convert a binary rooted tree to a Dyck word.
g(nil) = 0. A nonempty tree with left subtree l and right subtree r
is sent to g(l).nest + g(r).
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 71 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites3
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DyckWordstatement · cited by 59
- BinaryTreestatement and proof · cited by 41
- BinaryTree.brecOnproof · cited by 3
Cited by6
Results whose statement or proof uses this declaration.
- DyckWord.equivTreeproof · cited by 2
- DyckWord.ofTree_toTreestatement and proof · cited by 0
- DyckWord.equivTreesOfNumNodesEq_symm_apply_coestatement · cited by 0
- DyckWord.toTree_ofTreestatement · cited by 0
- DyckWord.ofTree.eq_defstatement and proof · cited by 0
- DyckWord.equivTree_symm_applystatement · cited by 0