Details

Time bar (total: 4.8s)

sample80.0ms

Algorithm
intervals
Results
23.0ms43×body1280valid
17.0ms47×body640valid
11.0ms164×body80valid
7.0ms30×body320valid
6.0ms123×body80nan
4.0ms10×body160valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (7.0ms)

IterNodesCost
0156
1246
2516
31066
43044
57744
641424
750014

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series265.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ x (+ x y))
225.0ms
(pow (/ x (+ x y)) x)

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0309402
11244387
25002386

prune138.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
13×cbrt-prod
10×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
cbrt-div
flip3-+ flip-+ distribute-lft-out
Counts
4 → 47
Calls
4 calls:
2.0ms
(cbrt (+ x y))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series654.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(cbrt (+ x y))
175.0ms
(cbrt x)
180.0ms
(cbrt x)
174.0ms
(cbrt x)

simplify44.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0139204
1348190
21107182
35002182

prune207.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x y))
0.2b
(* x (/ 1 (+ x y)))
7.5b
(pow (* x (/ 1 (+ x y))) x)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
29×add-sqr-sqrt
26×add-exp-log times-frac
22×add-cube-cbrt
18×associate-*r*
10×add-cbrt-cube
pow1
prod-exp
distribute-lft-out
div-exp
pow-exp
associate-/r* associate-/r/
rec-exp pow-unpow 1-exp associate-*l* associate-/l* add-log-exp unswap-sqr
cbrt-undiv pow-pow flip3-+ pow-prod-down cbrt-unprod flip-+ div-inv
pow-to-exp unpow-prod-down pow-flip frac-2neg associate-*r/ clear-num un-div-inv *-commutative inv-pow sqr-pow
Counts
3 → 98
Calls
3 calls:
5.0ms
(/ 1 (+ x y))
18.0ms
(* x (/ 1 (+ x y)))
6.0ms
(pow (* x (/ 1 (+ x y))) x)

series305.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ 1 (+ x y))
44.0ms
(* x (/ 1 (+ x y)))
229.0ms
(pow (* x (/ 1 (+ x y))) x)

simplify45.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0338478
11527405
25001365

prune161.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

series20.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0114186
1303172
21465170
35003170

prune56.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes59.0ms

Accuracy

84% (0.9b remaining)

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

bsearch64.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
03020
13020

end0.0ms

sample2.4s

Algorithm
intervals
Results
867.0ms1530×body1280valid
534.0ms1495×body640valid
333.0ms4869×body80valid
203.0ms839×body320valid
148.0ms3068×body80nan
71.0ms455×body160valid