ArticleslgStudy

computer science

Axiom (computer algebra system)

Axiom (computer algebra system) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Axiom (computer algebra system) rather than just read about it. In short: Axiom is a free, general-purpose computer algebra system. It consists of an interpreter environment, a compiler and a library, which defines a strongly typed hierarchy.

Axiom (computer algebra system) — main illustration
Axiom (computer algebra system) — illustration

Key takeaways

  • Axiom (computer algebra system) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Axiom (computer algebra system) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Axiom (computer algebra system) from memory before moving on to harder problems.

Reference excerpt

Axiom is a free, general-purpose computer algebra system. It consists of an interpreter environment, a compiler and a library, which defines a strongly typed hierarchy.

History Two computer algebra systems named Scratchpad were developed by IBM. The first one was started in 1965 by James Griesmer at the request of Ralph Gomory, and written in Fortran. The development of this software was stopped before any public release. The second Scratchpad, originally named Scratchpad II, was developed from 1977 on, at Thomas J. Watson Research Center, under the direction of Richard Dimick Jenks. The design is principally due to Richard D. Jenks (IBM Research), James H. Davenport (University of Bath), Barry M. Trager (IBM Research), David Y.Y. Yun (Southern Methodist University) and Victor S. Miller (IBM Research). Early consultants on the project were David Barton (University of California, Berkeley) and James W. Thatcher (IBM Research). Implementation included Robert Sutor (IBM Research), Scott C. Morrison (University of California, Berkeley), Christine J. Sundaresan (IBM Research), Timothy Daly (IBM Research), Patrizia Gianni (University of Pisa), Albrecht Fortenbacher (Universitaet Karlsruhe), Stephen M. Watt (IBM Research and University of Waterloo), Josh Cohen (Yale University), Michael Rothstein (Kent State University), Manuel Bronstein (IBM Research), Michael Monagan (Simon Fraser University), Jonathan Steinbach (IBM Research), William Burge (IBM Research), Jim Wen (IBM Research), William Sit (City College of New York), and Clifton Williamson (IBM Research) Scratchpad II was renamed Axiom when IBM decided, circa 1990, to make it a commercial product. A few years later, it was sold to NAG. In 2001, it was withdrawn from the market and re-released under the Modified BSD License. Since then, the project's lead developer has been Tim Daly. In 2007, Axiom was forked twice, originating two different open-source projects: OpenAxiom and FriCAS, following "serious disagreement about project goals". The Axiom project continued to be developed by Tim Daly. The current research direction is "Proving Axiom Sane", that is, logical, rational, judicious, and sound.

Documentation Axiom is a literate program. The source code is becoming available in a set of volumes which are available on the www.nongnu.org/axiom website. These volumes contain the actual source code of the system. The currently available documents are:

Combined Table of Contents Volume 0: Axiom Jenks and Sutor—The main textbook Volume 1: Axiom Tutorial—A simple introduction Volume 2: Axiom Users Guide—Detailed examples of domain use (incomplete) Volume 3: Axiom Programmers Guide—Guided examples of program writing (incomplete) Volume 4: Axiom Developers Guide—Short essays on developer-specific topics (incomplete) Volume 5: Axiom Interpreter—Source code for Axiom interpreter (incomplete) Volume 6: Axiom Command—Source code for system commands and scripts (incomplete) Volume 7: Axiom Hyperdoc—Source code and explanation of X11 Hyperdoc help browser Volume 7.1 Axiom Hyperdoc Pages—Source code for Hyperdoc pages Volume 8: Axiom Graphics—Source code for X11 Graphics subsystem Volume 8.1 Axiom Gallery—A Gallery of Axiom images Volume 9: Axiom Compiler—Source code for Spad compiler (incomplete) Volume 10: Axiom Algebra Implementation—Essays on implementation issues (incomplete) Volume 10.1: Axiom Algebra Theory—Essays containing background theory Volume 10.2: Axiom Algebra Categories—Source code for Axiom categories Volume 10.3: Axiom Algebra Domains—Source code for Axiom domains Volume 10.4: Axiom Algebra Packages—Source code for Axiom packages Volume 10.5: Axiom Algebra Numerics—Source code for Axiom numerics Volume 11: Axiom Browser—Source pages for Axiom Firefox browser front end Volume 12: Axiom Crystal—Source code for Axiom Crystal front end (incomplete) Volume 13: Proving Axiom Correct—Prove Axiom Algebra (incomplete) Volume 15: The Axiom SANE Compiler Bibliography: Axiom Bibliography—Literature references Bug List: Axiom Bug List-Bug List Reference Card: Axiom Reference Card—Useful function summary

