System.Random.MWC.Distributions:standard from mwc-random-0.13.3.2

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 9 to 8 computations (11.1% saved)

sample892.0ms (44.1%)

Memory
64.4MiB live, 745.8MiB allocated; 962ms collecting garbage
Samples
663.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 163.0ms
ival-mult: 106.0ms (64.9% of total)
ival-sub: 42.0ms (25.7% of total)
ival-true: 5.0ms (3.1% of total)
exact: 5.0ms (3.1% of total)
ival-assert: 3.0ms (1.8% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

explain112.0ms (5.6%)

Memory
-30.2MiB live, 75.2MiB allocated; 19ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 (*.f64 x x) y)
00-0-(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
00-0-#s(literal 1/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
61.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 49.0ms
ival-mult: 45.0ms (92.6% of total)
ival-sub: 2.0ms (4.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)

preprocess15.0ms (0.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01844
14344
27644
310344
412744
067
097
1147
2277
3467
4587
0587
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify4.0ms (0.2%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 (*.f64 x x) y)
cost-diff0
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11418
22718
34618
45818
05818
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
#s(literal 1/2 binary64)
(-.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(-.f64 (*.f64 x x) y)
(*.f64 x x)
x
y

localize16.0ms (0.8%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 (*.f64 x x) y)
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Samples
11.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (62.5% of total)
ival-sub: 1.0ms (20.8% 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)

series8.0ms (0.4%)

Memory
-38.3MiB live, 7.4MiB allocated; 3ms collecting garbage
Counts
3 → 14
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(-.f64 (*.f64 x x) y)
(*.f64 x x)
Outputs
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1/2 y)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (+ (* -1/2 y) (* 1/2 (pow x 2)))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x x) y) #s(hole binary64 (- (pow x 2) y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* y (- (* 1/2 (/ (pow x 2) y)) 1/2))))
#s(approx (- (* x x) y) #s(hole binary64 (* y (- (/ (pow x 2) y) 1))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
y
@-inf
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
1.0ms
x
@inf
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
1.0ms
x
@0
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
1.0ms
y
@0
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
0.0ms
x
@-inf
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))

simplify282.0ms (14%)

Memory
23.2MiB live, 218.1MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052194
1132191
2509191
32838191
08495186
Stop Event
iter limit
node limit
Counts
14 → 14
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1/2 y)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (+ (* -1/2 y) (* 1/2 (pow x 2)))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x x) y) #s(hole binary64 (- (pow x 2) y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* y (- (* 1/2 (/ (pow x 2) y)) 1/2))))
#s(approx (- (* x x) y) #s(hole binary64 (* y (- (/ (pow x 2) y) 1))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
Outputs
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1/2 y)))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (+ (* -1/2 y) (* 1/2 (pow x 2)))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (neg.f64 x) x y) #s(literal -1/2 binary64)))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x x) y) (neg.f64 y))
#s(approx (- (* x x) y) #s(hole binary64 (- (pow x 2) y)))
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal -1/2 binary64) #s(literal 1/2 binary64)) x) x))
#s(approx (- (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) y) (*.f64 x x))
#s(approx (- (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y (*.f64 x x))) x) x))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* y (- (* 1/2 (/ (pow x 2) y)) 1/2))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y))
#s(approx (- (* x x) y) #s(hole binary64 (* y (- (/ (pow x 2) y) 1))))
#s(approx (- (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal -1 binary64)) y))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
#s(approx (- (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal -1 binary64)) y))

rewrite32.0ms (1.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
12915
019715
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 27
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(-.f64 (*.f64 x x) y)
(*.f64 x x)
Outputs
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) #s(literal 1/2 binary64)) (fma.f64 x x y))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (fma.f64 x x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (fma.f64 x x y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (fma.f64 x x y))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x y)) (/.f64 (*.f64 y y) (fma.f64 x x y)))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 x x y) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 (*.f64 x x) y)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 (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)))

eval4.0ms (0.2%)

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

