Expanding a square

Time bar (total: 2.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.1s (52.1%)

Memory
12.1MiB live, 651.3MiB allocated; 873ms collecting garbage
Samples
479.0ms4 204×0valid
208.0ms1 670×2valid
197.0ms2 382×1valid
Precisions
Click to see histograms. Total time spent on operations: 721.0ms
ival-add: 423.0ms (58.6% of total)
adjust: 131.0ms (18.2% of total)
ival-mult: 91.0ms (12.6% of total)
ival-sub: 63.0ms (8.7% of total)
ival-true: 5.0ms (0.7% of total)
exact: 5.0ms (0.7% of total)
ival-assert: 3.0ms (0.4% of total)
Bogosity

explain79.0ms (3.6%)

Memory
34.7MiB live, 79.7MiB allocated; 5ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1300-0-(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))cancellation1300
Confusion
Predicted +Predicted -
+1300
-0126
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13000
-00126
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0126
1130
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
14.0ms158×1valid
12.0ms90×2valid
10.0ms264×0valid
Compiler

Compiled 55 to 19 computations (65.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
adjust: 8.0ms (35.6% of total)
ival-add: 5.0ms (22.3% of total)
ival-mult: 5.0ms (22.3% of total)
ival-sub: 4.0ms (17.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess172.0ms (8%)

Memory
2.2MiB live, 95.3MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0723
12319
29511
351010
4206210
059
089
1247
2885
34095
417815
082395
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
Compiler

Compiled 9 to 5 computations (44.4% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.9%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 9 to 5 computations (44.4% saved)

series2.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
Counts
5 → 11
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
(* 2 x)
(* x (+ 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(+ 1 x)
x
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* x (+ 1 (/ 1 x)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1) x 1)
1.0ms
x
@inf
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1) x 1)
0.0ms
x
@0
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1) x 1)

simplify168.0ms (7.8%)

Memory
-23.6MiB live, 90.6MiB allocated; 50ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02043
17043
222343
3103043
4626643
0959040
Stop Event
iter limit
node limit
Counts
11 → 10
Calls
Call 1
Inputs
(* 2 x)
(* x (+ 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(+ 1 x)
x
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* x (+ 1 (/ 1 x)))
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
x
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite43.0ms (2%)

Memory
-24.3MiB live, 21.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0521
0817
15017
047615
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 86
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
(*.f64 (+.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (+.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 0 binary64)) (+.f64 x #s(literal 2 binary64)))
(*.f64 (+.f64 x #s(literal 2 binary64)) (+.f64 x #s(literal 0 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))))
(fma.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
(fma.f64 #s(literal 1 binary64) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (+.f64 x #s(literal 0 binary64)))
(expm1.f64 (*.f64 (log1p.f64 x) #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))))
(-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))
(+.f64 (fma.f64 x x x) (+.f64 x #s(literal 0 binary64)))
(+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))
(*.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))))
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64))))
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))
(*.f64 #s(literal 1 binary64) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))
(pow.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(pow.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 (fma.f64 x x x) (fma.f64 x x x)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))) (-.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x x) #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (fma.f64 x x x) (fma.f64 x x x) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64))))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(neg.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))))
(neg.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (neg.f64 (-.f64 x #s(literal -1 binary64)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) (fma.f64 x x x))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (-.f64 x #s(literal -1 binary64)))
(fma.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))
(-.f64 (fma.f64 x x x) (*.f64 #s(literal -1 binary64) (-.f64 x #s(literal -1 binary64))))
(-.f64 (fma.f64 x x x) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(fabs.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log1p.f64 x) #s(literal 2 binary64)))
(+.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64)))
(+.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x))
(*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)

eval11.0ms (0.5%)

Memory
17.0MiB live, 17.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 572 to 297 computations (81.1% saved)

prune4.0ms (0.2%)

Memory
5.5MiB live, 5.5MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1104114
Fresh000
Picked101
Done000
Total1114115
Accuracy
100.0%
Counts
115 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
3.6%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
50.4%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
50.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
Compiler

Compiled 52 to 31 computations (40.4% saved)

series4.0ms (0.2%)

Memory
2.9MiB live, 2.9MiB allocated; 0ms collecting garbage
Counts
13 → 12
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
(* 2 x)
(* x (+ 2 x))
x
(pow x 2)
2
(+ 2 x)
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* (+ x 1) (+ x 1)) 1) (* 2 x) 2 x (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2) -2 (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) 1)
1.0ms
x
@inf
((- (* (+ x 1) (+ x 1)) 1) (* 2 x) 2 x (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2) -2 (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) 1)
1.0ms
x
@0
((- (* (+ x 1) (+ x 1)) 1) (* 2 x) 2 x (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2) -2 (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) 1)

simplify113.0ms (5.2%)