Videos The Axiom project has a major focus on providing documentation. The project has a series of instructional videos, which are also available on the www.nongnu.org/axiom website. The first video provides details on the Axiom information sources.

Philosophy The Axiom project focuses on the "30 Year Horizon". The primary philosophy is that Axiom needs to develop several fundamental features in order to be useful to the next generation of computational mathematicians. Knuth's literate programming technique is used throughout the source code. Axiom plans to use proof technology to prove the correctness of the algorithms (such as Rocq and ACL2). Binary AXIOM packages are available for installation on a wide variety of platforms, such as Debian Linux.

Design In Axiom, each object has a type. Examples of types are mathematical structures (such as rings, fields, polynomials) as well as data structures from computer science (e.g., lists, trees, hash tables). A function can take a type as argument, and its return value can also be a type. For example, Fraction is a function, that takes an IntegralDomain as argument, and returns the field of fractions of its argument. As another example, the ring of 4×4 matrices with rational entries would be constructed as SquareMatrix(4, Fraction Integer). Of course, when working in this domain, 1 is interpreted as the identity matrix and A^-1 would give the inverse of the matrix A, if it exists. Several operations can have the same name, and the types of both the arguments and the result are used to determine which operation is applied (cf. function overloading). Axiom comes with an extension language called SPAD. All the mathematical knowledge of Axiom is written in this language. The interpreter accepts roughly the same language.

Features Within the interpreter environment, Axiom uses type inference and a heuristic algorithm to make explicit type annotations mostly unnecessary. It features 'HyperDoc', an interactive browser-like help system, and can display two and three dimensional graphics, also providing interactive features like rotation and lighting. It also has a specialized interaction mode for Emacs, as well as a plugin for the TeXmacs editor.

… excerpt ends here. Continue reading the full article.

Illustrations

Axiom (computer algebra system) illustration
Axiom (computer algebra system) illustration
Axiom (computer algebra system) illustration
Axiom (computer algebra system) illustration
Axiom (computer algebra system) illustration

Worked examples

Example 1 — a first encounter with Axiom (computer algebra system)

Start with the simplest possible case. Write down what Axiom (computer algebra system) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Axiom (computer algebra system) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Axiom (computer algebra system) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Axiom (computer algebra system)

In research
Axiom (computer algebra system) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Axiom (computer algebra system) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Axiom (computer algebra system) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Common Lisp (programming language) software, Computer algebra system software for Linux, Free computer algebra systems, so understanding it makes those chapters shorter.
In everyday life
Look for Axiom (computer algebra system) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Axiom (computer algebra system)” →

How to study Axiom (computer algebra system) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Axiom (computer algebra system) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Axiom (computer algebra system) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Axiom (computer algebra system) in simple terms?

Axiom is a free, general-purpose computer algebra system. It consists of an interpreter environment, a compiler and a library, which defines a strongly typed hierarchy.

Why does Axiom (computer algebra system) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Axiom (computer algebra system)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Axiom (computer algebra system).

Tags

  • Common Lisp (programming language) software
  • Computer algebra system software for Linux
  • Free computer algebra systems
  • Free software programmed in Lisp

Keep exploring