mscroggs.co.uk
mscroggs.co.uk

subscribe

Blog

Logical contradictions

 2016-10-08 
During my Electromagnetic Field talk this year, I spoke about @mathslogicbot (now reloated to @logicbot@mathstodon.xyz and @logicbot.bsky.social), my Twitter bot that is working its way through the tautologies in propositional calculus. My talk included my conjecture that the number of tautologies of length \(n\) is an increasing sequence (except when \(n=8\)). After my talk, Henry Segerman suggested that I also look at the number of contradictions of length \(n\) to look for insights.
A contradiction is the opposite of a tautology: it is a formula that is False for every assignment of truth values to the variables. For example, here are a few contradictions:
$$\neg(a\leftrightarrow a)$$ $$\neg(a\rightarrow a)$$ $$(\neg a\wedge a)$$ $$(\neg a\leftrightarrow a)$$
The first eleven terms of the sequence whose \(n\)th term is the number of contradictions of length \(n\) are:
$$0, 0, 0, 0, 0, 6, 2, 20, 6, 127, 154$$
This sequence is A277275 on OEIS. A list of contractions can be found here.
For the same reasons as the sequence of tautologies, I would expect this sequence to be increasing. Surprisingly, it is not increasing for small values of \(n\), but I again conjecture that it is increasing after a certain point.

Properties of the sequences

There are some properties of the two sequences that we can show. Let \(a(n)\) be the number of tautolgies of length \(n\) and let \(b(n)\) be the number of contradictions of length \(n\).
First, the number of tautologies and contradictions, \(a(n)+b(n)\), (A277276) is an increasing sequence. This is due to the facts that \(a(n+1)\geq b(n)\) and \(b(n+1)\geq a(n)\), as every tautology of length \(n\) becomes a contraction of length \(n+1\) by appending a \(\neg\) to be start and vice versa.
This implies that for each \(n\), at most one of \(a\) and \(b\) can be decreasing at \(n\), as if both were decreasing, then \(a+b\) would be decreasing. Sadly, this doesn't seem to give us a way to prove the conjectures, but it is a small amount of progress towards them.
Edit: Added Mastodon and Bluesky links
                        
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "h" then "e" then "x" then "a" then "g" then "o" then "n" in the box below (case sensitive):

Archive

Show me a random blog post
 2025 

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 
▼ show ▼
 2023 
▼ show ▼
 2022 
▼ show ▼
 2021 
▼ show ▼
 2020 
▼ show ▼
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

logic graphs frobel recursion geometry propositional calculus final fantasy mean christmas european cup world cup weak imposition accuracy dates london asteroids triangles coins matrix of minors gaussian elimination pac-man gather town error bars london underground convergence fractals countdown go 24 hour maths databet curvature estimation draughts latex javascript games reuleaux polygons inline code anscombe's quartet golden spiral golden ratio datasaurus dozen data visualisation trigonometry game of life bodmas craft cross stitch sobolev spaces martin gardner ucl mathsteroids logo the aperiodical errors chalkdust magazine zines friendly squares gerry anderson hannah fry weather station palindromes signorini conditions puzzles folding tube maps cambridge dinosaurs hyperbolic surfaces electromagnetic field standard deviation numbers reddit dataset quadrilaterals geogebra tmip talking maths in public guest posts bubble bobble news harriss spiral fence posts pizza cutting regular expressions rugby fonts python manchester science festival preconditioning football newcastle people maths youtube pythagoras dragon curves bempp sound books realhats simultaneous equations a gamut of games matrices logs binary crossnumber stickers polynomials interpolation manchester misleading statistics captain scarlet flexagons statistics pascal's triangle turtles kings video games computational complexity matt parker php raspberry pi plastic ratio chebyshev oeis braiding map projections speed data menace big internet math-off advent calendar hats approximation platonic solids squares numerical analysis determinants mathslogicbot edinburgh crochet finite group nine men's morris mathsjam pi approximation day noughts and crosses pi royal baby royal institution matrix multiplication wool tennis runge's phenomenon inverse matrices matrix of cofactors live stream wave scattering exponential growth stirling numbers programming chess hexapawn arithmetic national lottery christmas card bots machine learning sport rhombicuboctahedron graph theory radio 4 correlation phd sorting probability finite element method boundary element methods folding paper ternary game show probability light

Archive

Show me a random blog post
▼ show ▼
© Matthew Scroggs 2012–2025