You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
497 B

9 months ago
  1. \begin{center}
  2. \begin{forest}
  3. for tree={circle, draw,
  4. minimum size=2em,
  5. inner sep=0pt,
  6. s sep=2mm,
  7. l sep=1mm}
  8. [$\lnot$, name=not_one
  9. [$\lor$, name=or
  10. [$a$, name=a]
  11. [$\lnot$, name=not_two
  12. [$\lnot$, name=not_three
  13. [$b$, name=b]
  14. ]
  15. ]
  16. ]
  17. ]
  18. \end{forest}
  19. \end{center}
  20. Every leaf is a atomic variable and the other nodes are labeled with logical operators, thus this is a well-formed formula.