This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/cas/check/acceptance

Phrases with closed forms, each held to the CAS

The acceptance program of the CAS's first client (section 4.6). Every phrase below asks for a quantity the CAS has in closed form: integrals of polynomials, trigonometric and exponential functions and Gaussians, derivatives, roots of quadratics and cubics, and a few sums and norms of arrays written out here. viv check --phrases holds each phrase's number to the exact value; acceptance_check.viv beside this file is the program it writes (viv check --phrases --emit), which runs in all three engines. Two phrases at the end have no closed form in the CAS and are refused, with the reason.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 15–83