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)

sample890.0ms (45.2%)

Memory
54.0MiB live, 735.0MiB allocated; 934ms collecting garbage
Samples
653.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-mult: 160.0ms (75.3% of total)
ival-sub: 38.0ms (17.9% of total)
ival-true: 5.0ms (2.4% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain68.0ms (3.5%)

Memory
16.6MiB live, 75.3MiB allocated; 16ms 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
22.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (69.8% of total)
ival-sub: 2.0ms (19.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)

preprocess70.0ms (3.5%)

Memory
-37.1MiB live, 9.8MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01637
14137
27437
310137
412537
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.3MiB live, 0.3MiB 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)

simplify5.0ms (0.2%)

Memory
1.6MiB live, 1.6MiB 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
14.7MiB live, 14.7MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
accuracy0.01171875
(-.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 (61% of total)
ival-sub: 1.0ms (20.3% 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.2%)

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

6 calls:

TimeVariablePointExpression
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))
0.0ms
y
@-inf
((* 1/2 (- (* x x) y)) (- (* x x) y) (* x x))

simplify253.0ms (12.9%)

Memory
-4.1MiB live, 196.8MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03574
110966
238566
3171466
4671166
0931166
Stop Event
iter limit
node limit
Counts
13 → 13
Calls
Call 1
Inputs
(* -1/2 y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* -1 y)
(- (pow x 2) y)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(+ (* -1 y) (pow x 2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (/ (pow x 2) y) 1))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
Outputs
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))

rewrite33.0ms (1.7%)

Memory
-17.2MiB live, 28.3MiB allocated; 4ms 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)))

eval3.0ms (0.2%)

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

Compiled 405 to 117 computations (71.1% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334
Accuracy
100.0%
Counts
34 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
55.5%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
46.1%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 37 to 28 computations (24.3% saved)

simplify7.0ms (0.4%)

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

Found 9 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
(fma.f64 x x (neg.f64 y))
cost-diff0
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
cost-diff0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
cost-diff0
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
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
01673
02273
13373
26373
311573
415373
517373
618473
719773
821273
922373
022373
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
#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) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
(fma.f64 x x (neg.f64 y))
x
(neg.f64 y)
y
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
#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) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
(*.f64 #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
(fma.f64 x x (neg.f64 y))
x
(neg.f64 y)
y

localize27.0ms (1.4%)

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

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 x x (neg.f64 y))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
accuracy0.0
(neg.f64 y)
accuracy0.0
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
accuracy0.0
(*.f64 x x)
accuracy0.0078125
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
accuracy28.454368175223856
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
accuracy0.0
(*.f64 #s(literal -1/2 binary64) y)
accuracy34.515091075992
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Samples
19.0ms256×0valid
Compiler

Compiled 54 to 13 computations (75.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 6.0ms (60.4% of total)
ival-sub: 1.0ms (10.1% of total)
ival-add: 1.0ms (10.1% of total)
ival-neg: 1.0ms (10.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)

series4.0ms (0.2%)

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

6 calls:

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

simplify233.0ms (11.8%)

Memory
-3.3MiB live, 226.5MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03574
110966
238666
3171866
4671666
0931466
Stop Event
iter limit
node limit
Counts
13 → 13
Calls
Call 1
Inputs
(* -1/2 y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* 1/2 (pow x 2))
(pow x 2)
(* -1 y)
(- (pow x 2) y)
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(+ (* -1 y) (pow x 2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (/ (pow x 2) y) 1))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
Outputs
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* -1 y)
(neg.f64 y)
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))

rewrite36.0ms (1.9%)

Memory
-24.9MiB live, 37.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01666
02266
15866
033866
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
9 → 51
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(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)
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
#s(approx (- (* x x) y) (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)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 y #s(literal -1/2 binary64))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.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))
(*.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)))
(*.f64 #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
#s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 (neg.f64 y) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) (neg.f64 y))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) (neg.f64 y)))
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (neg.f64 y) (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 y))
(fma.f64 x x (neg.f64 y))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) (neg.f64 y))) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) (neg.f64 y))))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) x))
(-.f64 (neg.f64 y) (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (neg.f64 y) (*.f64 x x))
(+.f64 (*.f64 x x) (neg.f64 y))
(neg.f64 y)

eval5.0ms (0.3%)

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

Compiled 914 to 186 computations (79.6% saved)

prune4.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh000
Picked033
Done000
Total55358
Accuracy
100.0%
Counts
58 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
55.5%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
46.1%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 81 to 47 computations (42% saved)

regimes41.0ms (2.1%)

Memory
-21.9MiB live, 23.8MiB allocated; 5ms 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) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Outputs
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
Calls

5 calls:

33.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
2.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
24.6MiB live, 24.6MiB 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
88.0%2(*.f64 x x)
78.9%2(-.f64 (*.f64 x x) y)
78.9%2(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
88.0%2x
71.4%3y
Compiler

Compiled 17 to 17 computations (0% saved)

regimes7.0ms (0.3%)

Memory
-34.2MiB live, 12.9MiB allocated; 2ms 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:

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

Compiled 17 to 17 computations (0% saved)

bsearch10.0ms (0.5%)

Memory
16.0MiB live, 16.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
2.7359112314424492e-48
1.488326518006097e-46
Samples
4.0ms112×0valid
Compiler

Compiled 178 to 158 computations (11.2% saved)

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

simplify9.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01952
12952
24352
36252
47452
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
(if (<=.f64 x #s(literal 4422293497800741/51422017416287688817342786954917203280710495801049370729644032 binary64)) #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))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
Outputs
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (fma.f64 x x (neg.f64 y))))
(if (<=.f64 x #s(literal 4422293497800741/51422017416287688817342786954917203280710495801049370729644032 binary64)) #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))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))

derivations217.0ms (11%)

Memory
-24.0MiB live, 113.3MiB allocated; 26ms collecting garbage
Stop Event
done
Compiler

Compiled 52 to 20 computations (61.5% saved)

preprocess16.0ms (0.8%)

Memory
40.7MiB live, 40.7MiB allocated; 0ms collecting garbage
Remove

(abs x)

Compiler

Compiled 144 to 70 computations (51.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...