Details

Time bar (total: 2.9s)

sample29.0ms

Algorithm
intervals
Results
19.0ms449×body80valid

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

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

prune30.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
14.0ms
(+ (+ (* x x) (* y y)) (* y y))
58.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series102.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
36.0ms
(+ (+ (* x x) (* y y)) (* y y))
39.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify137.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
0237373
11141313
24748287
35001286

prune137.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y y (* y y))
0.0b
(fma x x (fma y y (* y y)))
0.1b
(+ (fma x x (fma y y (* y y))) (* y y))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u fma-def add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
3 → 37
Calls
3 calls:
0.0ms
(fma y y (* y y))
0.0ms
(fma x x (fma y y (* y y)))
2.0ms
(+ (fma x x (fma y y (* y y))) (* y y))

series160.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma y y (* y y))
47.0ms
(fma x x (fma y y (* y y)))
57.0ms
(+ (fma x x (fma y y (* y y))) (* y y))

simplify58.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0118229
1453199
21897195
35002191

prune123.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot y y)
0.1b
(hypot y y)
0.1b
(+ (fma x x (* (hypot y y) (hypot y y))) (* y y))
0.4b
(* (hypot y y) (hypot y y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-exp-log hypot-udef add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
fma-def swap-sqr associate-*r* associate-*l*
+-commutative pow2 associate-+l+ flip3-+ pow-plus sqrt-unprod pow-prod-down prod-exp sum-log rem-square-sqrt pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ fma-udef unswap-sqr
Counts
4 → 66
Calls
4 calls:
0.0ms
(hypot y y)
0.0ms
(hypot y y)
2.0ms
(+ (fma x x (* (hypot y y) (hypot y y))) (* y y))
3.0ms
(* (hypot y y) (hypot y y))

series406.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(hypot y y)
94.0ms
(hypot y y)
112.0ms
(+ (fma x x (* (hypot y y) (hypot y y))) (* y y))
109.0ms
(* (hypot y y) (hypot y y))

simplify116.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0182352
1741294
23226273
35001268

prune176.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

sample839.0ms

Algorithm
intervals
Results
621.0ms14356×body80valid