Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

form

> 编程语言
Open source

The FORM project for symbolic manipulation of very big expressions

1.2K stars0 likes1 views
WebsiteGitHub

About

The FORM project for symbolic manipulation of very big expressions

FORM

FORM is a Symbolic Manipulation System. It reads symbolic expressions from files and executes symbolic/algebraic transformations upon them. The answers are returned in a textual mathematical representation. As its landmark feature, the size of the considered expressions in FORM is only limited by the available disk space and not by the available RAM. FORM has been essential for many state-of-the-art computations in High Energy Physics.

FORM's original author is Jos Vermaseren of NIKHEF, the Dutch institute for subatomic physics. Other people that have made contributions can be found in the file "AUTHORS".

Quick examples

The following FORM program repeatedly matches the power of a variable x in the expression E, as long as the power is more than 1 and creates two new terms with lower power:

form
Symbol x,n;
Local E = x^10;

repeat id x^n?{>1} = x^(n-1) + x^(n-2);

Print;
.end

and yields E = 34 + 55*x.

The following FORM program matches the function f that has any arguments before encountering an x and any arguments after, and switches them around:

form
CFunction f;
Symbol x;
Local E = f(1,2,x,3,4);

id f(?a,x,?b) = f(?b,?a);

Print;
.end

and yields E = f(3,4,1,2).

FORM can match many more complicated patterns and has many more features, as documented in the additional information.

Build instructions

Before building FORM, it is advised to install the optional dependencies gmp, mpfr, zstd, zlib and flint for better performance. To use arbitrary-precision floating-point arithmetic, both gmp and mpfr are required; if either is unavailable it will not be enabled. To quickly build FORM, install the autoconf and automake packages. Then, after cloning the repository, run:

bash
autoreconf -i
./configure
make
make install

For more advanced build options, see the file "INSTALL".

A pre-compiled FORM binary can also by installed from PyPI.

Additional information

The latest release notes are available on the Wiki; the latest reference manual can be found here, and the Form Cookbook can be found here.

More background information, a collection of FORM programs, and a number of courses can be found on the official FORM website and on the Wiki.

Information about copying and licensing of this software can be found in the file "COPYING".

Bugs and remarks

For reporting bugs, asking questions, giving remarks and suggestions, we welcome you to use the Issue Tracker or Discussion Forum.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言