Skip to main content
Ctrl+K
This handbook describes the development version of Magma, which is not available to install yet. Read the handbook for the current release.
Magma Magma
About Get Magma Documentation Try online People How to Cite Contact
Login
  • Preface
  • The Magma Language
  • Sets, Sequences, and Mappings
  • Basic Rings
  • Matrices and Linear Algebra
  • Lattices and Quadratic Forms
  • Global Fields
  • Local Fields
  • Modules
  • Finite Groups
  • Finitely Presented Groups
  • Algebras
  • Representation Theory
  • Lie Theory
  • Commutative Algebra
  • Algebraic Geometry
  • Arithmetic Geometry
  • Modular Arithmetic Geometry
  • Topology
  • Geometry
  • Combinatorics
  • Coding Theory
  • Optimization
  • References
  • The Magma Language
  • Magma Semantics

Magma Semantics#

  • Introduction
  • Terminology
  • Assignment
  • Uninitialized Identifiers
  • Evaluation in Magma
    • Call by Value Evaluation
    • Magma’s Evaluation Process
    • Function Expressions
    • Function Values Assigned to Identifiers
    • Recursion and Mutual Recursion
    • Function Application
    • The Initial Context
  • Scope
    • Local Declarations
    • The ‘first use’ Rule
    • Identifier Classes
    • The Evaluation Process Revisited
    • The ‘single use’ Rule
  • Procedure Expressions
  • Reference Arguments
  • Dynamic Typing
  • Traps for Young Players
    • Trap 1
    • Trap 2
  • Appendix A: Precedence
  • Appendix B: Reserved Words

previous

Bibliography

next

Introduction

Magma Magma

Magma is maintained and distributed by the Computational Algebra Group, School of Mathematics and Statistics, University of Sydney.

University of Sydney

Explore

  • About Magma
  • Documentation
  • Download
  • Calculator

Community

  • People
  • Contributions
  • Publications
  • Events
  • News

Help

  • FAQ
  • Contact
  • Subscriptions
  • How to Cite
© 1993–2026 Computational Algebra Group. All rights reserved. Built at the University of Sydney, Australia.