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

Time bar (total: 2.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze36.0ms (1.4%)

Memory
-19.1MiB live, 33.1MiB allocated
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)

sample745.0ms (29.6%)

Memory
10.4MiB live, 486.8MiB allocated
Samples
464.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 174.0ms
ival-add: 107.0ms (61.3% of total)
ival-div: 58.0ms (33.2% of total)
ival-true: 6.0ms (3.4% of total)
ival-assert: 4.0ms (2.3% of total)
Bogosity

explain61.0ms (2.4%)

Memory
10.7MiB live, 55.3MiB allocated
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
21.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-add: 5.0ms (55.6% of total)
ival-div: 4.0ms (44.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess40.0ms (1.6%)

Memory
-36.5MiB live, 16.4MiB allocated
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.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
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
7.1MiB live, 7.1MiB allocated
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)

localize39.0ms (1.6%)

Memory
-9.6MiB live, 35.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y y)
accuracy0.0
(+.f64 x y)
accuracy0.015625
(/.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: 5.0ms
ival-div: 2.0ms (44.3% of total)
ival-add: 2.0ms (44.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.2%)

Memory
19.8MiB live, 19.8MiB allocated
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
1.0ms
y
@-inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.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
x
@inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
x
@0
((/ (+ x y) (+ y y)) (+ x y) (+ y y))

simplify176.0ms (7%)

Memory
-5.5MiB live, 138.0MiB allocated
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)

rewrite46.0ms (1.8%)

Memory
0.1MiB live, 45.4MiB allocated
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)

eval4.0ms (0.2%)

Memory
6.8MiB live, 6.8MiB allocated
Compiler

Compiled 661 to 140 computations (78.8% saved)

prune2.0ms (0.1%)

Memory
5.8MiB live, 5.8MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348
Accuracy
100.0%
Counts
48 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
48.5%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
53.1%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 36 to 25 computations (30.6% saved)

simplify46.0ms (1.8%)

Memory
-22.9MiB live, 23.6MiB allocated
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

localize29.0ms (1.1%)

Memory
40.1MiB live, 40.1MiB allocated
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.00390625
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
accuracy32.97927938387359
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
accuracy30.040327505187406
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Samples
21.0ms256×0valid
Compiler

Compiled 48 to 13 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-div: 5.0ms (39.9% of total)
ival-add: 4.0ms (31.9% of total)
ival-mult: 3.0ms (23.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series26.0ms (1%)

Memory
-32.7MiB live, 14.5MiB allocated
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
19.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))
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
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))
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))

simplify52.0ms (2.1%)

Memory
-5.6MiB live, 46.0MiB allocated
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)

rewrite67.0ms (2.7%)

Memory
13.4MiB live, 61.1MiB allocated
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
8.2MiB live, 8.2MiB allocated
Compiler

Compiled 787 to 139 computations (82.3% saved)

prune2.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42143
Fresh000
Picked123
Done000
Total43346
Accuracy
100.0%
Counts
46 → 3
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)))
48.5%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
53.1%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 36 to 25 computations (30.6% saved)

simplify26.0ms (1%)

Memory
-13.2MiB live, 34.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 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)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
01226
12526
24926
37626
411626
515326
620326
729026
839526
947726
1055226
1161126
1263126
1363326
063326
Stop Event
iter limit
saturated
iter 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)))
(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)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #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))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)

localize31.0ms (1.2%)

Memory
10.9MiB live, 57.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
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)))
Samples
24.0ms256×0valid
Compiler

Compiled 22 to 11 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 6.0ms (44% of total)
ival-div: 5.0ms (36.7% of total)
ival-mult: 2.0ms (14.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
7.3MiB live, 7.3MiB allocated
Counts
3 → 7
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)))
(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)))
(/ x y)
(* 1/2 (/ 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)
Calls

6 calls:

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

simplify91.0ms (3.6%)

Memory
-35.2MiB live, 19.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01937
16037
213537
331637
448637
572537
6150237
7219037
8256337
9256337
0256333
Stop Event
iter limit
saturated
Counts
7 → 7
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
(/ x y)
(* 1/2 (/ 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)
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))
(/ x y)
(/.f64 x y)
(* 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 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))

rewrite71.0ms (2.8%)

Memory
14.7MiB live, 60.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
01223
16423
044423
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 23
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)))
(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)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #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 #s(literal 1/2 binary64) (/.f64 x y)) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 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)))

eval3.0ms (0.1%)

Memory
5.6MiB live, 5.6MiB allocated
Compiler

Compiled 560 to 104 computations (81.4% saved)

prune2.0ms (0.1%)

Memory
4.7MiB live, 4.7MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New28028
Fresh000
Picked011
Done022
Total28331
Accuracy
100.0%
Counts
31 → 3
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)))
48.5%
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
53.1%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 93 to 43 computations (53.8% saved)

regimes6.0ms (0.3%)

Memory
12.2MiB live, 12.2MiB allocated
Counts
5 → 1
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)))
#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
y
2.0ms
x
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.3%)

Memory
-33.9MiB live, 13.6MiB allocated
Counts
3 → 1
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)))
#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:

3.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)

regimes4.0ms (0.2%)

Memory
10.0MiB live, 10.0MiB allocated
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 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:

1.0ms
y
1.0ms
x
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
97.9%3(/.f64 (+.f64 x y) (+.f64 y y))
75.0%3x
78.9%3y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes3.0ms (0.1%)

Memory
8.9MiB live, 8.9MiB allocated
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:

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

Compiled 9 to 9 computations (0% saved)

bsearch1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.5000000253558187
1.0068824935199574
0.0ms
-1.469952545950264
0.49999518483988725
Compiler

Compiled 10 to 10 computations (0% saved)

simplify74.0ms (3%)

Memory
-12.9MiB live, 34.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02480
13580
24480
35980
48780
514580
632980
7100280
8250480
9394880
10585780
11752580
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 -1 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)))))
#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 -1 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 -1 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)))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))

soundness758.0ms (30.1%)

Memory
4.8MiB live, 341.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 100 to 49 computations (51% saved)

preprocess51.0ms (2%)

Memory
18.5MiB live, 65.7MiB allocated
Compiler

Compiled 188 to 72 computations (61.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...