Data.Random.Distribution.T:$ccdf from random-fu-0.2.6.2

Time bar (total: 2.3s)

start0.0ms (0%)

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

analyze81.0ms (3.5%)

Memory
-22.7MiB live, 21.6MiB allocated; 18ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample791.0ms (33.9%)

Memory
38.4MiB live, 1 404.9MiB allocated; 235ms collecting garbage
Samples
525.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 262.0ms
ival-add: 170.0ms (64.9% of total)
ival-div: 81.0ms (30.9% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

explain79.0ms (3.4%)

Memory
-19.7MiB live, 148.1MiB allocated; 15ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 y y)
00-0-(/.f64 (+.f64 x y) (+.f64 y y))
00-0-y
00-0-(+.f64 x y)
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
50.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-add: 28.0ms (85.9% of total)
ival-div: 4.0ms (12.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess19.0ms (0.8%)

Memory
3.0MiB live, 49.2MiB allocated; 3ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01541
13939
210839
324635
439635
545635
646935
057
087
1147
2247
3367
4427
0427
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64))
Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.6MiB live, 1.6MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify4.0ms (0.2%)

Memory
11.2MiB live, 11.2MiB allocated; 0ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(+.f64 x y)
cost-diff0
(/.f64 (+.f64 x y) (+.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11415
22415
33615
44215
04215
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
x
y
(+.f64 y y)
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64))
(+.f64 x y)
(+.f64 y x)
x
y
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)

localize16.0ms (0.7%)

Memory
-3.5MiB live, 43.4MiB allocated; 1ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y y)
accuracy0.0
(+.f64 x y)
accuracy0.01171875
(/.f64 (+.f64 x y) (+.f64 y y))
Samples
10.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (45.3% of total)
ival-add: 2.0ms (45.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.3%)

Memory
-39.7MiB live, 12.0MiB allocated; 4ms collecting garbage
Counts
3 → 13
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
(+.f64 y y)
Outputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
y
(+ x y)
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(* 2 y)
(* y (+ 1 (/ x y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
y
@-inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
y
@0
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
y
@inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
x
@inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
x
@-inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))

simplify145.0ms (6.2%)

Memory
41.3MiB live, 178.8MiB allocated; 10ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03447
110547
222847
364847
4204947
5449847
6740947
0820044
Stop Event
iter limit
node limit
Counts
13 → 11
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
y
(+ x y)
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(* 2 y)
(* y (+ 1 (/ x y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
y
(+ x y)
(+.f64 y x)
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)

rewrite83.0ms (3.6%)

Memory
2.7MiB live, 97.5MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13613
026713
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 42
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
(+.f64 y y)
Outputs
(*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) y)
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) (-.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)) (-.f64 (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))))))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (*.f64 #s(literal -2 binary64) y))
(/.f64 (fma.f64 x (*.f64 #s(literal -2 binary64) y) (*.f64 (*.f64 #s(literal -2 binary64) y) y)) (*.f64 (*.f64 #s(literal -2 binary64) y) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y))
(neg.f64 (*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64)))
(fma.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 y #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
(*.f64 #s(literal -2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(neg.f64 (*.f64 #s(literal -2 binary64) y))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 (neg.f64 y) (neg.f64 y))
(+.f64 y y)

eval10.0ms (0.4%)

Memory
-24.9MiB live, 19.1MiB allocated; 6ms collecting garbage
Compiler

Compiled 661 to 140 computations (78.8% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448
Accuracy
100.0%
Counts
48 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
99.8%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
49.4%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
52.8%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 43 to 30 computations (30.2% saved)

simplify20.0ms (0.9%)

Memory
-0.5MiB live, 41.6MiB allocated; 7ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 7 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01360
01860
13160
24860
38260
412360
515860
619960
728860
838960
947160
1054660
1160560
1262560
1362760
062760
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x

localize47.0ms (2%)

Memory
-10.4MiB live, 50.7MiB allocated; 8ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy0.0
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
accuracy0.1015625
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
accuracy0.0
(/.f64 x y)
accuracy0.0
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
accuracy32.360267816714014
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
accuracy30.19336638298339
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Samples
40.0ms256×0valid
Compiler

Compiled 48 to 13 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-div: 24.0ms (76.6% of total)
ival-add: 4.0ms (12.8% of total)
ival-mult: 3.0ms (9.6% 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.3%)

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

6 calls:

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

simplify38.0ms (1.6%)

Memory
24.8MiB live, 24.8MiB allocated; 0ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02040
16040
213540
331640
448640
572540
6149640
7218940
8255940
9255940
0255936
Stop Event
iter limit
saturated
Counts
8 → 8
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
(* 1/2 (/ x y))
(/ x y)
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(/ 1/2 y)
Outputs
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/ x y)
(/.f64 x y)
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)

rewrite71.0ms (3%)

Memory
-16.3MiB live, 69.9MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01353
01853
17353
044853
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
7 → 38
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 x (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (neg.f64 y))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(neg.f64 (/.f64 x (neg.f64 y)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))))
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))

