Details

Time bar (total: 3.2s)

sample20.0ms

Algorithm
intervals
Results
9.0ms443×body80valid

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

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

simplify54.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

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

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

series183.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(fma 3 (* y y) (* x x))
37.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
54.0ms
(sqrt (fma 3 (* y y) (* x x)))
58.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify127.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0127542
1462484
22877464
35002449

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

rewrite30.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:
25.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)))

series489.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(* (* (fabs (cbrt (fma 3 (* y y) (* x x)))) (sqrt (fma 3 (* y y) (* x x)))) (sqrt (cbrt (fma 3 (* y y) (* x x)))))
59.0ms
(sqrt (fma 3 (* y y) (* x x)))
131.0ms
(cbrt (fma 3 (* y y) (* x x)))
134.0ms
(cbrt (fma 3 (* y y) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0277842
11186759
25001747

prune266.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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)))
6.8b
(cbrt (fma 3 (* y y) (* x x)))

rewrite5.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:
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)))
1.0ms
(cbrt (fma 3 (* y y) (* x x)))

series452.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(sqrt (fma 3 (* y y) (* x x)))
133.0ms
(cbrt (fma 3 (* y y) (* x x)))
129.0ms
(cbrt (fma 3 (* y y) (* x x)))
137.0ms
(cbrt (fma 3 (* y y) (* x x)))

simplify39.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0105417
1278384
21034378
35001362

prune218.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

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

sample605.0ms

Algorithm
intervals
Results
313.0ms14173×body80valid