TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Introductory Logic Text?

4 pointsby greymalikalmost 3 years ago
I’d like to learn formal logic as a self-guided beginner for the purpose of building a better mathematical foundation (I stopped in high school) and improving my programming.<p>I was taking a look at Gensler&#x27;s Introduction to Logic but the reviews suggest that it might be better as a second text than a first. What books can HN recommend instead?

5 comments

impendiaalmost 3 years ago
I took a brief look at Gensler&#x27;s book and it looks interesting!<p>If you&#x27;re looking for something good that covers the basics in more detail, I recommend Epp&#x27;s <i>Discrete Mathematics with Applications</i>. This covers material like truth tables, valid and invalid arguments, quantifiers, etc.<p>In addition to the treatment of logic, it also has chapters on induction, combinatorics, graphs and trees, analysis of algorithms, finite state automata, etc.<p>I chose this book when I taught a college course in &quot;math for computer science majors&quot;, and it was a great choice overall. It&#x27;s probably the most beginner-friendly of any book covering this material, and it&#x27;s extremely organized and well written. Costs an arm and a leg to buy new, so buy a used copy of an older edition.
occam-occamalmost 3 years ago
Teach Yourself Logic 2020: A Study Guide by Peter Smith is probably your best resource. It isn&#x27;t a logic book but it explains which ones are good&#x2F;bad and why. It almost definitely goes past your goals, but the beginner&#x2F;intermediate sections have a lot of good recommendations.
评论 #31550404 未加载
jonjackyalmost 3 years ago
I like <i>The Mathematics of Logic</i> by Richard Kaye. A rather unusual approach apparently intended for college math majors, maybe not for everybody. But I am not a math major and it appealed to me.<p><a href="https:&#x2F;&#x2F;web.mat.bham.ac.uk&#x2F;R.W.Kaye&#x2F;logic" rel="nofollow">https:&#x2F;&#x2F;web.mat.bham.ac.uk&#x2F;R.W.Kaye&#x2F;logic</a> (not very helpful, lots of broken links, just look at the book instead)<p>I also like <i>Logic in Computer Science</i> by Huth and Ryan, cited in another comment here. It is much more comprehensive and has a lot more about logic applications in computer science.
bjournealmost 3 years ago
Logic in Computer Science by Huth and Ryan.
评论 #31551980 未加载
评论 #31548891 未加载
brudgersalmost 3 years ago
Just get the Gensler and see if it works.<p>You can buy a second hand copy of an older edition for a few dollars.<p>Maybe you have to read it twice.<p>So what?