Details

Time bar (total: 4.8s)

sample58.0ms

Algorithm
intervals
Results
20.0ms45×body1280valid
12.0ms49×body640valid
7.0ms155×body80valid
3.0ms19×body320valid
3.0ms94×body80nan
2.0ms18×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.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

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

series414.0ms

Counts
3 → 9
Calls
3 calls:
143.0ms
(/ (pow (/ x (+ x y)) x) x)
39.0ms
(/ x (+ x y))
232.0ms
(pow (/ x (+ x y)) x)

simplify75.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05541456
127261426
250021426

prune623.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series20.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune72.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

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

series43.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune92.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series727.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(* (cbrt x) (cbrt x))
174.0ms
(cbrt x)
179.0ms
(cbrt x)
175.0ms
(cbrt x)

simplify95.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune253.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

regimes77.0ms

Accuracy

90.6% (1.1b remaining)

Error of 1.6b against oracle of 0.5b and baseline of 12.3b

bsearch78.0ms

Steps
ItersRangePoint
8
6.445869666202103e-13
4.896495915127463e-10
4.808874715698341e-10
9
-9.18026288086769e-16
-1.310587523951681e-20
-9.040621805246646e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03114
13114

end0.0ms

sample1.8s

Algorithm
intervals
Results
662.0ms1492×body1280valid
381.0ms1483×body640valid
215.0ms4857×body80valid
144.0ms841×body320valid
95.0ms3045×body80nan
47.0ms456×body160valid