Details

Time bar (total: 4.0s)

sample58.0ms

Algorithm
intervals
Results
18.0ms41×body1280valid
10.0ms41×body640valid
7.0ms162×body80valid
5.0ms33×body320valid
3.0ms109×body80nan
2.0ms15×body160valid

simplify113.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (9.0ms)

IterNodesCost
0156
1246
2516
31086
43104
57924
641924
750024

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ x (+ x y))
6.1b
(pow (/ x (+ x y)) x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
24×times-frac
20×add-sqr-sqrt add-cube-cbrt
18×unpow-prod-down
add-exp-log distribute-lft-out
associate-/r* associate-/r/ add-cbrt-cube
pow1 pow-unpow associate-/l*
expm1-log1p-u flip3-+ div-exp pow-exp flip-+ log1p-expm1-u div-inv add-log-exp
cbrt-undiv pow-to-exp pow-pow frac-2neg clear-num sqr-pow
Counts
2 → 70
Calls
2 calls:
11.0ms
(/ x (+ x y))
14.0ms
(pow (/ x (+ x y)) x)

series269.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(/ x (+ x y))
226.0ms
(pow (/ x (+ x y)) x)

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0320413
11304399
25002398

prune163.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (exp (* -1 y)) x)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
associate-/r* add-cbrt-cube associate-/l*
add-exp-log
pow1 cbrt-undiv exp-neg expm1-log1p-u frac-2neg mul-1-neg div-exp clear-num log1p-expm1-u div-inv associate-/l/ add-log-exp
Counts
1 → 30
Calls
1 calls:
10.0ms
(/ (exp (* -1 y)) x)

series21.0ms

Counts
1 → 3
Calls
1 calls:
21.0ms
(/ (exp (* -1 y)) x)

simplify50.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune75.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (* x (exp y)))
0.0b
(* x (exp y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log
add-cbrt-cube
add-sqr-sqrt
pow1
add-cube-cbrt *-un-lft-identity
div-exp prod-exp
times-frac associate-*r* associate-*l* associate-/l*
cbrt-undiv expm1-log1p-u rec-exp pow-flip 1-exp pow-prod-down cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r* *-commutative div-inv inv-pow unswap-sqr
Counts
2 → 50
Calls
2 calls:
18.0ms
(/ 1 (* x (exp y)))
12.0ms
(* x (exp y))

series48.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ 1 (* x (exp y)))
23.0ms
(* x (exp y))

simplify97.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune89.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt (+ x y))
0.6b
(cbrt (+ x y))
1.0b
(pow (/ x (cbrt (+ x y))) x)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
27×unpow-prod-down
24×cbrt-prod
22×add-sqr-sqrt add-cube-cbrt
21×times-frac
cbrt-div
add-exp-log
distribute-lft-out
pow1
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
pow-unpow pow1/3
pow-exp associate-/r/
pow-to-exp pow-pow div-exp div-inv sqr-pow
Counts
4 → 92
Calls
4 calls:
4.0ms
(cbrt (+ x y))
4.0ms
(cbrt (+ x y))
4.0ms
(cbrt (+ x y))
16.0ms
(pow (/ x (cbrt (+ x y))) x)

series500.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(cbrt (+ x y))
133.0ms
(cbrt (+ x y))
129.0ms
(cbrt (+ x y))
107.0ms
(pow (/ x (cbrt (+ x y))) x)

simplify51.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0513774
12015743
25001713

prune352.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes54.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 12.7b

bsearch76.0ms

Steps
ItersRangePoint
11
8.75520329375536e-16
53435221.69579046
7.905402982476204
5
-0.007402571928667657
-0.002950799818357885
-0.007318084080355909

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03726
13726

end0.0ms

sample1.8s

Algorithm
intervals
Results
642.0ms1499×body1280valid
358.0ms1445×body640valid
203.0ms4889×body80valid
138.0ms828×body320valid
89.0ms3058×body80nan
49.0ms501×body160valid