Details

Time bar (total: 3.5s)

sample22.0ms

Algorithm
intervals
Results
9.0ms443×body80valid

simplify286.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.1b
(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))

series35.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune33.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 3 (* y y) (* x x))
0.3b
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
6.3b
(sqrt (fma 3 (* y y) (* x x)))
6.3b
(sqrt (fma 3 (* y y) (* x x)))

rewrite19.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))
13.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))

series196.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma 3 (* y y) (* x x))
36.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
62.0ms
(sqrt (fma 3 (* y y) (* x x)))
62.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify138.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0127542
1462484
22877464
35002449

prune201.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (fabs (cbrt (fma 3 (* y y) (* x x)))) (sqrt (fma 3 (* y y) (* x x)))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
6.3b
(sqrt (fma 3 (* y y) (* x x)))
6.8b
(cbrt (fma 3 (* y y) (* x x)))
6.8b
(cbrt (fma 3 (* y y) (* x x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod associate-*r* sqrt-prod add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp cbrt-unprod
pow1/3
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* *-commutative
Counts
4 → 67
Calls
4 calls:
29.0ms
(* (* (fabs (cbrt (fma 3 (* y y) (* x x)))) (sqrt (fma 3 (* y y) (* x x)))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))

series487.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(* (* (fabs (cbrt (fma 3 (* y y) (* x x)))) (sqrt (fma 3 (* y y) (* x x)))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
55.0ms
(sqrt (fma 3 (* y y) (* x x)))
133.0ms
(cbrt (fma 3 (* y y) (* x x)))
130.0ms
(cbrt (fma 3 (* y y) (* x x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0277843
11186759
25001747

prune287.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
6.3b
(sqrt (fma 3 (* y y) (* x x)))
6.8b
(cbrt (fma 3 (* y y) (* x x)))
6.8b
(cbrt (fma 3 (* y y) (* x x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×sqrt-prod
12×add-cube-cbrt *-un-lft-identity
11×cbrt-prod
10×pow1
associate-*r*
add-exp-log sqrt-pow1 associate-*l* add-cbrt-cube unswap-sqr
expm1-log1p-u pow1/2 pow1/3 log1p-expm1-u add-log-exp
pow-prod-down
pow-prod-up
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 80
Calls
4 calls:
16.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
56.0ms
(sqrt (fma 3 (* y y) (* x x)))
142.0ms
(cbrt (fma 3 (* y y) (* x x)))
133.0ms
(cbrt (fma 3 (* y y) (* x x)))

simplify96.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0220806
1750767
23176760
35001731

prune280.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes132.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

sample621.0ms

Algorithm
intervals
Results
312.0ms14173×body80valid