Skip to content

Instantly share code, notes, and snippets.

@sguzman
Created June 29, 2020 15:07
Show Gist options
  • Save sguzman/927428f552021dabfedda65a619ac050 to your computer and use it in GitHub Desktop.
Save sguzman/927428f552021dabfedda65a619ac050 to your computer and use it in GitHub Desktop.
Proof of De Morgan rules in boolean algebra using Mathematica
FindEquationalProof[
\!\(
\*SubscriptBox[\(\[ForAll]\), \({\[FormalA], \[FormalB]}\)]\(
\*OverscriptBox[\(\[FormalA]\[CircleTimes]\[FormalB]\), \(_\)] ==
\*OverscriptBox[\(\[FormalA]\), \(_\)]\[CirclePlus]
\*OverscriptBox[\(\[FormalB]\), \(_\)]\)\),
AxiomaticTheory["BooleanAxioms"]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment