add theorem: tree version