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

Click For Summary
SUMMARY

The discussion centers on using the 'dandah' symbol in LaTeX to represent discharged assumptions in mathematical logic, specifically from the book "Mathematical Logic" by Ian Chiswell and Wilfred Hodges. The solution involves utilizing the cancel package in LaTeX, allowing users to denote a discharged assumption with the command \cancel{\phi}. Participants confirm that MathJax automatically loads this package, simplifying the process for users working in compatible environments.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of mathematical logic concepts
  • Knowledge of the cancel package in LaTeX
  • Basic understanding of MathJax functionality
NEXT STEPS
  • Research the cancel package documentation for advanced usage
  • Explore LaTeX commands for additional mathematical symbols
  • Learn about MathJax configuration and package loading
  • Study informal natural deduction techniques in mathematical logic
USEFUL FOR

This discussion is beneficial for mathematicians, educators, and students involved in mathematical logic, particularly those looking to enhance their LaTeX skills for representing logical symbols and deductions.

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 2 ·
Replies
2
Views
627
  • · 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 2 ·
Replies
2
Views
10K