EML-NOVA · Standard library

Every function is a graph.

The standard library is NOVA’s working corpus: real functions, written as typed graphs, built on one another with Call, and verified before they ship. People read the diagrams; AIs read the same structure.

functions
33
modules
6
test cases
1,320
verified results
6,923
all passing
33/33

Level L0: everything here is built from the primitives NOVA has today. L1 and L2 add standard math primitives, indexing and loops.

How each function is verified

Three checks, all automatic

  1. 01

    The right function

    In exact arithmetic, the graph must equal an independent reference formula, usually the NumPy library call. Exactly, with rational numbers; to 80 digits where exp or tanh appear.

  2. 02

    A guaranteed accuracy

    Every float64 result must lie inside an error bound computed from the graph itself, by running error analysis. The bound holds whatever order NumPy adds in.

  3. 03

    The same answer everywhere

    NOVA’s reference interpreter and its NumPy backend must return bit-identical results.

Before any of this, the signature is proven: NOVA’s shape solver checks every broadcast and every contraction, for every size.

What comes next

The next primitives

Each one unlocks a set of functions. All of them are standard mathematics.

  • L1
    Sqrt, Exp, Log

    Elementwise square root, exponential and logarithm.

  • L1
    Maximum, Minimum

    Exact elementwise max and min (a + relu(b − a) is not exact in floating point).

  • L1
    Less, Greater, Equal, Where

    Elementwise comparison and selection.

  • L1
    ReduceMax, ReduceMin

    Largest and smallest value along an axis.

  • L1
    Size

    The element count of a symbolic dimension, as a value.

  • L1
    Differentiation through Call

    Reverse-mode AD that follows Call into the callee; today composed entries are not differentiable.

  • L2
    Slice, Concat, Gather

    Indexing and joining along an axis.

  • L2
    Scan

    A general loop whose body is a graph.

See the plan