Mathematical Logic - Dandah symbol for discharging assumptions ....

Click For Summary

Discussion Overview

The discussion revolves around the representation of the 'dandah' symbol in LaTeX, as described in the book Mathematical Logic by Ian Chiswell and Wilfred Hodges. Participants explore how to visually denote the discharging of assumptions in informal natural deduction, specifically focusing on the use of LaTeX code to achieve this notation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • Peter seeks assistance in representing the 'dandah' symbol through LaTeX, specifically asking for code to illustrate the discharging of an assumption represented by $$\phi$$.
  • Sudharaka suggests using the cancel package in LaTeX to achieve the desired representation, indicating that $$\cancel{ \phi }$$ can be used to show a discharged assumption.
  • Another participant mentions alternative methods for discharging assumptions, such as enclosing them in square brackets or using a number over the assumption.
  • Peter confirms his understanding of using the cancel package and expresses gratitude for the assistance received.
  • A later reply notes that MathJax appears to load the cancel package by default, which may simplify the process for users in that environment.

Areas of Agreement / Disagreement

Participants generally agree on the use of the cancel package for representing the dandah symbol in LaTeX, but alternative methods for discharging assumptions are also mentioned, indicating multiple approaches exist.

Contextual Notes

There is a mention of the need to load the cancel package in a LaTeX document using the \usepackage command, which may not be necessary in all implementations, such as MathJax.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
I am reading the book Mathematical Logic by Ian Chiswell and Wilfred Hodges (C&H) ... and am currently focused on Chapter 2: Informal Natural Deduction ...

I need help with what C&H call the 'dandah' or more specifically symbols with a dandah through them ...

The relevant text in C&H explaining and showing the use of the dandah is as follows (C&H page 17) ...
https://www.physicsforums.com/attachments/5002
In the above text we read the following:

" ... ... we discharge $$\phi$$ by writing a dandah through it ... ... "

My question is as follows:

Is there Latex code so that we can represent $$\phi$$ with a dandah through it as shown in the extract from C&H above ... can someone explain how such a symbol can be achieved in Latex?

Would be grateful for some help ... ...

Peter
 
Physics news on Phys.org
Peter said:
I am reading the book Mathematical Logic by Ian Chiswell and Wilfred Hodges (C&H) ... and am currently focused on Chapter 2: Informal Natural Deduction ...

I need help with what C&H call the 'dandah' or more specifically symbols with a dandah through them ...

The relevant text in C&H explaining and showing the use of the dandah is as follows (C&H page 17) ...

In the above text we read the following:

" ... ... we discharge $$\phi$$ by writing a dandah through it ... ... "

My question is as follows:

Is there Latex code so that we can represent $$\phi$$ with a dandah through it as shown in the extract from C&H above ... can someone explain how such a symbol can be achieved in Latex?

Would be grateful for some help ... ...

Peter

Hi Peter,

What you need for this is the >>cancel package<<. In the documentation you'll find how to do this and some other similar stuff as well.
 
Other authors show that an assumption is discharged by enclosing it in square brackets or by writing a number like (1) over it, which is then copied near the rule that discharges the assumption.
 
Sudharaka said:
Hi Peter,

What you need for this is the >>cancel package<<. In the documentation you'll find how to do this and some other similar stuff as well.
Thanks Sudharaka ... appreciate your help ...

So I should be able to show a discharges assumption by \cancel{ \phi }

as follows: $$\cancel{ \phi }$$

Thanks again,

Peter

- - - Updated - - -

Evgeny.Makarov said:
Other authors show that an assumption is discharged by enclosing it in square brackets or by writing a number like (1) over it, which is then copied near the rule that discharges the assumption.
Thanks for the further help, Evgeny ...

Peter
 
Peter said:
Thanks Sudharaka ... appreciate your help ...

So I should be able to show a discharges assumption by \cancel{ \phi }

as follows: $$\cancel{ \phi }$$

Thanks again,

Peter

Yes, MathJax seems to load the cancel package by default. In a document you'll have to load it in the beginning with the \usepackage command.
 
Sudharaka said:
Yes, MathJax seems to load the cancel package by default. In a document you'll have to load it in the beginning with the \usepackage command.

In our implementation of MathJax here at MHB, we autoload all of their available packages. :D
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 64 ·
3
Replies
64
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K