Details

Time bar (total: 3.8s)

sample64.0ms

Algorithm
intervals
Results
24.0ms58×body1280valid
11.0ms44×body640valid
6.0ms153×body80valid
4.0ms25×body320valid
3.0ms99×body80nan
1.0ms13×body160valid

simplify121.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0156
1246
2516
31066
43044
57744
641424
750014

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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*
flip3-+ div-exp pow-exp flip-+ div-inv add-log-exp
cbrt-undiv pow-to-exp pow-pow frac-2neg clear-num sqr-pow
Counts
2 → 66
Calls
2 calls:
10.0ms
(/ x (+ x y))
13.0ms
(pow (/ x (+ x y)) x)

series279.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ x (+ x y))
240.0ms
(pow (/ x (+ x y)) x)

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0309402
11244387
25002386

prune160.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)

rewrite10.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 frac-2neg mul-1-neg div-exp clear-num div-inv associate-/l/ add-log-exp
Counts
1 → 28
Calls
1 calls:
9.0ms
(/ (exp (* -1 y)) x)

series21.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0114186
1303172
21465170
35003170

prune308.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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 rec-exp pow-flip 1-exp pow-prod-down cbrt-unprod add-log-exp
frac-2neg clear-num associate-/r* *-commutative div-inv inv-pow unswap-sqr
Counts
2 → 46
Calls
2 calls:
17.0ms
(/ 1 (* x (exp y)))
11.0ms
(* x (exp y))

series51.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0173203
1786170
24230163
35002163

prune82.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1/2 (pow y 2)) (+ y 1))
0.4b
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
2.9b
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log
10×add-cbrt-cube
add-sqr-sqrt
pow1 add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r/ div-exp prod-exp
flip3-+ times-frac associate-*r* associate-*l* sum-log flip-+ associate-/l*
cbrt-undiv rec-exp pow-flip 1-exp pow-prod-down associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in associate-+r+ frac-2neg distribute-lft-in clear-num associate-/r* *-commutative div-inv inv-pow unswap-sqr
Counts
3 → 65
Calls
3 calls:
20.0ms
(+ (* 1/2 (pow y 2)) (+ y 1))
45.0ms
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
64.0ms
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

series112.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (* 1/2 (pow y 2)) (+ y 1))
48.0ms
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
43.0ms
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

simplify60.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0339550
11749468
25002462

prune137.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.5b

regimes78.0ms

Accuracy

88.7% (1.4b remaining)

Error of 1.8b against oracle of 0.4b and baseline of 12.6b

bsearch86.0ms

Steps
ItersRangePoint
6
1.3330246063773173e-09
1.3045330821618359e-08
1.2852105229732645e-08
11
-3408810.996198386
-9.740626457484644e-21
-5.595667354331364

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample1.8s

Algorithm
intervals
Results
615.0ms1459×body1280valid
373.0ms1521×body640valid
202.0ms4864×body80valid
128.0ms803×body320valid
86.0ms2966×body80nan
43.0ms441×body160valid