Visualizing Legal Rules: A Homicide Case

Legal rules can often be written as Mathematica expressions in which logical functions such as And or Or surround textual arguments relating to the various conditions needed to trigger some legal consequence. This fact, coupled with the flexible ways in which one can display a Mathematica expression, provides a new vehicle to readily visualize the structure of legal rules. This Demonstration illustrates this idea with a visualization of the law relating to the various forms of homicide. The user selects whether various factors that determine the form of homicide are present. The left panel of the output shows the possible charges that might be brought given the user's selections. The right panel shows a graph that explains the logical argument as to why any particular charge could or could not plausibly be brought. Green text and arrows mean that the factor is present or "true". Red text and arrows mean that the factor is absent or "false". If you hover your mouse over a control or a textual node in the graph in the right panel, a tooltip will appear that more fully explains the matter.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Homicide laws vary from state to state as well as from nation to nation. This Demonstration provides a standard view of homicide law in the United States as set forth in American Jurisprudence, 2d, a leading legal encyclopedia.
If the state of mind is "premeditated" or the homicide occurs during a felony, the law seldom recognizes the existence of "provocation". This Demonstration thus disables the "provoked" control under these circumstances and sets the provocation variable to false.
Snapshot 1: first degree murder as a result of premeditation and a purposeful/knowing state of mind
Snapshot 2: second degree murder under the felony murder rule as a result of negligent conduct causing death during a felony
Snapshot 3: negligent homicide, which is unlikely to be prosecuted criminally
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+