Details

Time bar (total: 5.4s)

sample94.0ms

Algorithm
intervals
Results
35.0ms57×body1280valid
19.0ms51×body640valid
11.0ms154×body80valid
8.0ms32×body320valid
6.0ms120×body80nan
2.0ms15×body160valid

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (8.0ms)

IterNodesCost
0156
1246
2516
31086
43104
57924
641924
750024

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
5.0ms
(/ x (+ x y))
7.0ms
(pow (/ x (+ x y)) x)

series280.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ x (+ x y))
235.0ms
(pow (/ x (+ x y)) x)

simplify43.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0320413
11304399
25002398

prune155.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.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:
3.0ms
(/ (exp (* -1 y)) x)

series19.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune75.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
5.0ms
(* x (exp y))
7.0ms
(/ 1 (* x (exp y)))

series47.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune85.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.2b
(pow (/ (cbrt x) (cbrt (+ x y))) x)
2.7b
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
61×unpow-prod-down
51×cbrt-prod
48×*-un-lft-identity
43×times-frac
36×add-sqr-sqrt add-cube-cbrt
20×add-exp-log
14×cbrt-div
10×associate-/r/
flip3-+ pow-exp flip-+
pow1 pow-unpow distribute-lft-out
div-exp
expm1-log1p-u frac-times prod-exp add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow1/3 associate-*r/ associate-*l/ div-inv sqr-pow
Counts
4 → 124
Calls
4 calls:
0.0ms
(cbrt x)
0.0ms
(cbrt x)
12.0ms
(pow (/ (cbrt x) (cbrt (+ x y))) x)
15.0ms
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

series1.1s

Counts
4 → 12
Calls
4 calls:
367.0ms
(cbrt x)
180.0ms
(cbrt x)
273.0ms
(pow (/ (cbrt x) (cbrt (+ x y))) x)
279.0ms
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07081370
122441300
250021271

prune426.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes54.0ms

Accuracy

97.6% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 6.3b

bsearch147.0ms

Steps
ItersRangePoint
9
1.2774642312839134e-06
1.9435667087631803
1.9234455677719884
10
-1.2865710840676908e+74
-2.585852377202543e+56
-2.4296307746992404e+61

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03418
13418

end0.0ms

sample2.5s

Algorithm
intervals
Results
871.0ms1479×body1280valid
562.0ms1488×body640valid
355.0ms4831×body80valid
223.0ms869×body320valid
157.0ms2996×body80nan
71.0ms445×body160valid