Boolean Algebra (Mathematical Logic) for Differential Diagnosis of Neurologic Disorders

Research Article | DOI: https://doi.org/10.31579/2690-1919/590

Boolean Algebra (Mathematical Logic) for Differential Diagnosis of Neurologic Disorders

  • Gerhard Zugmaier 1*
  • Franco Locaelli 2

1Department of Haematology, Oncology and Immunology, Philipps University Marburg, Marburg, Germany.

2Department of Pediatrics, Sapienza, University of Rome, Director 2Department of Pediatric Hematology and Oncology IRCCS Ospedale Pediatrico Bambino Gesù, Rome, Italy.

*Corresponding Author: Gerhard Zugmaier, Department of Haematology, Oncology and Immunology, Philipps University Marburg, Marburg, Germany.

Citation: Gerhard Zugmaier and Franco Locaelli, (2025), Boolean Algebra (Mathematical Logic) for Differential Diagnosis of Neurologic Disorders, J Clinical Research and Reports, 21(3); DOI:10.31579/2690-1919/590

Copyright: © 2025, Gerhard Zugmaier. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Received: 06 October 2025 | Accepted: 16 October 2025 | Published: 24 October 2025

Keywords: boolean algebra; matrix; neurologic disorders; differential diagnosis

Abstract

Background: Using Boolean algebra for differential diagnosis of neurological disorders involves treating neurologic findings and disease entities such as Boolean variables and combining them via OR (∨) or other logical operations.

Aim: To demonstrate how Boolean algebra (mathematical logic) and Boolean matrices can be applied to support differential diagnosis in neurology.

Results: Each neurologic finding was encoded as a Boolean variable (1 = present, 0 = absent). Boolean variables and Boolean matrices reflect mutual interdependencies of neurologic findings across diseases, enabling reverse inference (i.e., inferring possible diseases from a pattern of findings).

Conclusion: Boolean algebra offers a formal, rigorous framework to represent and manipulate differential diagnostic relationships in neurology; it may complement clinical reasoning and computational decision support.

Introduction

Differential diagnosis in neurology often relies on the recognition of overlapping symptom complexes. Traditional methods are largely heuristic, narrative, or algorithmic. However, representing findings and diseases in a formal logical or algebraic framework can offer clarity, consistency, and computer-assisted inference.

Boolean algebra (mathematical logic) provides a natural way to model binary phenomena (present vs absent, yes vs no). Boolean algebra was first formalized by George Boole in the 19th century. A significantly changed version has since become foundational for computer science, switching theory, and medical decision modeling.[6,7] In medicine, Boolean algebra has been applied to laboratory diagnostics, oncology, and computational decision support.[8-10] Zugmaier and colleagues have demonstrated its utility in defining acute leukemias, stratifying risk in B-cell precursor acute lymphoblastic leukemia, supporting laboratory diagnostics, and grading immune therapy toxicities.[1-5]

In this manuscript we extend this approach into neurology: mapping neurologic findings into Boolean variables, constructing Boolean matrices linking findings to diseases, and demonstrating logical inversion to aid differential diagnosis.

Materials and Methods

The core mathematical methods follow the conventions of Boolean algebra and Boolean matrices, as detailed in earlier works.[1,3-5]

Symbols of Boolean Algebra

  1. Variables
    Each Boolean variable can take one of two values: 1 or 0.
    • Value 1 = presence (true)
    • Value 0 = absence (false)
  2. Operations
    • Inclusive OR (addition):
      Represented as a + b or a v b B. The result is 1 if at least one operand is 1; otherwise 0.
      Example: 1+0=1,  0+0=0.
    • Equality:
      A=B is correct (1) if both are equal; false (0) otherwise.

Multiple notations may be used: A+B, A ∨ B, “A OR B.”

In this manuscript, “v” (or “+”) represents OR, and “=” represents equivalence. For example:

Finding1 v Finding2 v Finding3 = disease does not define the disease strictly, but indicates that such findings suggest monitoring for the disease.

Boolean Matrix Addition (Logical OR)

In Boolean algebra, matrix “addition” is performed elementwise via OR. If AAA is a Boolean matrix, then:

A + A = A ∨ A = A 

Thus, adding a Boolean matrix to itself yields the same matrix. This idempotent property ensures that repeated additions do not change results.

Terminology of neurologic findings was applied as described in “DeGowin’s Diagnostic Examiantion” [12].

Results

Headache = arteriovenous malformation v hydrocephalus v pheochromocytoma v intracranial pressure ↑ v meningitis v encephalitis v rickettsia v sinusitis v otitis v mastoiditis v viral infections v parasites v giant cell arteritis v sarcoidosis v trauma v hypoxia v hypercapnia v hypoglycemia v alcohol/withdrawal v carbon monoxide v caffeine withdrawal v brain tumor/metastasis v stress v aneurysm v hemorrhage v thrombosis

Muscle weakness = porphyria v muscular dystrophy v paramyotonica congenita v cerebral palsy v hyperthyroidism v poliomyelitis v West Nile virus v Guillain-Barré syndrome v demyelinating polyneuropathy v myasthenia gravis v dermatomyositis v multiple sclerosis v vasculitis v trauma v copper↓ v potassium↑↓ v magnesium↑↓ v calcium↑↓ v epidural metastasis v hysteria v stroke v subdural/epidural bleeding

