mathbot icon indicating copy to clipboard operation
mathbot copied to clipboard

Add bussproofs for inference rules and other logical proofs

Open Ailrun opened this issue 5 years ago • 5 comments

Link: https://www.ctan.org/pkg/bussproofs

Even though it is possible to write simple inference rules and logical proofs with array env and \frac, \cfrac, etc., it becomes significantly hard to write complex rules and proofs with those commands.

Ailrun avatar May 04 '20 06:05 Ailrun

I'm not familiar with this package. Can you show me some sample code and output so I can see what it does?

DXsmiley avatar Jun 21 '20 11:06 DXsmiley

Sure. I will post it as soon as I can access my PC.

Ailrun avatar Jun 22 '20 04:06 Ailrun

With this code

\begin{prooftree}
  \AxiomC{A}
  \AxiomC{B}
  \AxiomC{C}
  \BinaryInfC{D}
  \BinaryInfC{E}
\end{prooftree}

the package gives image

Ailrun avatar Jun 23 '20 15:06 Ailrun

If you don't like the package, I think https://www.ctan.org/pkg/ebproof would also work for the task.

In that package, the following code

\begin{prooftree}
  \infer0{\vdash A}
  \hypo{\vdash B} \infer1{\vdash B, C}
  \infer2{\vdash A \wedge B, C}
\end{prooftree}

is rendered as Screenshot_20200623-235444_Drive

Ailrun avatar Jun 24 '20 03:06 Ailrun

@DXsmiley any updates?

Ailrun avatar Jan 27 '21 06:01 Ailrun