Draft

Emmy, the Algebra System: Classical Mechanics Prologue

Published

November 12, 2025

Elementary introduction to Emmy, taken from the first pages of the MIT open-access book Functional Differential Geometry (FDG). The code snippets are executable, copy-paste them to the sidebar of the page.

Sam Ritchie, the Emmy maintainer along with Colin Smith, wrote the source for this page, namely the LaTex version of FDG.

In adopting MIT-Scheme’s (define ...), I trust that Clojure people will bridge that gap quickly while being sure of the gratitude of all readers of the immutable, dense book. So without further ado …

ImportantCould not locate emmy/env__init.class, emmy/env.clj or emmy/env.cljc on classpath.
                             clojure.core/eval    core.clj: 3232
                                           ...                 
mentat-collective.emmy.fdg-prologue/eval110677  REPL Input:     
                                           ...                 
                          clojure.core/require    core.clj: 6066 (repeats 2 times)
                                           ...                 
                        clojure.core/load-libs    core.clj: 6028
                        clojure.core/load-libs    core.clj: 6044
                                           ...                 
                         clojure.core/load-lib    core.clj: 5981
                         clojure.core/load-lib    core.clj: 6002
                      clojure.core/load-lib/fn    core.clj: 6003
                         clojure.core/load-one    core.clj: 5961
                                           ...                 
                             clojure.core/load    core.clj: 6172
                             clojure.core/load    core.clj: 6188
                          clojure.core/load/fn    core.clj: 6189
                                           ...                 
java.io.FileNotFoundException: Could not locate emmy/env__init.class, emmy/env.clj or emmy/env.cljc on classpath.

source: src/mentat_collective/emmy/fdg_prologue.clj