Details

Time bar (total: 3.5s)

sample30.0ms

Algorithm
intervals
Results
20.0ms463×body80valid

simplify281.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0146
1294
2504
3703
4823
51253
62293
73213
83363
94363
107903
1134923
1250013

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.2b
(fma 3 (* y y) (* x x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 3 (* y y) (* x x))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(fma 3 (* y y) (* x x))

simplify53.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune28.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma 3 (* y y) (* x x))
0.2b
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
8.5b
(sqrt (fma 3 (* y y) (* x x)))
8.5b
(sqrt (fma 3 (* y y) (* x x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma 3 (* y y) (* x x))
9.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(fma 3 (* y y) (* x x))
32.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
55.0ms
(sqrt (fma 3 (* y y) (* x x)))
53.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify128.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0127542
1462484
22877464
35002449

prune196.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
8.5b
(sqrt (fma 3 (* y y) (* x x)))
8.5b
(sqrt (fma 3 (* y y) (* x x)))
8.5b
(sqrt (fma 3 (* y y) (* x x)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
75×sqrt-prod
52×add-sqr-sqrt
35×sqrt-pow1
30×pow1
19×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 122
Calls
4 calls:
12.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
59.0ms
(sqrt (fma 3 (* y y) (* x x)))
54.0ms
(sqrt (fma 3 (* y y) (* x x)))
60.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify163.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0141798
1530731
23156710
35001683

prune269.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

8.5b
(sqrt (fma 3 (* y y) (* x x)))
9.0b
(cbrt (fma 3 (* y y) (* x x)))
9.0b
(cbrt (fma 3 (* y y) (* x x)))
9.0b
(cbrt (fma 3 (* y y) (* x x)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 sqrt-prod
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
0.0ms
(cbrt (fma 3 (* y y) (* x x)))
0.0ms
(cbrt (fma 3 (* y y) (* x x)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))

series458.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(sqrt (fma 3 (* y y) (* x x)))
131.0ms
(cbrt (fma 3 (* y y) (* x x)))
136.0ms
(cbrt (fma 3 (* y y) (* x x)))
132.0ms
(cbrt (fma 3 (* y y) (* x x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0105418
1278384
21034378
35001362

prune309.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes165.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063

end0.0ms

sample861.0ms

Algorithm
intervals
Results
641.0ms14325×body80valid