Details

Time bar (total: 2.6s)

sample11.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
052
152

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ x (+ x y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×times-frac
10×add-sqr-sqrt add-cube-cbrt
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 35
Calls
1 calls:
6.0ms
(/ x (+ x y))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(/ x (+ x y))

simplify85.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0121159
1393150
21065150
33830150
45002150

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) x)
0.3b
(/ 1 (/ (+ x y) x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
92×*-un-lft-identity
60×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
16×distribute-lft-out
15×add-exp-log
add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip flip3-+ associate-/r/ flip-+ inv-pow
Counts
2 → 125
Calls
2 calls:
8.0ms
(/ (+ x y) x)
9.0ms
(/ 1 (/ (+ x y) x))

series66.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(/ (+ x y) x)
44.0ms
(/ 1 (/ (+ x y) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0352814
11552715
25001625

prune152.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x y))
0.1b
(* (sqrt (/ x (+ x y))) (sqrt (/ x (+ x y))))
7.6b
(sqrt (/ x (+ x y)))
7.6b
(sqrt (/ x (+ x y)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
134×sqrt-prod
131×*-un-lft-identity
104×times-frac
103×add-sqr-sqrt
69×add-cube-cbrt
29×swap-sqr
28×distribute-lft-out
21×pow1 associate-*r* associate-*l*
14×associate-/r/
10×sqrt-pow1 pow1/2
unswap-sqr
add-exp-log add-cbrt-cube
flip3-+ flip-+ div-inv
sqrt-div
pow-prod-up
expm1-log1p-u rem-sqrt-square associate-/r* log1p-expm1-u add-log-exp
pow-prod-down pow-sqr associate-/l*
cbrt-undiv pow2 frac-times frac-2neg pow-plus sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 209
Calls
4 calls:
5.0ms
(/ x (+ x y))
38.0ms
(* (sqrt (/ x (+ x y))) (sqrt (/ x (+ x y))))
6.0ms
(sqrt (/ x (+ x y)))
9.0ms
(sqrt (/ x (+ x y)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ x (+ x y))
40.0ms
(* (sqrt (/ x (+ x y))) (sqrt (/ x (+ x y))))
59.0ms
(sqrt (/ x (+ x y)))
62.0ms
(sqrt (/ x (+ x y)))

simplify63.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03031248
114571158
250021139

prune406.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (/ x (+ x y))) (log (exp (sqrt (/ x (+ x y))))))
4.0b
(log (exp (sqrt (/ x (+ x y)))))
7.6b
(sqrt (/ x (+ x y)))
7.6b
(sqrt (/ x (+ x y)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
92×sqrt-prod
81×*-un-lft-identity
64×add-sqr-sqrt
63×times-frac
51×add-cube-cbrt
44×log-pow
42×exp-prod
25×associate-*r*
21×associate-*l*
15×distribute-lft-out
10×pow1 associate-/r/
log-prod
add-exp-log add-cbrt-cube
flip3-+ flip-+ div-inv
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in sqrt-div unswap-sqr
sqrt-pow1 pow1/2
rem-log-exp pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 168
Calls
4 calls:
80.0ms
(* (sqrt (/ x (+ x y))) (log (exp (sqrt (/ x (+ x y))))))
15.0ms
(log (exp (sqrt (/ x (+ x y)))))
6.0ms
(sqrt (/ x (+ x y)))
6.0ms
(sqrt (/ x (+ x y)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sqrt (/ x (+ x y))) (log (exp (sqrt (/ x (+ x y))))))
57.0ms
(log (exp (sqrt (/ x (+ x y)))))
60.0ms
(sqrt (/ x (+ x y)))
60.0ms
(sqrt (/ x (+ x y)))

simplify188.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
02841182
16221033
21540994
34310985
45001985

prune442.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes48.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052
152

end0.0ms

sample271.0ms

Algorithm
intervals
Results
133.0ms8000×body80valid