Details

Time bar (total: 5.2s)

sample81.0ms

Algorithm
intervals
Results
25.0ms43×body1280valid
18.0ms47×body640valid
12.0ms164×body80valid
8.0ms30×body320valid
6.0ms123×body80nan
2.0ms10×body160valid

simplify115.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (9.0ms)

IterNodesCost
0156
1246
2516
31086
43104
57924
641924
750024

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* x (log (/ x (+ x y)))))
0.0b
(/ x (+ x y))
0.1b
(* x (log (/ x (+ x y))))
6.3b
(log (/ x (+ x y)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
90×log-prod
72×times-frac
57×add-sqr-sqrt
55×add-cube-cbrt
36×distribute-rgt-in distribute-lft-in exp-sum
19×distribute-lft-out
12×associate-/r/
11×add-exp-log
pow1 add-cbrt-cube
flip3-+ flip-+ div-inv add-log-exp
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u
associate-*l* associate-/l*
div-exp rem-log-exp log-pow
cbrt-undiv log-div exp-prod exp-to-pow frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 171
Calls
4 calls:
9.0ms
(exp (* x (log (/ x (+ x y)))))
5.0ms
(/ x (+ x y))
12.0ms
(* x (log (/ x (+ x y))))
4.0ms
(log (/ x (+ x y)))

series403.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(exp (* x (log (/ x (+ x y)))))
40.0ms
(/ x (+ x y))
78.0ms
(* x (log (/ x (+ x y))))
53.0ms
(log (/ x (+ x y)))

simplify62.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05371275
120871187
250011178

prune356.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
2.8b
(log (/ (cbrt x) (cbrt (+ x y))))
2.9b
(log (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))))

rewrite23.0ms

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

series520.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(cbrt x)
178.0ms
(cbrt x)
72.0ms
(log (/ (cbrt x) (cbrt (+ x y))))
82.0ms
(log (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
04491200
111201128
236101084
350021070

prune514.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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)

series18.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune66.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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))
10.0ms
(/ 1 (* x (exp y)))

series42.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune85.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes54.0ms

Accuracy

84.1% (0.9b remaining)

Error of 1.9b against oracle of 1.0b and baseline of 6.5b

bsearch69.0ms

Steps
ItersRangePoint
8
1.0320989087612647e-20
8.58910903859668e-18
8.457450141620207e-18
2
-8.406169814414707e+115
-7.281669141149857e+115
-7.3893711893619755e+115

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03725
13725

end0.0ms

sample2.5s

Algorithm
intervals
Results
899.0ms1530×body1280valid
553.0ms1495×body640valid
348.0ms4869×body80valid
213.0ms839×body320valid
156.0ms3068×body80nan
77.0ms455×body160valid