Data.Spline.Key:interpolateKeys from smoothie-0.4.0.2

Time bar (total: 8.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.6MiB 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 9 computations (18.2% saved)

sample1.2s (15.3%)

Memory
37.7MiB live, 1 155.9MiB allocated; 288ms collecting garbage
Samples
871.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 411.0ms
ival-mult: 225.0ms (54.7% of total)
ival-sub: 165.0ms (40.1% of total)
ival-true: 8.0ms (1.9% of total)
exact: 8.0ms (1.9% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain151.0ms (1.9%)

Memory
-29.9MiB live, 164.8MiB allocated; 77ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
00-0-(*.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-#s(literal 3 binary64)
00-0-(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
00-0-(*.f64 x x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
32.0ms512×0valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 10.0ms (70.9% of total)
ival-sub: 3.0ms (21.3% of total)
exact: 1.0ms (7.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess220.0ms (2.8%)

Memory
23.0MiB live, 205.8MiB allocated; 41ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
13318
214518
344118
4114118
5291318
6555918
079
0119
1239
2809
32909
47789
524759
650419
080468
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
Outputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify148.0ms (1.9%)

Memory
-21.1MiB live, 171.9MiB allocated; 32ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
cost-diff1
(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0723
01123
12323
28023
329023
477823
5247523
6504123
0804621
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
(*.f64 x x)
x
(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
#s(literal 3 binary64)
(*.f64 x #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 x x)
x
(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
#s(literal 3 binary64)
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize18.0ms (0.2%)

Memory
26.8MiB live, 26.8MiB allocated; 0ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy0.125
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
Samples
13.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 5.0ms (74.5% of total)
ival-sub: 1.0ms (14.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0%)

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

3 calls:

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

simplify128.0ms (1.6%)

Memory
-12.5MiB live, 127.8MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02462
16362
220062
380562
4343662
0822956
Stop Event
iter limit
node limit
Counts
12 → 12
Calls
Call 1
Inputs
3
(+ 3 (* -2 x))
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(pow x 2)
(* 2 x)
(* -2 x)
(* x (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 3))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
Outputs
3
#s(literal 3 binary64)
(+ 3 (* -2 x))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* (pow x 2) (+ 3 (* -2 x)))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(pow x 2)
(*.f64 x x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -2 x)
(*.f64 #s(literal -2 binary64) x)
(* x (- (* 3 (/ 1 x)) 2))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -2 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)

rewrite46.0ms (0.6%)

Memory
11.7MiB live, 56.3MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
01120
13820
025820
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 52
Calls
Call 1
Inputs
(-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64)))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
(*.f64 x x)
(*.f64 x #s(literal 2 binary64))
Outputs
(/.f64 (+.f64 #s(literal 27 binary64) (pow.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 9 binary64) (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 3 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64))))))
(/.f64 (neg.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))))
(/.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(fma.f64 (neg.f64 x) #s(literal 2 binary64) #s(literal 3 binary64))
(fma.f64 #s(literal 2 binary64) (neg.f64 x) #s(literal 3 binary64))
(-.f64 (/.f64 #s(literal 9 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(-.f64 (/.f64 #s(literal 27 binary64) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))))
(-.f64 #s(literal 3 binary64) (*.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64)))
(-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x))
(+.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal 3 binary64))
(+.f64 #s(literal 3 binary64) (*.f64 #s(literal -2 binary64) x))
(+.f64 #s(literal 3 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)) x) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x))))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x))))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)))
(*.f64 (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)) (*.f64 x x))
(*.f64 x (*.f64 (-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)) x))
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(fma.f64 (*.f64 x x) #s(literal 3 binary64) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) #s(literal 2 binary64))))
(fma.f64 #s(literal 3 binary64) (*.f64 x x) (*.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 3 binary64) (*.f64 x x)) (*.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 3 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) #s(literal 2 binary64))))
(*.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)))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)

eval6.0ms (0.1%)

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

Compiled 787 to 171 computations (78.3% saved)

prune10.0ms (0.1%)

Memory
-32.0MiB live, 13.4MiB allocated; 5ms collecting garbage
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New52860
Fresh000
Picked101
Done000
Total53861
Accuracy
100.0%
Counts
61 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.9%
(fma.f64 (*.f64 x x) #s(literal 3 binary64) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) #s(literal 2 binary64))))
70.1%
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
96.1%
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
99.8%
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
73.9%
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x)))
62.5%
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
74.0%
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
99.8%
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
Compiler

Compiled 232 to 164 computations (29.3% saved)

simplify335.0ms (4.2%)

Memory
-17.9MiB live, 337.8MiB allocated; 188ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
cost-diff0
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
cost-diff1
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
cost-diff2
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
cost-diff0
(*.f64 #s(literal 4 binary64) (*.f64 x x))
cost-diff0
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
cost-diff0
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
cost-diff1
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
cost-diff0
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
cost-diff0
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
cost-diff0
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
cost-diff0
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
cost-diff0
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
cost-diff0
(+.f64 x x)
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
cost-diff1
(-.f64 #s(literal 3 binary64) (+.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032203
053205
1113198
2358198
31693198
45192198
08899188
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
(*.f64 x x)
x
(-.f64 #s(literal 3 binary64) (+.f64 x x))
#s(literal 3 binary64)
(+.f64 x x)
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 x x)
x
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(literal 3 binary64)
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
#s(literal -2 binary64)
x
#s(literal 3 binary64)
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
#s(literal 9 binary64)
(*.f64 #s(literal 4 binary64) (*.f64 x x))
#s(literal 4 binary64)
(*.f64 x x)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
#s(literal 27 binary64)
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(literal 3 binary64)
(*.f64 x x)
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 9 binary64)
Outputs
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 x x)
x
(-.f64 #s(literal 3 binary64) (+.f64 x x))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
#s(literal 3 binary64)
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (- 3 (* x 2)) #s(literal 3 binary64)) x) x)
(*.f64 x x)
x
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(literal 3 binary64)
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
#s(literal -2 binary64)
x
#s(literal 3 binary64)
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
#s(literal 9 binary64)
(*.f64 #s(literal 4 binary64) (*.f64 x x))
#s(literal 4 binary64)
(*.f64 x x)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(*.f64 (/.f64 x (fma.f64 (fma.f64 #s(literal 4 binary64) x #s(literal 6 binary64)) x #s(literal 9 binary64))) (*.f64 (fma.f64 #s(literal -8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 27 binary64)) x))
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
(*.f64 (fma.f64 #s(literal -8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 27 binary64)) (*.f64 x x))
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
(fma.f64 #s(literal -8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 27 binary64))
#s(literal 27 binary64)
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(literal 3 binary64)
(*.f64 x x)
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
(fma.f64 (fma.f64 #s(literal 4 binary64) x #s(literal 6 binary64)) x #s(literal 9 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 9 binary64)

localize152.0ms (1.9%)

Memory
46.5MiB live, 232.0MiB allocated; 17ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.1241459363809557
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
accuracy17.64545515755475
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
accuracy0.00390625
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
accuracy0.0078125
(*.f64 #s(literal 4 binary64) (*.f64 x x))
accuracy0.17578125
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
accuracy2.401196437757174
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
accuracy0.0
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
accuracy0.0
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
accuracy0.109375
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
accuracy0.12890625
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
accuracy0.0
(*.f64 x x)
accuracy0.125
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
accuracy30.823713586086665
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
accuracy0.0
(-.f64 #s(literal 3 binary64) (+.f64 x x))
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 x x)
accuracy0.125
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
Samples
118.0ms230×0valid
6.0ms17×1valid
5.0ms2valid
Compiler

Compiled 202 to 32 computations (84.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 110.0ms
ival-mult: 56.0ms (50.9% of total)
ival-add: 36.0ms (32.7% of total)
ival-pow: 6.0ms (5.5% of total)
ival-sub: 5.0ms (4.5% of total)
adjust: 3.0ms (2.7% of total)
ival-div: 3.0ms (2.7% of total)
exact: 1.0ms (0.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series16.0ms (0.2%)

Memory
-6.0MiB live, 38.7MiB allocated; 9ms collecting garbage
Counts
19 → 39
Calls
Call 1
Inputs
(-.f64 #s(literal 3 binary64) (+.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
(*.f64 x x)
(+.f64 x x)
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
(*.f64 #s(literal 4 binary64) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
(*.f64 #s(literal 2 binary64) x)
Outputs
3
(+ 3 (* -2 x))
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(pow x 2)
(* 2 x)
(* 3 x)
(* x (+ 3 (* -2 x)))
9
(+ 9 (* -4 (pow x 2)))
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(* 4 (pow x 2))
(+ 9 (* 6 x))
(+ 9 (* x (+ 6 (* 4 x))))
27
(+ 27 (* -8 (pow x 3)))
(* 27 (pow x 2))
(* (pow x 2) (+ 27 (* -8 (pow x 3))))
(* -2 x)
(* x (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 3))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 2))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* (pow x 2) (+ 4 (* 6 (/ 1 x))))
(* (pow x 2) (+ 4 (+ (* 6 (/ 1 x)) (/ 9 (pow x 2)))))
(* -8 (pow x 3))
(* (pow x 3) (- (* 27 (/ 1 (pow x 3))) 8))
(* -8 (pow x 5))
(* (pow x 5) (- (* 27 (/ 1 (pow x 3))) 8))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 8 (* 27 (/ 1 (pow x 3))))))
(* -1 (* (pow x 5) (- 8 (* 27 (/ 1 (pow x 3))))))
Calls

3 calls:

TimeVariablePointExpression
7.0ms
x
@0
((- 3 (+ x x)) (* (* x x) (- 3 (+ x x))) (* x x) (+ x x) (* (* x x) (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (* x 2))) (* (* (+ (* -2 x) 3) x) x) (* (+ (* -2 x) 3) x) (+ (* -2 x) 3) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* 4 (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9) (- 27 (pow (* 2 x) 3)) (/ (* (- 27 (pow (* 2 x) 3)) (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9)) (* (- 27 (pow (* 2 x) 3)) (* x x)) (* 2 x))
4.0ms
x
@-inf
((- 3 (+ x x)) (* (* x x) (- 3 (+ x x))) (* x x) (+ x x) (* (* x x) (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (* x 2))) (* (* (+ (* -2 x) 3) x) x) (* (+ (* -2 x) 3) x) (+ (* -2 x) 3) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* 4 (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9) (- 27 (pow (* 2 x) 3)) (/ (* (- 27 (pow (* 2 x) 3)) (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9)) (* (- 27 (pow (* 2 x) 3)) (* x x)) (* 2 x))
3.0ms
x
@inf
((- 3 (+ x x)) (* (* x x) (- 3 (+ x x))) (* x x) (+ x x) (* (* x x) (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (* x 2))) (* (* (+ (* -2 x) 3) x) x) (* (+ (* -2 x) 3) x) (+ (* -2 x) 3) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* 4 (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9) (- 27 (pow (* 2 x) 3)) (/ (* (- 27 (pow (* 2 x) 3)) (* x x)) (+ (* (* 2 x) (+ (* 2 x) 3)) 9)) (* (- 27 (pow (* 2 x) 3)) (* x x)) (* 2 x))

simplify134.0ms (1.7%)

Memory
-17.6MiB live, 170.3MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077247
1216247
2654247
32521245
47427245
08009225
Stop Event
iter limit
node limit
Counts
39 → 39
Calls
Call 1
Inputs
3
(+ 3 (* -2 x))
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(pow x 2)
(* 2 x)
(* 3 x)
(* x (+ 3 (* -2 x)))
9
(+ 9 (* -4 (pow x 2)))
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(* 4 (pow x 2))
(+ 9 (* 6 x))
(+ 9 (* x (+ 6 (* 4 x))))
27
(+ 27 (* -8 (pow x 3)))
(* 27 (pow x 2))
(* (pow x 2) (+ 27 (* -8 (pow x 3))))
(* -2 x)
(* x (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 3))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 2))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* (pow x 2) (+ 4 (* 6 (/ 1 x))))
(* (pow x 2) (+ 4 (+ (* 6 (/ 1 x)) (/ 9 (pow x 2)))))
(* -8 (pow x 3))
(* (pow x 3) (- (* 27 (/ 1 (pow x 3))) 8))
(* -8 (pow x 5))
(* (pow x 5) (- (* 27 (/ 1 (pow x 3))) 8))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 8 (* 27 (/ 1 (pow x 3))))))
(* -1 (* (pow x 5) (- 8 (* 27 (/ 1 (pow x 3))))))
Outputs
3
#s(literal 3 binary64)
(+ 3 (* -2 x))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* (pow x 2) (+ 3 (* -2 x)))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(pow x 2)
(*.f64 x x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* x (+ 3 (* -2 x)))
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
9
#s(literal 9 binary64)
(+ 9 (* -4 (pow x 2)))
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
(* 9 (pow x 2))
(*.f64 #s(literal 9 binary64) (*.f64 x x))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(* 4 (pow x 2))
(*.f64 #s(literal 4 binary64) (*.f64 x x))
(+ 9 (* 6 x))
(fma.f64 #s(literal 6 binary64) x #s(literal 9 binary64))
(+ 9 (* x (+ 6 (* 4 x))))
(fma.f64 (fma.f64 #s(literal 4 binary64) x #s(literal 6 binary64)) x #s(literal 9 binary64))
27
#s(literal 27 binary64)
(+ 27 (* -8 (pow x 3)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64) #s(literal 27 binary64))
(* 27 (pow x 2))
(*.f64 #s(literal 27 binary64) (*.f64 x x))
(* (pow x 2) (+ 27 (* -8 (pow x 3))))
(*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64) #s(literal 27 binary64)) x) x)
(* -2 x)
(*.f64 #s(literal -2 binary64) x)
(* x (- (* 3 (/ 1 x)) 2))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -2 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -2 binary64))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(* -4 (pow x 2))
(*.f64 #s(literal -4 binary64) (*.f64 x x))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) x) x)
(* -4 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -4 binary64))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)))
(* (pow x 2) (+ 4 (* 6 (/ 1 x))))
(*.f64 (fma.f64 #s(literal 4 binary64) x #s(literal 6 binary64)) x)
(* (pow x 2) (+ 4 (+ (* 6 (/ 1 x)) (/ 9 (pow x 2)))))
(fma.f64 (fma.f64 #s(literal 4 binary64) x #s(literal 6 binary64)) x #s(literal 9 binary64))
(* -8 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64))
(* (pow x 3) (- (* 27 (/ 1 (pow x 3))) 8))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64) #s(literal 27 binary64))
(* -8 (pow x 5))
(*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal -8 binary64))
(* (pow x 5) (- (* 27 (/ 1 (pow x 3))) 8))
(*.f64 (-.f64 (/.f64 #s(literal 27 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 8 binary64)) (pow.f64 x #s(literal 5 binary64)))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -1 (* (pow x 3) (- 8 (* 27 (/ 1 (pow x 3))))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64) #s(literal 27 binary64))
(* -1 (* (pow x 5) (- 8 (* 27 (/ 1 (pow x 3))))))
(*.f64 (-.f64 (/.f64 #s(literal 27 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 8 binary64)) (pow.f64 x #s(literal 5 binary64)))

rewrite50.0ms (0.6%)

Memory
4.6MiB live, 51.2MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032164
053164
0217164
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
19 → 67
Calls
Call 1
Inputs
(-.f64 #s(literal 3 binary64) (+.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
(*.f64 x x)
(+.f64 x x)
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
(*.f64 #s(literal 4 binary64) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
(*.f64 #s(literal 2 binary64) x)
Outputs
(/.f64 (-.f64 #s(literal 9 binary64) (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x))) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x))
(+.f64 #s(literal 3 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 (-.f64 #s(literal 3 binary64) x) x))
(*.f64 x (*.f64 x (-.f64 (-.f64 #s(literal 3 binary64) x) x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(*.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)
(*.f64 #s(approx (- 3 (* x 2)) #s(literal 3 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) (*.f64 x x))
(*.f64 x (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x))
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(*.f64 x (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) (*.f64 #s(literal -2 binary64) x)) #s(literal 9 binary64)) (-.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)) #s(literal 27 binary64)) (fma.f64 (*.f64 #s(literal -2 binary64) x) (*.f64 #s(literal -2 binary64) x) (-.f64 #s(literal 9 binary64) (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(fma.f64 x #s(literal -2 binary64) #s(literal 3 binary64))
(+.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))
(+.f64 #s(literal 3 binary64) (*.f64 #s(literal -2 binary64) x))
(/.f64 (-.f64 #s(literal 81 binary64) (*.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 4 binary64) (*.f64 x x)))) (+.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))))
(/.f64 (-.f64 #s(literal 729 binary64) (pow.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) #s(literal 3 binary64))) (+.f64 #s(literal 81 binary64) (fma.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))))))
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
(+.f64 #s(literal 9 binary64) (*.f64 #s(literal -4 binary64) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (/.f64 (*.f64 x x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (neg.f64 (*.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) x) x)) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (*.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) x) x)
(*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))))
(*.f64 (*.f64 #s(literal 4 binary64) x) x)
(*.f64 #s(literal 4 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 4 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))) #s(literal 81 binary64)) (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) #s(literal 9 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) #s(literal 3 binary64)) #s(literal 729 binary64)) (fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (-.f64 #s(literal 81 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) #s(literal 9 binary64)))))
(fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))
(fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) (*.f64 #s(literal 2 binary64) x) #s(literal 9 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) #s(literal 9 binary64))
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) #s(literal 9 binary64))
(+.f64 #s(literal 9 binary64) (*.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (-.f64 #s(literal 729 binary64) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))) (+.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))))
(/.f64 (-.f64 #s(literal 19683 binary64) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 729 binary64) (fma.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (*.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))))))
(-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (/.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))))
(/.f64 (neg.f64 (*.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) x) x)) (neg.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64))))
(/.f64 (*.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) x) x) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
(*.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) x) x)
(*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))))
(*.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)

eval10.0ms (0.1%)

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

Compiled 2 207 to 358 computations (83.8% saved)

prune45.0ms (0.6%)

Memory
-18.1MiB live, 46.0MiB allocated; 14ms collecting garbage
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1066112
Fresh303
Picked415
Done000
Total1137120
Accuracy
100.0%
Counts
120 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.6%
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
96.1%
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
99.8%
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
73.9%
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
62.5%
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
62.5%
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
74.0%
#s(approx (* (* x x) (- 3 (+ x x))) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
Compiler

Compiled 197 to 143 computations (27.4% saved)

simplify235.0ms (3%)

Memory
7.2MiB live, 232.4MiB allocated; 80ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
cost-diff0
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
cost-diff0
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
cost-diff0
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
cost-diff0
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
cost-diff0
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
cost-diff0
(*.f64 #s(literal -2 binary64) x)
cost-diff0
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
cost-diff0
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
cost-diff0
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
cost-diff0
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 #s(literal 3 binary64) x)
cost-diff0
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
cost-diff1
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034217
052212
195212
2245212
3758212
42119212
55495212
08152205
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(-.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)
x
(*.f64 x x)
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
x
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(literal 3 binary64)
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
(*.f64 x x)
x
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
#s(literal 9 binary64)
(*.f64 x x)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
#s(literal -4 binary64)
(*.f64 x x)
x
#s(literal 9 binary64)
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
Outputs
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(-.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)
x
(*.f64 x x)
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
(*.f64 (*.f64 #s(approx (- 3 (+ x x)) #s(literal 3 binary64)) x) x)
x
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 #s(approx (- 3 (+ x x)) #s(literal 3 binary64)) x)
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
#s(approx (- 3 (+ x x)) #s(literal 3 binary64))
#s(literal 3 binary64)
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
(*.f64 #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)) (*.f64 x x))
(*.f64 x x)
x
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (/.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (*.f64 x x))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
#s(literal 9 binary64)
(*.f64 x x)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
#s(literal -4 binary64)
(*.f64 x x)
x
#s(literal 9 binary64)
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)

localize152.0ms (1.9%)

Memory
-13.8MiB live, 172.7MiB allocated; 46ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
accuracy0.078125
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
accuracy0.09765625
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
accuracy2.401196437757174
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
accuracy0.0
(*.f64 x x)
accuracy0.17578125
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
accuracy2.401196437757174
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
accuracy31.394017828462207
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal -2 binary64) x)
accuracy0.125
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
accuracy31.97816862016223
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
accuracy0.109375
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
accuracy0.12890625
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
accuracy30.823713586086665
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
accuracy0.0
(-.f64 #s(literal 3 binary64) x)
accuracy0.0
(*.f64 x x)
accuracy0.015625
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
accuracy0.125
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
Samples
58.0ms225×0valid
6.0ms18×1valid
4.0ms2valid
3.0ms3valid
Compiler

Compiled 184 to 31 computations (83.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 41.0ms
ival-mult: 24.0ms (58.5% of total)
ival-sub: 7.0ms (17.1% of total)
adjust: 4.0ms (9.8% of total)
ival-add: 4.0ms (9.8% of total)
ival-div: 2.0ms (4.9% of total)
exact: 1.0ms (2.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
10.5MiB live, 10.5MiB allocated; 0ms collecting garbage
Counts
18 → 32
Calls
Call 1
Inputs
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(-.f64 #s(literal 3 binary64) x)
(*.f64 x x)
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
Outputs
3
(+ 3 (* -2 x))
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(+ 3 (* -1 x))
(pow x 2)
(* 3 x)
(* x (+ 3 (* -2 x)))
(* -2 x)
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
9
(+ 9 (* -4 (pow x 2)))
(* 9 x)
(* x (+ 9 (* -4 (pow x 2))))
(* x (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 3))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -1 x)
(* x (- (* 3 (/ 1 x)) 1))
(* -2 (pow x 2))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 3))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* x (- 1 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((- (- 3 x) x) (* (- (- 3 x) x) (* x x)) (- 3 x) (* x x) (* x (* x (- 3 (* x 2)))) (* x (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (+ x x))) (- 3 (+ x x)) (* -2 x) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* (* (+ (* -4 (* x x)) 9) x) x) (* (+ (* -4 (* x x)) 9) x) (+ (* -4 (* x x)) 9))
2.0ms
x
@inf
((- (- 3 x) x) (* (- (- 3 x) x) (* x x)) (- 3 x) (* x x) (* x (* x (- 3 (* x 2)))) (* x (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (+ x x))) (- 3 (+ x x)) (* -2 x) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* (* (+ (* -4 (* x x)) 9) x) x) (* (+ (* -4 (* x x)) 9) x) (+ (* -4 (* x x)) 9))
1.0ms
x
@0
((- (- 3 x) x) (* (- (- 3 x) x) (* x x)) (- 3 x) (* x x) (* x (* x (- 3 (* x 2)))) (* x (- 3 (* x 2))) (- 3 (* x 2)) (* (* x x) (- 3 (+ x x))) (- 3 (+ x x)) (* -2 x) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (- 9 (* 4 (* x x))) (/ (* (- 9 (* 4 (* x x))) (* x x)) (+ (* 2 x) 3)) (* (- 9 (* 4 (* x x))) (* x x)) (* (* (+ (* -4 (* x x)) 9) x) x) (* (+ (* -4 (* x x)) 9) x) (+ (* -4 (* x x)) 9))

simplify222.0ms (2.8%)

Memory
-1.0MiB live, 184.1MiB allocated; 44ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055190
1148187
2393187
31705187
45074187
08116176
Stop Event
iter limit
node limit
Counts
32 → 32
Calls
Call 1
Inputs
3
(+ 3 (* -2 x))
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(+ 3 (* -1 x))
(pow x 2)
(* 3 x)
(* x (+ 3 (* -2 x)))
(* -2 x)
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
9
(+ 9 (* -4 (pow x 2)))
(* 9 x)
(* x (+ 9 (* -4 (pow x 2))))
(* x (- (* 3 (/ 1 x)) 2))
(* -2 (pow x 3))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -1 x)
(* x (- (* 3 (/ 1 x)) 1))
(* -2 (pow x 2))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 3))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* x (- 1 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
Outputs
3
#s(literal 3 binary64)
(+ 3 (* -2 x))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* (pow x 2) (+ 3 (* -2 x)))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(+ 3 (* -1 x))
(-.f64 #s(literal 3 binary64) x)
(pow x 2)
(*.f64 x x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* x (+ 3 (* -2 x)))
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(* -2 x)
(*.f64 #s(literal -2 binary64) x)
(* 9 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 9 binary64))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
9
#s(literal 9 binary64)
(+ 9 (* -4 (pow x 2)))
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* x (+ 9 (* -4 (pow x 2))))
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(* x (- (* 3 (/ 1 x)) 2))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -2 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -1 x)
(neg.f64 x)
(* x (- (* 3 (/ 1 x)) 1))
(-.f64 #s(literal 3 binary64) x)
(* -2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -2 binary64))
(* (pow x 2) (- (* 3 (/ 1 x)) 2))
(*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x)
(* -4 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -4 binary64))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))
(* -4 (pow x 2))
(*.f64 #s(literal -4 binary64) (*.f64 x x))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) x) x)
(* -4 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -4 binary64))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* -1 (* x (- 2 (* 3 (/ 1 x)))))
(fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -1 (* x (- 1 (* 3 (/ 1 x)))))
(-.f64 #s(literal 3 binary64) x)
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 3 binary64)))

rewrite82.0ms (1%)

Memory
15.9MiB live, 59.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034185
052180
0191180
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
18 → 55
Calls
Call 1
Inputs
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(-.f64 #s(literal 3 binary64) x)
(*.f64 x x)
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
(*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
#s(approx (- 3 (* x 2)) #s(literal 3 binary64))
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
Outputs
(/.f64 (-.f64 (*.f64 (-.f64 #s(literal 3 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 x x)) (+.f64 (-.f64 #s(literal 3 binary64) x) x))
(/.f64 (-.f64 #s(literal 9 binary64) (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x))) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 3 binary64) x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 3 binary64) x) (-.f64 #s(literal 3 binary64) x) (fma.f64 x x (*.f64 (-.f64 #s(literal 3 binary64) x) x))))
(/.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 9 binary64) (fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x)))))
(-.f64 (-.f64 #s(literal 3 binary64) x) x)
(-.f64 #s(literal 3 binary64) (*.f64 #s(literal 2 binary64) x))
(+.f64 #s(literal 3 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) x) x)
(*.f64 (*.f64 x x) (-.f64 (-.f64 #s(literal 3 binary64) x) x))
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(/.f64 (-.f64 #s(literal 9 binary64) (*.f64 x x)) (+.f64 #s(literal 3 binary64) x))
(/.f64 (-.f64 #s(literal 27 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 #s(literal 9 binary64) (fma.f64 x x (*.f64 #s(literal 3 binary64) x))))
(-.f64 #s(literal 3 binary64) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(*.f64 (*.f64 #s(approx (- 3 (+ x x)) #s(literal 3 binary64)) x) x)
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) #s(literal 3 binary64)))
(*.f64 x (*.f64 #s(approx (- 3 (+ x x)) #s(literal 3 binary64)) x))
(*.f64 #s(approx (- 3 (+ x x)) #s(literal 3 binary64)) x)
(*.f64 x #s(approx (- 3 (+ x x)) #s(literal 3 binary64)))
#s(approx (- 3 (+ x x)) #s(literal 3 binary64))
(*.f64 #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)) (*.f64 x x))
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
(*.f64 x (*.f64 x #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))))
#s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
(*.f64 x #s(literal -2 binary64))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (/.f64 (*.f64 x x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (neg.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)))
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
(/.f64 (neg.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)))
(*.f64 x (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x))
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
(*.f64 x (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)))
(/.f64 (-.f64 #s(literal 81 binary64) (*.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 4 binary64) (*.f64 x x)))) (+.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) (*.f64 #s(literal -4 binary64) (*.f64 x x))) #s(literal 81 binary64)) (-.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) #s(literal 9 binary64)))
(/.f64 (-.f64 #s(literal 729 binary64) (pow.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) #s(literal 3 binary64))) (+.f64 #s(literal 81 binary64) (fma.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) #s(literal 3 binary64)) #s(literal 729 binary64)) (fma.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) (*.f64 #s(literal -4 binary64) (*.f64 x x)) (-.f64 #s(literal 81 binary64) (*.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) #s(literal 9 binary64)))))
(fma.f64 (*.f64 #s(literal -4 binary64) x) x #s(literal 9 binary64))
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
(fma.f64 (*.f64 x x) #s(literal -4 binary64) #s(literal 9 binary64))
(-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal -4 binary64) (*.f64 x x)) #s(literal 9 binary64))
(+.f64 #s(literal 9 binary64) (*.f64 #s(literal -4 binary64) (*.f64 x x)))

eval23.0ms (0.3%)

Memory
-6.6MiB live, 37.7MiB allocated; 8ms collecting garbage
Compiler

Compiled 1 875 to 307 computations (83.6% saved)

prune5.0ms (0.1%)

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

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New90292
Fresh101
Picked145
Done011
Total92799
Accuracy
100.0%
Counts
99 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.6%
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
50.6%
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
99.8%
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
73.9%
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
62.5%
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
62.5%
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
74.0%
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
Compiler

Compiled 95 to 72 computations (24.2% saved)

simplify3.5s (44.2%)

Memory
-372.6MiB live, 260.0MiB allocated; 4.6s collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
cost-diff0
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
cost-diff0
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
cost-diff0
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
cost-diff0
(pow.f64 x #s(literal 3 binary64))
cost-diff0
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
cost-diff0
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02085
02785
15585
215185
341385
4115385
5338785
6689885
0850280
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(pow.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
#s(literal -2 binary64)
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
#s(literal 9 binary64)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)
Outputs
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64)))
(pow.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
#s(literal -2 binary64)
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) x) #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
#s(literal 9 binary64)
x
(fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))
#s(literal 2 binary64)
#s(literal 3 binary64)

localize72.0ms (0.9%)

Memory
37.4MiB live, 83.8MiB allocated; 3ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.078125
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
accuracy0.09765625
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
accuracy2.401196437757174
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
accuracy31.394017828462207
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
accuracy0.0
(pow.f64 x #s(literal 3 binary64))
accuracy0.0
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
accuracy16.657651850162605
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
Samples
32.0ms251×0valid
29.0ms3valid
0.0ms1valid
Compiler

Compiled 75 to 21 computations (72% saved)

Precisions
Click to see histograms. Total time spent on operations: 52.0ms
ival-sub: 31.0ms (60% of total)
ival-mult: 11.0ms (21.3% of total)
ival-pow: 5.0ms (9.7% of total)
ival-div: 2.0ms (3.9% of total)
adjust: 1.0ms (1.9% of total)
ival-add: 1.0ms (1.9% of total)
exact: 1.0ms (1.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series26.0ms (0.3%)

Memory
-37.0MiB live, 9.6MiB allocated; 5ms collecting garbage
Counts
7 → 19
Calls
Call 1
Inputs
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(pow.f64 x #s(literal 3 binary64))
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
Outputs
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(* -2 (pow x 3))
(pow x 3)
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(* 9 x)
(* x (+ 9 (* -4 (pow x 2))))
9
(+ 9 (* -4 (pow x 2)))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 3))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
23.0ms
x
@-inf
((* (- (- 3 x) x) (* x x)) (* (pow x 3) -2) (pow x 3) (/ (* (* (- 9 (* 4 (* x x))) x) x) (+ (* 2 x) 3)) (* (* (- 9 (* 4 (* x x))) x) x) (* (- 9 (* 4 (* x x))) x) (- 9 (* 4 (* x x))))
2.0ms
x
@inf
((* (- (- 3 x) x) (* x x)) (* (pow x 3) -2) (pow x 3) (/ (* (* (- 9 (* 4 (* x x))) x) x) (+ (* 2 x) 3)) (* (* (- 9 (* 4 (* x x))) x) x) (* (- 9 (* 4 (* x x))) x) (- 9 (* 4 (* x x))))
1.0ms
x
@0
((* (- (- 3 x) x) (* x x)) (* (pow x 3) -2) (pow x 3) (/ (* (* (- 9 (* 4 (* x x))) x) x) (+ (* 2 x) 3)) (* (* (- 9 (* 4 (* x x))) x) x) (* (- 9 (* 4 (* x x))) x) (- 9 (* 4 (* x x))))

simplify206.0ms (2.6%)

Memory
32.9MiB live, 208.5MiB allocated; 44ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041135
1108135
2322135
31383135
45214135
08097131
Stop Event
iter limit
node limit
Counts
19 → 19
Calls
Call 1
Inputs
(* 3 (pow x 2))
(* (pow x 2) (+ 3 (* -2 x)))
(* -2 (pow x 3))
(pow x 3)
(* 9 (pow x 2))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(* 9 x)
(* x (+ 9 (* -4 (pow x 2))))
9
(+ 9 (* -4 (pow x 2)))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(* -4 (pow x 4))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 3))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(* -4 (pow x 2))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
Outputs
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* (pow x 2) (+ 3 (* -2 x)))
(*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x)
(* -2 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* 9 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 9 binary64))
(* (pow x 2) (+ 9 (* -4 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* x (+ 9 (* -4 (pow x 2))))
(*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x)
9
#s(literal 9 binary64)
(+ 9 (* -4 (pow x 2)))
(fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64))
(* (pow x 3) (- (* 3 (/ 1 x)) 2))
(*.f64 (-.f64 (/.f64 #s(literal 3 binary64) x) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* -4 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -4 binary64))
(* (pow x 4) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))
(* -4 (pow x 3))
(*.f64 #s(literal -4 binary64) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* -4 (pow x 2))
(*.f64 #s(literal -4 binary64) (*.f64 x x))
(* (pow x 2) (- (* 9 (/ 1 (pow x 2))) 4))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) x) x)
(* -1 (* (pow x 3) (- 2 (* 3 (/ 1 x)))))
(*.f64 (-.f64 (/.f64 #s(literal 3 binary64) x) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* -1 (* (pow x 3) (- 4 (* 9 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 #s(literal 9 binary64) (*.f64 x x)) #s(literal 4 binary64)) (pow.f64 x #s(literal 3 binary64)))

rewrite123.0ms (1.5%)

Memory
-17.9MiB live, 89.4MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02074
02774
111174
080070
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
7 → 46
Calls
Call 1
Inputs
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(pow.f64 x #s(literal 3 binary64))
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))
Outputs
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))))
(*.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (*.f64 #s(literal -2 binary64) (*.f64 x x)) x)
(*.f64 (*.f64 #s(literal -2 binary64) x) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -2 binary64)))
(*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64))
(*.f64 (*.f64 x x) (*.f64 x #s(literal -2 binary64)))
(*.f64 x (*.f64 (*.f64 x x) #s(literal -2 binary64)))
(*.f64 (*.f64 x (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 x (neg.f64 x)) (neg.f64 x))
(*.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (neg.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) x))
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 3 binary64))
(pow.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 3/2 binary64))
(pow.f64 x #s(literal 3 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 3 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))))
(*.f64 (/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 4 binary64) (*.f64 x x) #s(literal -9 binary64))) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))
(*.f64 (/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 27 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (-.f64 #s(literal 9 binary64) (*.f64 x #s(literal 6 binary64)))))
(*.f64 (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))) (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (/.f64 (*.f64 x x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))))
(*.f64 x (/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(*.f64 x (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (/.f64 x (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))))
(/.f64 (neg.f64 (*.f64 (neg.f64 x) (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x))) (neg.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))))
(/.f64 (*.f64 (neg.f64 x) (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(neg.f64 (/.f64 (*.f64 (neg.f64 x) (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64))))
(neg.f64 (/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x)
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)))
(*.f64 x (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x))
(*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x)
(*.f64 x #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)))
#s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64))

eval6.0ms (0.1%)

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

Compiled 1 218 to 220 computations (81.9% saved)

prune16.0ms (0.2%)

Memory
-17.8MiB live, 26.3MiB allocated; 4ms collecting garbage
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New62062
Fresh000
Picked022
Done055
Total62769
Accuracy
100.0%
Counts
69 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.6%
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
50.6%
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
99.8%
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
73.9%
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
62.5%
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
62.5%
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
74.0%
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
Compiler

Compiled 346 to 151 computations (56.4% saved)

regimes12.0ms (0.2%)

Memory
-2.3MiB live, 42.1MiB allocated; 4ms collecting garbage
Counts
17 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x)))
(*.f64 (*.f64 x x) #s(approx (- 3 (+ x x)) (*.f64 #s(literal -2 binary64) x)))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
(/.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (*.f64 (*.f64 #s(approx (- 9 (* 4 (* x x))) #s(literal 9 binary64)) x) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(fma.f64 (*.f64 x x) #s(literal 3 binary64) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) #s(literal 2 binary64))))
(/.f64 #s(approx (* (- 9 (* 4 (* x x))) (* x x)) (*.f64 (*.f64 (fma.f64 #s(literal -4 binary64) (*.f64 x x) #s(literal 9 binary64)) x) x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 9 binary64) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
#s(approx (* (* x x) (- 3 (+ x x))) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
#s(approx (* (- (- 3 x) x) (* x x)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -2 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 27 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 3 binary64)) #s(literal 9 binary64)))
Outputs
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
Calls

2 calls:

6.0ms
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
5.0ms
x
Results
AccuracySegmentsBranch
99.8%1(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
99.8%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes5.0ms (0.1%)

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

2 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes4.0ms (0.1%)

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

2 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes24.0ms (0.3%)

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

2 calls:

22.0ms
x
2.0ms
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
Results
AccuracySegmentsBranch
98.0%3(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (*.f64 x #s(literal 2 binary64))))
98.0%3x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes3.0ms (0%)

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

2 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes2.0ms (0%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

2 calls:

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

Compiled 10 to 8 computations (20% saved)

bsearch84.0ms (1.1%)

Memory
-24.5MiB live, 112.4MiB allocated; 10ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
17.0ms
5.963293947394416e-13
88108250.91140813
37.0ms
-28473.366371047636
-0.12886321219464955
Samples
41.0ms320×0valid
Compiler

Compiled 492 to 431 computations (12.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 8.0ms (76.3% of total)
ival-sub: 2.0ms (19.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify59.0ms (0.7%)

Memory
30.8MiB live, 82.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03291
15291
211791
333391
490291
5456991
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(if (<=.f64 x #s(literal -3/2 binary64)) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x))) (if (<=.f64 x #s(literal 3/2 binary64)) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64))) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x)))))
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
Outputs
(*.f64 (-.f64 (-.f64 #s(literal 3 binary64) x) x) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 3 binary64) (+.f64 x x)))
#s(approx (* (* x x) (- 3 (* x 2))) (*.f64 (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 3 binary64)) x) x))
(if (<=.f64 x #s(literal -3/2 binary64)) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x))) (if (<=.f64 x #s(literal 3/2 binary64)) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64))) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x)))))
(if (or (<=.f64 x #s(literal -3/2 binary64)) (not (<=.f64 x #s(literal 3/2 binary64)))) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) (*.f64 #s(literal -2 binary64) x))) (*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))
(*.f64 (*.f64 x x) #s(approx (- 3 (* x 2)) #s(literal 3 binary64)))
(*.f64 x (*.f64 x #s(approx (- 3 (* x 2)) #s(literal 3 binary64))))

derivations286.0ms (3.6%)

Memory
30.8MiB live, 347.2MiB allocated; 48ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032164
053164
0217164
02462
16362
220062
380562
4343662
0822956
0720
01120
13820
025820
Stop Event
done
iter limit
iter limit
iter limit
unsound
iter limit
iter limit
node limit
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 91 to 34 computations (62.6% saved)

preprocess97.0ms (1.2%)

Memory
-54.4MiB live, 53.3MiB allocated; 19ms collecting garbage
Compiler

Compiled 218 to 96 computations (56% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...