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

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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)

sample954.0ms (64.1%)

Memory
27.0MiB live, 1 262.2MiB allocated; 315ms collecting garbage
Samples
628.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 212.0ms
ival-sub!: 125.0ms (58.9% of total)
ival-mult!: 86.0ms (40.5% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess118.0ms (7.9%)

Memory
-17.3MiB live, 78.8MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01842
15842
219542
345442
497742
5347142
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Symmetry

(abs x)

Compiler

Compiled 12 to 12 computations (0% saved)

series5.0ms (0.3%)

Memory
15.3MiB live, 15.3MiB allocated; 0ms collecting garbage
Counts
6 → 15
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
#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 x #s(hole binary64 x))
#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) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx y #s(hole binary64 y))
#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
x
@inf
((* 1/2 (- (* x x) y)) 1/2 (- (* x x) y) (* x x) x y)
1.0ms
x
@0
((* 1/2 (- (* x x) y)) 1/2 (- (* x x) y) (* x x) x y)
1.0ms
x
@-inf
((* 1/2 (- (* x x) y)) 1/2 (- (* x x) y) (* x x) x y)
1.0ms
y
@0
((* 1/2 (- (* x x) y)) 1/2 (- (* x x) y) (* x x) x y)
1.0ms
y
@-inf
((* 1/2 (- (* x x) y)) 1/2 (- (* x x) y) (* x x) x y)

rewrite121.0ms (8.1%)

Memory
32.7MiB live, 166.8MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056219
059209
1285206
02544201
18129201
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
21 → 107
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
#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 x #s(hole binary64 x))
#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) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx (- (* x x) y) #s(hole binary64 (+ (* -1 y) (pow x 2))))
#s(approx y #s(hole binary64 y))
#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
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(neg.f64 (*.f64 (-.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 (*.f64 x x) y)))
(neg.f64 (*.f64 (-.f64 (*.f64 x x) y) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y (*.f64 x x))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 (neg.f64 y) #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 x (*.f64 x #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 x (*.f64 x #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(fma.f64 #s(literal 1/2 binary64) (neg.f64 y) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(+.f64 (*.f64 (neg.f64 y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (neg.f64 y)))
#s(literal 1/2 binary64)
(neg.f64 (-.f64 (*.f64 (neg.f64 x) x) (neg.f64 y)))
(neg.f64 (-.f64 y (*.f64 x x)))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (neg.f64 y))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (neg.f64 y))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 y))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (neg.f64 y))
(fma.f64 #s(literal -1 binary64) y (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (neg.f64 y))
(fma.f64 y #s(literal -1 binary64) (*.f64 x x))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 x x (neg.f64 y))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) #s(literal -1 binary64)))
(-.f64 (*.f64 x x) y)
(+.f64 (neg.f64 y) (*.f64 x x))
(+.f64 (*.f64 x x) (neg.f64 y))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.f64 x x)
(pow.f64 (fabs.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 (*.f64 x x) x) x))
(fabs.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
x
y
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) (-.f64 y (*.f64 x x))))
#s(approx (- (* x x) y) (neg.f64 y))
#s(approx (- (* x x) y) (-.f64 (*.f64 x x) y))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#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) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y (*.f64 x x))) x) x))
#s(approx (- (* x x) y) (-.f64 (*.f64 x x) y))
#s(approx y 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) (*.f64 (fma.f64 x (/.f64 x y) #s(literal -1 binary64)) 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) (*.f64 (fma.f64 x (/.f64 x y) #s(literal -1 binary64)) y))

eval20.0ms (1.4%)

Memory
-5.9MiB live, 34.0MiB allocated; 12ms collecting garbage
Compiler

Compiled 522 to 260 computations (50.2% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95398
Fresh000
Picked011
Done000
Total95499
Accuracy
100.0%
Counts
99 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (fma.f64 x x (neg.f64 y)))
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
44.3%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
57.0%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 31 to 31 computations (0% saved)

series14.0ms (1%)

Memory
-22.1MiB live, 22.1MiB allocated; 11ms collecting garbage
Counts
12 → 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)
#s(literal -1/2 binary64)
y
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) (fma.f64 x x (neg.f64 y)))
(fma.f64 x x (neg.f64 y))
(neg.f64 y)
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) 1/2) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* x x) (neg y)) #s(hole binary64 (* -1 y)))
#s(approx (+ (* x x) (neg y)) #s(hole binary64 (- (pow x 2) y)))
#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) (neg y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* x x) (neg 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) (neg 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) (neg y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
Calls

6 calls:

TimeVariablePointExpression
9.0ms
x
@-inf
((* 1/2 (- (* x x) y)) (* -1/2 y) -1/2 y (* 1/2 (- (* x x) y)) (* (* x x) 1/2) (* x x) x 1/2 (* 1/2 (+ (* x x) (neg y))) (+ (* x x) (neg y)) (neg y))
1.0ms
y
@inf
((* 1/2 (- (* x x) y)) (* -1/2 y) -1/2 y (* 1/2 (- (* x x) y)) (* (* x x) 1/2) (* x x) x 1/2 (* 1/2 (+ (* x x) (neg y))) (+ (* x x) (neg y)) (neg y))
1.0ms
x
@inf
((* 1/2 (- (* x x) y)) (* -1/2 y) -1/2 y (* 1/2 (- (* x x) y)) (* (* x x) 1/2) (* x x) x 1/2 (* 1/2 (+ (* x x) (neg y))) (+ (* x x) (neg y)) (neg y))
1.0ms
y
@0
((* 1/2 (- (* x x) y)) (* -1/2 y) -1/2 y (* 1/2 (- (* x x) y)) (* (* x x) 1/2) (* x x) x 1/2 (* 1/2 (+ (* x x) (neg y))) (+ (* x x) (neg y)) (neg y))
1.0ms
y
@-inf
((* 1/2 (- (* x x) y)) (* -1/2 y) -1/2 y (* 1/2 (- (* x x) y)) (* (* x x) 1/2) (* x x) x 1/2 (* 1/2 (+ (* x x) (neg y))) (+ (* x x) (neg y)) (neg y))