Memory
-11.8MiB live, 84.2MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01844
16644
223144
3106844
4584044
0897041
Stop Event
iter limit
node limit
Counts
12 → 11
Calls
Call 1
Inputs
(* 2 x)
(* x (+ 2 x))
x
(pow x 2)
2
(+ 2 x)
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
x
(pow x 2)
(*.f64 x x)
2
#s(literal 2 binary64)
(+ 2 x)
(-.f64 x #s(literal -2 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(* x (+ 1 (* 2 (/ 1 x))))
(-.f64 x #s(literal -2 binary64))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))

rewrite44.0ms (2%)

Memory
15.4MiB live, 15.4MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01679
02169
19269
074363
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
13 → 53
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
#s(literal 2 binary64)
x
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(*.f64 x (-.f64 x #s(literal -2 binary64)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -4 binary64)) x) (+.f64 #s(literal -2 binary64) x))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64)) x) (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64))))
(/.f64 (*.f64 x (fma.f64 x x #s(literal -4 binary64))) (+.f64 #s(literal -2 binary64) x))
(/.f64 (*.f64 x (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64))) (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64))))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -4 binary64))) (neg.f64 (+.f64 #s(literal -2 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64)))))
(/.f64 (fma.f64 x x #s(literal -4 binary64)) (+.f64 #s(literal -2 binary64) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64)) (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -2 binary64) x)) (/.f64 #s(literal 4 binary64) (+.f64 #s(literal -2 binary64) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64)))) (/.f64 #s(literal -8 binary64) (fma.f64 x x (fma.f64 #s(literal -2 binary64) x #s(literal 4 binary64)))))
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
(/.f64 (neg.f64 (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64)))))
(/.f64 (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))))
(fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 2 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64)))))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal -1 binary64))
(*.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(literal 1 binary64)

eval5.0ms (0.3%)

Memory
6.1MiB live, 6.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 195 to 162 computations (86.4% saved)

prune8.0ms (0.4%)

Memory
-40.7MiB live, 5.0MiB allocated; 5ms collecting garbage
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New62163
Fresh000
Picked134
Done000
Total63467
Accuracy
100.0%
Counts
67 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
3.6%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
50.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
50.4%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 52 to 30 computations (42.3% saved)

series4.0ms (0.2%)

Memory
1.9MiB live, 1.9MiB allocated; 0ms collecting garbage
Counts
3 → 5
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(+.f64 x x)
x
Outputs
(* 2 x)
(* x (+ 2 x))
x
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@0
((- (* (+ x 1) (+ x 1)) 1) (+ x x) x)
1.0ms
x
@-inf
((- (* (+ x 1) (+ x 1)) 1) (+ x x) x)
0.0ms
x
@inf
((- (* (+ x 1) (+ x 1)) 1) (+ x x) x)

simplify121.0ms (5.6%)

Memory
8.1MiB live, 52.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
13717
212217
353917
4247517
5692317
0826017
Stop Event
iter limit
node limit
Counts
5 → 4
Calls
Call 1
Inputs
(* 2 x)
(* x (+ 2 x))
x
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
x
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)

rewrite33.0ms (1.5%)

Memory
20.9MiB live, 20.9MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
0815
15715
054313
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 10
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(+.f64 x x)
x
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))))
(+.f64 x x)
x

eval1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 209 to 37 computations (82.3% saved)

prune2.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done033
Total13417
Accuracy
100.0%
Counts
17 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
3.6%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
50.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
50.4%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 126 to 52 computations (58.7% saved)

regimes8.0ms (0.4%)

Memory
11.1MiB live, 11.1MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
Calls

4 calls:

2.0ms
x
2.0ms
(+.f64 x #s(literal 1 binary64))
2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
2.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
100.0%1(+.f64 x #s(literal 1 binary64))
100.0%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
100.0%1x
Compiler

Compiled 20 to 13 computations (35% saved)

regimes13.0ms (0.6%)

Memory
-32.9MiB live, 10.8MiB allocated; 5ms collecting garbage
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Calls

4 calls:

8.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
2.0ms
x
1.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
96.4%3(+.f64 x #s(literal 1 binary64))
96.4%2(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
96.4%2(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
96.4%3x
Compiler

Compiled 20 to 13 computations (35% saved)

regimes5.0ms (0.3%)

Memory
8.7MiB live, 8.7MiB allocated; 0ms collecting garbage
Accuracy

Total -30.4b remaining (-96.6%)

Threshold costs -30.4b (-96.6%)

Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
Calls

4 calls:

1.0ms
x
1.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
50.8%1(+.f64 x #s(literal 1 binary64))
50.8%1x
50.8%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
50.8%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 20 to 13 computations (35% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0016477018000244925
441.8050065718489
Compiler

Compiled 12 to 9 computations (25% saved)

simplify32.0ms (1.5%)

Memory
24.2MiB live, 24.2MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01966
13966
210866
349750
4308350
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 1152921504606847/576460752303423488 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 1152921504606847/576460752303423488 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))

derivations138.0ms (6.4%)

Memory
-0.3MiB live, 49.2MiB allocated; 37ms collecting garbage
Stop Event
done
Compiler

Compiled 66 to 20 computations (69.7% saved)

preprocess22.0ms (1%)

Memory
-27.7MiB live, 17.7MiB allocated; 9ms collecting garbage
Compiler

Compiled 150 to 50 computations (66.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...