Details

Time bar (total: 4.8s)

sample56.0ms

Algorithm
intervals
Results
19.0ms42×body1280valid
9.0ms36×body640valid
7.0ms167×body80valid
6.0ms34×body320valid
3.0ms97×body80nan
1.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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
118×*-un-lft-identity
90×unpow-prod-down
80×add-sqr-sqrt add-cube-cbrt
25×associate-/l*
19×distribute-lft-out
16×add-exp-log
12×associate-/r/
div-exp associate-/r* add-cbrt-cube div-inv
flip3-+ flip-+
sqr-pow
pow1 pow-exp
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
cbrt-undiv pow-to-exp frac-2neg clear-num
pow-pow
Counts
3 → 178
Calls
3 calls:
26.0ms
(/ (pow (/ x (+ x y)) x) x)
5.0ms
(/ x (+ x y))
7.0ms
(pow (/ x (+ x y)) x)

series394.0ms

Counts
3 → 9
Calls
3 calls:
132.0ms
(/ (pow (/ x (+ x y)) x) x)
37.0ms
(/ x (+ x y))
225.0ms
(pow (/ x (+ x y)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05541456
127261426
250021426

prune423.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.9b
(pow (/ (cbrt x) (cbrt (+ x y))) x)
2.1b
(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)

series865.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt x)
169.0ms
(cbrt x)
259.0ms
(pow (/ (cbrt x) (cbrt (+ x y))) x)
267.0ms
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

simplify59.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
07081370
122441300
250021271

prune449.0ms

Pruning

3 alts after pruning (2 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

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

series41.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune81.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes58.0ms

Accuracy

89.8% (0.6b remaining)

Error of 1.5b against oracle of 0.9b and baseline of 6.7b

bsearch80.0ms

Steps
ItersRangePoint
8
4.7559785702882385e-07
0.0009401996095224754
0.0009297752561077733
9
-40182.74847622026
-0.05879146692607421
-5.89791977930625

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03219
13219

end0.0ms

sample1.8s

Algorithm
intervals
Results
679.0ms1549×body1280valid
358.0ms1426×body640valid
212.0ms4906×body80valid
133.0ms825×body320valid
95.0ms2985×body80nan
43.0ms432×body160valid