Details

Time bar (total: 2.1s)

sample18.0ms

Algorithm
intervals
Results
9.0ms343×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1233
2303
3313
4313

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.6b

localize4.0ms

Local error

Found 1 expressions with local error:

4.3b
(* x (+ 1.0 (* y y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
15.0ms
(* x (+ 1.0 (* y y)))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(* x (+ 1.0 (* y y)))

simplify84.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0148123
1742103
23453100
35001100

prune78.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 4.4b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (sqrt (+ 1.0 (* y y))))
0.1b
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
4.3b
(sqrt (+ 1.0 (* y y)))
4.3b
(sqrt (+ 1.0 (* y y)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×sqrt-div
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative hypot-def unswap-sqr
Counts
4 → 93
Calls
4 calls:
19.0ms
(* x (sqrt (+ 1.0 (* y y))))
40.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
7.0ms
(sqrt (+ 1.0 (* y y)))
5.0ms
(sqrt (+ 1.0 (* y y)))

series181.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* x (sqrt (+ 1.0 (* y y))))
47.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
40.0ms
(sqrt (+ 1.0 (* y y)))
37.0ms
(sqrt (+ 1.0 (* y y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0318722
11367620
25002595

prune386.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 4.4b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (* y y)))
7.7b
(* x (* y y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (* y y)))
18.0ms
(* x (* y y))

series82.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(+ (* x 1.0) (* x (* y y)))
26.0ms
(* x (* y y))

simplify84.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0177177
1681146
22809143
35001142

prune105.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x y) y))
0.2b
(* (* x y) y)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 34
Calls
2 calls:
8.0ms
(+ (* x 1.0) (* (* x y) y))
17.0ms
(* (* x y) y)

series82.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(+ (* x 1.0) (* (* x y) y))
28.0ms
(* (* x y) y)

simplify130.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0184173
1862149
24478140
35001139

prune85.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes75.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
0114
1114

end0.0ms

sample400.0ms

Algorithm
intervals
Results
224.0ms10713×body80valid