Seizures = hypoglycemia v idiopathic epilepsy v meningitis v encephalitis v brain abscess v neurocysticercosis v vasculitis v trauma v fever v withdrawal v amphetamines v cocaine v phencyclidine v theophylline v calcium↓ v uremia/liver failure/hypoxia v penicillin v brain tumor/metastasis v stroke v hemorrhage

Peripheral neuropathies = Charcot–Marie–Tooth disease v porphyria v Fabry disease v familial forms v diabetes mellitus v ICU neuropathy v leprosy v rabies v herpes zoster v vasculitis v SLE v amyloidosis v celiac disease v monoclonal gammopathy v trauma v vitamin B12↓ v copper↓ v vitamin B6↓ v metastasis v paraneoplastic

Dementia = Alzheimer disease v adrenoleukodystrophy v Huntington disease v lipopolysaccharidosis v Wilson disease v mitochondrial disease v trisomy 21 v hypothyroidism v Addison v Cushing v hyper/hypoparathyroidism v Pick disease v Lewy body dementia v progressive supranuclear palsy v limbic encephalitis v HIV encephalopathy v syphilis v prion disease v progressive multifocal leukoencephalopathy v Whipple disease v vasculitis v sclerosing panencephalitis v sarcoidosis v alcohol/thiamine↓/niacin↓ v uremia/liver failure/aluminum v trauma/metastasis/brain tumor v Parkinson v schizophrenia v Binswanger disease

Examples of logical reversals:

  • Trauma = headache v muscle weakness v seizures v neuropathy v dementia
  • Encephalitis = seizures v dementia
  • Porphyria = muscle weakness v neuropathy v dementia

Discussion

This work demonstrates how Boolean algebra and Boolean matrices can formalize the mapping between neurologic findings and etiologies.

  1. Idempotence and consistency: Because A+A=A repeated evidence does not inflate results. [6,7]
  2. Scalability and extension: Boolean frameworks can be expanded with AND, NOT, and implication, paralleling expert systems in medicine. [8,9] Zugmaier adapted these approaches in hematology and oncology. [1,3]
  3. Precedent in medicine: Boolean logic underlies early diagnostic expert systems such as MYCIN⁸ and continues to be used in decision support. [1-5,9,15]
  4. Advantages vs limitations: Advantages include clarity and computational tractability. Limitations include binary oversimplification, absence of severity grading, and lack of probabilistic weighting. [8,10]
  5. Future directions: Combining Boolean frameworks with fuzzy logic and probabilistic models could enhance their applicability. [9,11]

Conclusion

Boolean algebra provides a rigorous framework to codify neurologic differential diagnoses. When combined with clinical judgment, probabilistic methods, and modern decision-support systems, it may improve diagnostic consistency and computational inference.[1-11]

Conclusion

Boolean algebra provides a rigorous framework to codify neurologic differential diagnoses. When combined with clinical judgment, probabilistic methods, and modern decision-support systems, it may improve diagnostic consistency and computational inference.[1-11]

References

Dear Editorial Team, Clinical Medical Reviews and Reports. My experience with the journal was highly positive. The peer-review process was rigorous, constructive, and completed in a timely manner. The reviewers provided valuable comments that helped improve the quality and clarity of our manuscript. The editorial office was professional, responsive, and supportive throughout all stages of the publication process. Communication was clear and efficient, and any questions were addressed promptly. Overall, I found the journal to maintain high scientific standards and an excellent publication workflow. I would be pleased to consider submitting future work to this journal. Best wishes from, Elena Popa.

img

Dr Elena Popa

It was my pleasure to submit my testimonial concerning the Reviewer Board of our Scientific Journal “Brain and Neurological Disorders”. The Reviewers focused on some modifications and their contribution was helpful. The ladies of our Editorial Office were also supported my efforts. It was my honor to have such a co-operation and I am looking forward for more collaboration.

img

Dr Nikolaos Andreas Chrysanthakopoulos

Dear Grace Pierce, Editorial Coordinator of Journal of Clinical Research and Reports, Thank you for the speedy and efficient peer review process. I appreciate the fact that your peer reviewers do not take months to respond like with some other journals. I would also like to thank the editorial office for responding quickly to my questions. It is an excellent journal. I plan to submit more manuscripts in the future. Best wishes from, Robert W. McGee

img

Robert W McGee

Dear Grace Pierce, Editorial Coordinator of Journal of Clinical Research and Reports, Working with you and your team on our recent publication in JCRR has been a truly wonderful and enjoyable experience. The responses were prompt, and the reviewers were patient, constructive, and highly professional. One reviewer in particular gave me the feeling that a professor was carefully reading and commenting on my coursework, which was deeply touching. The entire process was straightforward and hassle‑free, with no tedious online forms to complete. I highly recommend this journal. Best wishes from, DR Aibing Rao, Head of R&D

img

Aibing Rao

I Appreciate the Opportunity to Share my Experience with the Journal of Clinical Research and Reports. The peer review process was timely and constructive, and the feedback provided helped improve the quality of our manuscript. The editorial office was professional, responsive, and supportive throughout the process, ensuring smooth communication and efficient handling of the submission. Overall, it was a positive experience collaborating with your team.

img

Kashani Mehdi

Dear Mercy Grace, Editorial Coordinator of Obstetrics Gynecology and Reproductive Sciences, We would like to express our gratitude for your help at all stages of publishing and editing the article. The editors of the magazine answer all the necessary questions and help at every stage. We will definitely continue to cooperate and publish other works in the Obstetrics Gynecology and Reproductive Sciences! Best wishes from, Alla Konstantinovna Politova,

img

Alla Konstantinovna Politova