Compiled 489 to 140 computations (71.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New36238
Fresh000
Picked011
Done000
Total36339
Accuracy
100.0%
Counts
39 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
50.0%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
52.9%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify46.0ms (2.3%)

Memory
-44.6MiB live, 2.0MiB allocated; 3ms collecting garbage
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* x x) y) (*.f64 x x))
cost-diff0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
cost-diff0
(*.f64 #s(literal -1/2 binary64) y)
cost-diff0
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
01541
12241
23541
35441
46641
06641
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
(*.f64 #s(approx (- (* x x) y) (*.f64 x x)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
x

localize22.0ms (1.1%)

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

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
accuracy31.99308496443616
#s(approx (- (* x x) y) (*.f64 x x))
accuracy0.0
(*.f64 #s(literal -1/2 binary64) y)
accuracy30.137698735420813
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Samples
16.0ms256×0valid
Compiler

Compiled 31 to 10 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 7.0ms (79.9% of total)
ival-sub: 1.0ms (11.4% 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)

series3.0ms (0.2%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((* 1/2 (- (* x x) y)) (* -1/2 y) (* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
1.0ms
y
@inf
((* 1/2 (- (* x x) y)) (* -1/2 y) (* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
0.0ms
x
@inf
((* 1/2 (- (* x x) y)) (* -1/2 y) (* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
0.0ms
x
@-inf
((* 1/2 (- (* x x) y)) (* -1/2 y) (* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))
0.0ms
y
@0
((* 1/2 (- (* x x) y)) (* -1/2 y) (* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))

simplify293.0ms (14.5%)

Memory
-2.4MiB live, 330.2MiB allocated; 55ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053201
1133198
2511198
32836198
08496193
Stop Event
iter limit
node limit
Counts
15 → 15
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1/2 y)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (+ (* -1/2 y) (* 1/2 (pow x 2)))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x x) y) #s(hole binary64 (- (pow x 2) y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (* -1/2 y) #s(hole binary64 (* -1/2 y)))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* y (- (* 1/2 (/ (pow x 2) y)) 1/2))))
#s(approx (- (* x x) y) #s(hole binary64 (* y (- (/ (pow x 2) y) 1))))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
Outputs
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1/2 y)))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (+ (* -1/2 y) (* 1/2 (pow x 2)))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (neg.f64 x) x y) #s(literal -1/2 binary64)))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x x) y) (neg.f64 y))
#s(approx (- (* x x) y) #s(hole binary64 (- (pow x 2) y)))
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal -1/2 binary64) #s(literal 1/2 binary64)) x) x))
#s(approx (- (* x x) y) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) y) (*.f64 x x))
#s(approx (- (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y (*.f64 x x))) x) x))
#s(approx (* -1/2 y) #s(hole binary64 (* -1/2 y)))
#s(approx (* -1/2 y) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* y (- (* 1/2 (/ (pow x 2) y)) 1/2))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y))
#s(approx (- (* x x) y) #s(hole binary64 (* y (- (/ (pow x 2) y) 1))))
#s(approx (- (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal -1 binary64)) y))
#s(approx (* 1/2 (- (* x x) y)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y))
#s(approx (- (* x x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
#s(approx (- (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal -1 binary64)) y))

rewrite26.0ms (1.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
01537
13737
020537
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 20
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 y #s(literal -1/2 binary64))
(*.f64 #s(approx (- (* x x) y) (*.f64 x x)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 (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)))

eval19.0ms (0.9%)

Memory
-41.5MiB live, 5.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 403 to 105 computations (73.9% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New30030
Fresh000
Picked022
Done011
Total30333
Accuracy
100.0%
Counts
33 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
50.0%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
52.9%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 58 to 38 computations (34.5% saved)

regimes8.0ms (0.4%)

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

5 calls:

2.0ms
y
2.0ms
(-.f64 (*.f64 x x) y)
2.0ms
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
2.0ms
x
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1(*.f64 x x)
100.0%1(-.f64 (*.f64 x x) y)
100.0%1(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
100.0%1x
100.0%1y
Compiler

Compiled 17 to 17 computations (0% saved)

regimes7.0ms (0.3%)

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

5 calls:

1.0ms
y
1.0ms
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
1.0ms
x
1.0ms
(-.f64 (*.f64 x x) y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
89.8%2(*.f64 x x)
79.7%2(-.f64 (*.f64 x x) y)
79.7%2(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
89.8%2x
64.6%3y
Compiler

Compiled 17 to 17 computations (0% saved)

regimes5.0ms (0.3%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

1.0ms
(-.f64 (*.f64 x x) y)
1.0ms
x
1.0ms
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
1.0ms
y
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
52.9%1y
52.9%1(-.f64 (*.f64 x x) y)
52.9%1(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
52.9%1(*.f64 x x)
52.9%1x
Compiler

Compiled 17 to 17 computations (0% saved)

bsearch10.0ms (0.5%)

Memory
7.4MiB live, 7.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
31177.62545276775
1434897.0645864827
Samples
4.0ms112×0valid
Compiler

Compiled 164 to 144 computations (12.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-mult: 1.0ms (49.1% of total)
ival-sub: 0.0ms (0% 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)

simplify39.0ms (1.9%)

Memory
-41.8MiB live, 13.0MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01744
12444
24244
36244
47444
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(if (<=.f64 x #s(literal 600000 binary64)) #s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y)) (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(if (<=.f64 x #s(literal 600000 binary64)) #s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y)) (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))

derivations149.0ms (7.4%)

Memory
-0.0MiB live, 87.9MiB allocated; 14ms collecting garbage
Stop Event
done
Compiler

Compiled 44 to 18 computations (59.1% saved)

preprocess24.0ms (1.2%)

Memory
13.9MiB live, 53.0MiB allocated; 13ms collecting garbage
Remove

(abs x)

Compiler

Compiled 130 to 72 computations (44.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...