eval4.0ms (0.2%)

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

Compiled 787 to 139 computations (82.3% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41243
Fresh000
Picked123
Done101
Total43447
Accuracy
100.0%
Counts
47 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
49.4%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
49.3%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
52.8%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 49 to 34 computations (30.6% saved)

simplify28.0ms (1.2%)

Memory
-49.1MiB live, 55.0MiB allocated; 19ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01250
01750
13350
25450
38350
412550
516250
620250
728950
839350
947550
1054950
1160850
1262850
1363050
063050
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)

localize30.0ms (1.3%)

Memory
28.5MiB live, 73.0MiB allocated; 3ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 x y)
accuracy0.0
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
accuracy0.00390625
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy0.19921875
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
accuracy32.360267816714014
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
Samples
21.0ms256×0valid
Compiler

Compiled 40 to 13 computations (67.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-div: 5.0ms (40.9% of total)
ival-add: 4.0ms (32.7% of total)
ival-mult: 3.0ms (24.5% 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)

series5.0ms (0.2%)

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

6 calls:

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

simplify35.0ms (1.5%)

Memory
-27.5MiB live, 18.1MiB allocated; 4ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02040
16040
213540
331640
448640
572540
6149640
7218940
8255940
9255940
0255936
Stop Event
iter limit
saturated
Counts
8 → 8
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
(* 1/2 (/ x y))
(/ x y)
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(/ 1/2 y)
Outputs
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/ x y)
(/.f64 x y)
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)

rewrite46.0ms (2%)

Memory
17.8MiB live, 62.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01244
01744
17544
046044
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
6 → 39
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/.f64 x y)
Outputs
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 x (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (neg.f64 y))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(+.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(neg.f64 (/.f64 x (neg.f64 y)))

eval5.0ms (0.2%)

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

Compiled 790 to 146 computations (81.5% saved)

prune13.0ms (0.6%)

Memory
-23.6MiB live, 29.0MiB allocated; 9ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New44044
Fresh000
Picked022
Done022
Total44448
Accuracy
100.0%
Counts
48 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
49.4%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
49.3%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
52.8%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 119 to 54 computations (54.6% saved)

regimes7.0ms (0.3%)

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

3 calls:

2.0ms
x
2.0ms
y
2.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (+.f64 x y) (+.f64 y y))
100.0%1x
100.0%1y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes8.0ms (0.4%)

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

3 calls:

5.0ms
y
2.0ms
x
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
99.8%1(/.f64 (+.f64 x y) (+.f64 y y))
99.8%1x
99.8%1y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.2%)

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

3 calls:

2.0ms
y
1.0ms
x
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
98.7%3(/.f64 (+.f64 x y) (+.f64 y y))
77.7%3x
74.4%3y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes1.0ms (0.1%)

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

1 calls:

1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
98.5%3(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 7 to 5 computations (28.6% saved)

regimes25.0ms (1.1%)

Memory
-40.2MiB live, 7.1MiB allocated; 2ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Calls

3 calls:

22.0ms
y
1.0ms
x
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
52.8%1y
52.8%1x
52.8%1(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.5000014314376529
457.7401092533348
0.0ms
-76.02961079085563
0.49999999999896727
Compiler

Compiled 10 to 10 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.5000014314376529
457.7401092533348
0.0ms
-76.02961079085563
0.49999999999896727
Compiler

Compiled 10 to 10 computations (0% saved)

simplify78.0ms (3.3%)

Memory
12.4MiB live, 58.6MiB allocated; 4ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028123
140123
249123
364123
492123
5150123
6335123
71006123
82503123
93951123
105868123
117525123
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Outputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))))
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))))
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -50 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))

derivations582.0ms (25%)

Memory
-16.8MiB live, 228.4MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01353
01853
17353
044853
03447
110547
222847
364847
4204947
5449847
6740947
0820044
02040
16040
213540
331640
448640
572540
6149640
7218940
8255940
9255940
0255936
Stop Event
done
iter limit
saturated
iter limit
node limit
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 123 to 28 computations (77.2% saved)

preprocess32.0ms (1.4%)

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

Compiled 274 to 78 computations (71.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...