Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [proof-package]

This tag is meant for packages to display and typeset proofs. This can be proof environments like being defined from `amsthm` with `\newtheorem` or more algorithm-like scenarios. The package `proof` is an example.

2
votes
1answer
38 views

Square at the end of proof without “proof” at the beginning

I'm writing a paper and I would like to have a square at the end of each proof without having the "Proof." that comes automatically with the \begin{proof} ... \end{proof} thing because I don't want ...
2
votes
1answer
94 views

Define double environments

TLDR; How can I define a "double" environment like in theorems/proofs (with an optional proof)? I'm defining a small library that is supposed to behave more or less like theorems/proof environments (...
2
votes
1answer
58 views

Ultimate proof at the end/in appendix: different sections, with references to proof/theorem, restate, and synctex

I saw lot's of different posts/answers to put the proof at the end, but none of them fully convince me. Indeed, I'd like to have the following: a way to put the proofs in different sections: some ...
2
votes
1answer
18 views

Proof environment with long header causes many problems. How to avoid them?

Suppose we have defined a lemma environment with the amstheorem package. And suppose the proof environment is available via the ams packages. Please consider this example. \begin{lemma} \label{lem:...
4
votes
0answers
62 views

prooftrees tree nodes on different line

While trying to write a tableaux proof tree with prooftrees, I had some difficulty with putting single and branching nodes on the same line. \documentclass{article} \usepackage{prooftrees} \begin{...
1
vote
2answers
49 views

In the proof (see picture), Similarly line is not aligned. How can I align this line?

Code: \begin{proof} $ \begin{align*} T(1) &= \theta(1), \\T(0) &= \theta(1), \\T(n) &= T(n-1)+T(n-2)+\theta(1) &&n\geq2 \\T(n) &= T(n-1)+T(n-2)+c ...
1
vote
0answers
95 views

apxproof changing appendix title

I need to use the apxprrof package because i have proofs that I want to show only in the appendix and this package does exactly what I need. However, I also need to place some tables (not all) in the ...
2
votes
0answers
104 views

how do I display very large proof trees (bussproofs, ebproofs, tikz's tree library)

I am looking at different options to typeset proof trees. I have asked a more general question and run into some issues. In particular I am trying to understand how to display very large proof trees, ...
0
votes
1answer
426 views

Problem with proof environment

I've written a proof in LaTeX, and I looked up how to use the proof environment. From what I read, it should start with "Proof:" and end with \qed, but the PDF shows no changes. It simply displays the ...
1
vote
1answer
75 views

\resizebox within \begin{align}… \end{align} not working while using \intertext{

I have some very wide equations within a proof environment which I want to contain in a two-column document, I thus think of using \resizebox{1.3\columnwidth}{!}{% to archive that generate this error ...
0
votes
1answer
38 views

Aligning all the equations but not aligning texts within a 2 column-proof environment while?

I need you help me with hacks or tricks to include my MWE in a two-column page with the proof environment with its mathematical being aligned and also consist texts for explanation. The problem is ...
2
votes
2answers
86 views

Equation number within proof environment while aligning all the equations?

I know equation numbering is possible in a proof environment, as shown below in MWE1: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \...
1
vote
1answer
97 views

Using the apxproof package and \newtheoreprep, my theorems don't show up in the appendix.

Problem A theorem environment was defined with apxproof's \newtheoremrep command. The theorem however, doesn't show up in the appendix, and neither does the subsequent \proof as claimed by the ...
2
votes
0answers
109 views

\begin{proof} and \begin{problem} don't work in new section

I've encountered with the following problem. So in my document, I defined the new theorem environment problem, using the following preamble codes \theoremstyle{plain} \newtheorem{eg}[theorem]{Example}...
2
votes
2answers
271 views

Writing a natural deduction proof in Latex

I have checked the other questions, before anyone asks, but the style of proof appears to be subtly different and I would be expected to stick to the convention that I am using. My question is how to ...
0
votes
0answers
47 views

Distinguishing parts of a proof

Suppose I have a theorem that says that three statements are equivalent. When writing out a proof of such a theorem, I like to use the following formatting: Proof: (͟1͟)͟ ͟=͟>͟ ͟(͟2͟)͟ | *proof ...
0
votes
1answer
68 views

Manually set line numbers if prooftrees.sty?

Is it possible to manually set the line number in a prooftrees tableau? Or suppress the line numbers for an individual line? I'd like to have something like 1 A_1 \vdots n A_n produced perhaps ...
4
votes
1answer
289 views

ebproof undefined control sequence \hypo

I'm trying to use the ebproof package with the following MWE: \documentclass[12pt, letterpaper]{report} \usepackage[utf8]{inputenc} \usepackage{ebproof} \begin{document} \begin{prooftree} \hypo{...
1
vote
1answer
42 views

Can't use some commands in repeated theorem name when using apxproof

For some reason I can't use some commands, such as \def in the name of a theorem when using apxproof's repeated theorems. And I can't understand why. It does not seem to be related to the fact that ...
5
votes
3answers
2k views

How to Align Equations in the Align and Proof Environment

I wrote the following proof. I used the following code and it resulted in the following output: \begin{proof} \[S_n = \frac{a(1-r^n)}{1-r}\] \begin{align*} \lim _{n\to \infty} S_n &= \lim _{n\...
1
vote
1answer
59 views

prooftrees.sty: How can I number individual expressions rather than whole lines?

Using prooftrees.sty (https://ctan.org/pkg/prooftrees), is there an option or hack to obtain a line numbering scheme different from the default one? I would like to format truth trees that match the ...
1
vote
1answer
232 views

`enumerate` v.s. `\item[label]` in proof environment

When I want to enumerate in the proof environment I usually use the command enumerate or \item[label]. The first one seems very nice as it counting automatically. However, it is also a trouble when ...
1
vote
1answer
91 views

Centering the “prooftrees.sty” trees

Is it possible to overlap the center of the node containing the first premiss of proof trees like the ones in the MWE with the vertical center of the page? Here is the MWE: \documentclass[openany,...
1
vote
1answer
134 views

Creating a specific kind of tree diagram

I'm trying to create a tree diagram for logic. I've used syntax trees before to do normal truth trees for logic. The trees I'm trying to create, however, don't look like syntax trees. They look like ...
0
votes
0answers
89 views

How to write a full CCS Derivation

I'm taking a course in modelling of concurrent systems, and the course uses CCS. I'm trying to write out full derivations for some homework problems, but I'm still relatively new to LaTeX. For a ...
2
votes
2answers
104 views

Why is prooftrees putting everything on the same line?

I'm trying to do a prooftrees tree like this: \documentclass[letterpaper, 12pt]{article} \usepackage{prooftrees} \begin{document} \begin{prooftree} { to prove={ A \lor B \lor C \lor D \lor E } } ...
2
votes
2answers
149 views

Document class not recognized and an issue with the theorem and proof

What am I doing wrong? \documentclass{amsart} \usepackage{amssymb,amsmath,latexsym,times,color} \newtheorem*{theorem*}{Theorem} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \...
0
votes
0answers
84 views

Is there an equivalent to the cases environment for proofs?

The cases environment is nice for displaying equations with multiple cases and short descriptions, but it is awkward for displaying proofs with multi-paragraph cases. Is there an equivalent set of ...
1
vote
0answers
43 views

How to customize the proof name without affecting the \qed positioning?

everybody. I need to customize the proof name as "Demostración" underlined and with a linebreak after that proof name. I have tried with these codes. I'm going to tell you what I got with each one ...
1
vote
1answer
580 views

QED symbol at end of special proof environment?

This is a follow up question to: Proof titles with ntheorem But since the original answer-er has not been seen for a month, I'd like to ask a wider community of people. How do you add a QED symbol ...
0
votes
1answer
221 views

Minimal WYSIWYG processor for Fitch-style Proofs with LaTeX backend

I'm not sure whether this is a better fit for TeX.SE or Stackoverflow, but given that it's mostly TeX-centric, I figured the TeX hive mind here would be the best fit. I'd like to have a GUI document ...
1
vote
1answer
198 views

Unusual bussproofs derivation

I'm trying to typeset proofs like these in bussproofs (to keep them consistent with the rest of my proofs) but I can't figure out a good way to do so: I've tried using various combinations of \...
4
votes
1answer
3k views

Write hypothesis for inference rules with proof package

I want to write inference rules like this one: where the hypothesis for C are not stated as a sequent depending on a set of hypothesis but with brackets []. This is as far as I got: \documentclass[...
3
votes
1answer
133 views

What is a proper context to write such proof by case style?

I am writing some proofs in latex and currently I would like to follow the standard procedure to organize my proofs in the following way: I know how to use the latex math mode, as well as some ...
1
vote
2answers
96 views

Pause in beamer in the middle of an infer from the proof package

I have this code \documentclass{beamer} \usepackage{proof} \begin{document} \frame{ \[ \infer{\textrm{conclusion}} { \infer{\textrm{intermediate conclusion}} {\textrm{premises}} ...
1
vote
1answer
113 views

ebproofs Help: Proving Constructive Dilemma

Okay, I'm trying to prove the constructive dilemma: \{p\lor q, p\to r, q\to r\} \vdash r And I was attempting a proof tree for it in ebproofs and it is giving me some problems. My code looks like ...
7
votes
4answers
1k views

How to create a proof tree with LaTeX?

How can I realize this proof tree in LaTeX? Does anyone have an idea how to achieve this?
0
votes
1answer
84 views

How can I fit natural deduction trees nicely into enumerate?

Here's my code with \usepackage{proof}: \begin{enumerate}[label=\alph*)] \item\infer[\to\text{\tiny\textbf{I}$_1$}] {(A\land B)\to A} {\infer[\land\text{\tiny\textbf{E}}] {A} {[A\land B]^1} }...
3
votes
1answer
188 views

Problem with proof enviroment

I have a problem with the proof enviroment. I'm writing my thesis in german, so the name for the proof enviroment should be Beweis and when I look online everybody says it will do that automatically. ...
1
vote
1answer
141 views

Shorten scope line in LPLFitch proof

So I'm trying to typeset Fitch-style proofs. The systems I'm using doesn't require there to be any line after the end of a subproof. LPLFitch seems to assume something like that, though, since it ...
1
vote
0answers
78 views

How can i define proof environment? [duplicate]

I need something like proof environment from amsthm, but with word "důkaz" (proof in my language) at start of environment. How can I define such environment? Thanks for help.
0
votes
2answers
353 views

How to edit “begin{proof}”

How to edit the begin{proof} to show "Demonstração" instead of "Proof."? I don't want use newtheorem{dem}{Demonstração} because I want the blacksquare in the end.
3
votes
2answers
133 views

Clickable cross-references to deduction labels

I'm using the package proof for drawing deductions. The package supports labels. However, I'd like to have clickable cross-references to them. Is this possible? Note that I want the label to be a ...
1
vote
1answer
466 views

How to place qed symbol at the end of an equation using eqnarray* enviroment

I am having trouble getting the qed symbol at the end of my equation, the symbol ends up on the next line. I have tried using the \qedhere command, but that doesn't work in the eqnarray* environment. ...
1
vote
1answer
410 views

Prooftrees logic tree preamble for an example

The following example is out of the documentation of prooftrees (I suppose that an updated version of TeX Live is needed to make use of that package). The problem is that the documentation's .tex file ...
3
votes
1answer
1k views

LyX — QED symbol same as last line of the proof (instead of line below)

I understand that usually for LaTeX we do \qedhere to force the QED symbol to appear where you want it. How do I change the Proof environment in LyX to get LyX to do the same thing? Right now if I ...
0
votes
2answers
515 views

How do I typeset this parsing tree for propositional logic formula with forest or something else?

The following parsing tree is from Mathematical Logic published in 2007 and written by Ian Chiswell & Wilfrid Hodges. It looks like a forest tree, but I guess it could be typeset better by another ...
1
vote
1answer
574 views

How can I apply a custom-defined theorem environment to nested theorems WITHOUT using a proof environment?

I'd like to combine a couple of constructions I've found on this site to create a custom-defined cases environment so that each case will: be nested within a larger theorem environment; end with a ...
0
votes
1answer
181 views

Will prooftrees be able to typeset this?

The tree is split between two pages, and text lines are inserted among some tree lines. The tree looks shifted to the left on the next page because the book is two-sided, but I don't typeset two-sided ...
18
votes
1answer
1k views

How to improve my semantic tableau?

I have to typeset some semantic tableaux in my document, looking similar to the example underneath. My first idea was to use tikz for this, so I created the following monster: \documentclass[convert]...