AngouriMath
ProofRecording
Description
Summary
A scope that collects the steps by which the quantified statements decided inside it were
decided, the way RewriteRecording collects rewrites: the proof of
forall n in ZZ+ : sum(k, k, 1, n) = n (n + 1)/2 is the closed form read through
its case, the proof offorall n in ZZ+ : sum(1/(k (k + 1)), k, 1, n) = n/(n + 1) is a base case and a step, each a step here. Nothing is collected outside a scope, and
the ordinary path does not pay for one nobody opened. A decision already made is not
made again: an entity whose Evaled is cached, or a statement parsed
through the parser's cache and evaluated before, records nothing, so a proof is asked of
a fresh entity (FromString(System.String,System.Boolean) with the cache off).
decided, the way RewriteRecording collects rewrites: the proof of
its case, the proof of
the ordinary path does not pay for one nobody opened. A decision already made is not
made again: an entity whose Evaled is cached, or a statement parsed
through the parser's cache and evaluated before, records nothing, so a proof is asked of
a fresh entity (FromString(System.String,System.Boolean) with the cache off).
Example
using var proof = ProofRecording.Start();
var verdict = "forall n in ZZ+ : sum(1/(k (k + 1)), k, 1, n) = n/(n + 1)".ToEntity().Evaled;
foreach (var step in proof.Steps)
Console.WriteLine(step);Members
AddBelow(AngouriMath.Entity,System.String,System.String,AngouriMath.Entity)
MethodDispose
MethodMark
MethodRecording
PropertyRename(System.Int32,AngouriMath.Entity.Variable,AngouriMath.Entity.Variable)
MethodRestate(System.Int32,AngouriMath.Entity,System.String,System.String)
MethodStart
MethodSteps
PropertyWritten
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online