rewrite138.0ms (9.3%)

Memory
-33.2MiB live, 139.1MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064252
071242
1324239
02713234
18549234
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
27 → 130
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
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) (fma.f64 x x (neg.f64 y)))
(fma.f64 x x (neg.f64 y))
(neg.f64 y)
#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) 1/2) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* x x) (neg y)) #s(hole binary64 (* -1 y)))
#s(approx (+ (* x x) (neg y)) #s(hole binary64 (- (pow x 2) y)))
#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) (neg y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* x x) (neg 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) (neg 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) (neg y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))))
Outputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 (neg.f64 y) #s(literal 1/2 binary64))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 y #s(literal -1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (neg.f64 y))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 y)))
(neg.f64 (*.f64 (neg.f64 y) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 y #s(literal 1/2 binary64)))
#s(literal -1/2 binary64)
y
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x (*.f64 x #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(neg.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.f64 x x)
(pow.f64 (fabs.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 (*.f64 x x) x) x))
(fabs.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
x
#s(literal 1/2 binary64)
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(*.f64 #s(literal -1/2 binary64) (-.f64 y (*.f64 x x)))
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(neg.f64 (*.f64 (-.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 (*.f64 x x) y)))
(neg.f64 (*.f64 (-.f64 (*.f64 x x) y) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y (*.f64 x x))))
(neg.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal -1 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 #s(literal -1 binary64) (*.f64 y #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (neg.f64 y) #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 y #s(literal -1/2 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 x (*.f64 x #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 #s(literal 1/2 binary64) (neg.f64 y) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) (neg.f64 y)))
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal -1/2 binary64)))
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(+.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(neg.f64 (-.f64 (*.f64 (neg.f64 x) x) (neg.f64 y)))
(neg.f64 (-.f64 y (*.f64 x x)))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (neg.f64 y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (neg.f64 y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (neg.f64 y))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 y))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (neg.f64 y))
(fma.f64 #s(literal -1 binary64) y (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (neg.f64 y))
(fma.f64 y #s(literal -1 binary64) (*.f64 x x))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 x x (neg.f64 y))
(-.f64 (*.f64 x x) y)
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) x))
(+.f64 (*.f64 x x) (neg.f64 y))
(+.f64 (neg.f64 y) (*.f64 x x))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
#s(approx (* (* x x) 1/2) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (+ (* x x) (neg y)) (neg.f64 y))
#s(approx (+ (* x x) (neg y)) (-.f64 (*.f64 x x) y))
#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) (neg y)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y (*.f64 x x))) x) x))
#s(approx y y)
#s(approx (+ (* x x) (neg y)) (-.f64 (*.f64 x x) 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) (neg y)) (*.f64 (fma.f64 x (/.f64 x y) #s(literal -1 binary64)) 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) (neg y)) (*.f64 (fma.f64 x (/.f64 x y) #s(literal -1 binary64)) y))

eval10.0ms (0.7%)

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

Compiled 571 to 302 computations (47.1% saved)

prune6.0ms (0.4%)

Memory
-32.1MiB live, 15.1MiB allocated; 2ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1150115
Fresh000
Picked033
Done011
Total1154119
Accuracy
100.0%
Counts
119 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (fma.f64 x x (neg.f64 y)))
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
44.3%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
57.0%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 53 to 49 computations (7.5% saved)

regimes9.0ms (0.6%)

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

5 calls:

2.0ms
(-.f64 (*.f64 x x) y)
2.0ms
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 14 to 17 computations (-21.4% saved)

regimes9.0ms (0.6%)

Memory
-20.5MiB live, 26.6MiB allocated; 1ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.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:

3.0ms
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
2.0ms
y
2.0ms
(-.f64 (*.f64 x x) y)
1.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 14 to 17 computations (-21.4% saved)

regimes6.0ms (0.4%)

Memory
18.7MiB live, 18.7MiB 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))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Outputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Calls

5 calls:

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

Compiled 14 to 17 computations (-21.4% saved)

regimes9.0ms (0.6%)

Memory
-33.1MiB live, 15.9MiB allocated; 5ms 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:

4.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
57.0%1y
57.0%1(-.f64 (*.f64 x x) y)
57.0%1(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
57.0%1(*.f64 x x)
57.0%1x
Compiler

Compiled 14 to 17 computations (-21.4% saved)

bsearch4.0ms (0.2%)

Memory
6.4MiB live, 6.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
3.0ms
3.638302710551174e+21
3.9188013615116174e+21
Samples
1.0ms16×0valid
Compiler

Compiled 29 to 32 computations (-10.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-mult!: 0.0ms (0% of total)

derivations35.0ms (2.3%)

Memory
-4.6MiB live, 42.5MiB allocated; 3ms collecting garbage
Stop Event
done
Compiler

Compiled 25 to 21 computations (16% saved)

preprocess27.0ms (1.8%)

Memory
19.9MiB live, 66.2MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 111 to 101 computations (9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...