Details

Time bar (total: 2.4s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0113
1143
2163
3163

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 y) (+ x y))

rewrite14.0ms

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

series68.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0192297
1547283
21899283
35001280

prune88.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ y (+ x y))
0.0b
(- (/ x (+ x y)) (/ y (+ x y)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
581×*-un-lft-identity
484×times-frac
331×add-sqr-sqrt
324×prod-diff
319×add-cube-cbrt
123×distribute-lft-out
82×associate-/r/
41×flip3-+ flip-+ div-inv
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out--
associate-/l*
add-log-exp
difference-of-squares
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg flip3-- diff-log frac-sub flip-- sub-div
Counts
3 → 442
Calls
3 calls:
5.0ms
(/ x (+ x y))
5.0ms
(/ y (+ x y))
64.0ms
(- (/ x (+ x y)) (/ y (+ x y)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ x (+ x y))
42.0ms
(/ y (+ x y))
81.0ms
(- (/ x (+ x y)) (/ y (+ x y)))

simplify140.0ms

Algorithm
egg-herbie
Counts
451 → 451
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
092710910
126007864
250016854

prune468.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

7.5b
(cbrt (/ x (+ x y)))
8.8b
(* (- x y) (/ y (- (* x x) (* y y))))
18.9b
(/ y (- (* x x) (* y y)))
18.9b
(/ y (- (* x x) (* y y)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
49×times-frac
47×*-un-lft-identity
46×add-sqr-sqrt
39×add-cube-cbrt
18×cbrt-prod associate-*r*
13×add-exp-log add-cbrt-cube
12×difference-of-squares
associate-/r* associate-/r/
pow1 associate-/l*
flip3-- associate-*l* flip--
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-undiv div-exp distribute-lft-out
frac-times frac-2neg associate-*l/ prod-exp clear-num cbrt-unprod unswap-sqr
cbrt-div flip3-+ pow1/3 associate-*r/ pow-prod-down *-commutative flip-+ distribute-lft-out--
Counts
4 → 144
Calls
4 calls:
3.0ms
(cbrt (/ x (+ x y)))
24.0ms
(* (- x y) (/ y (- (* x x) (* y y))))
5.0ms
(/ y (- (* x x) (* y y)))
5.0ms
(/ y (- (* x x) (* y y)))

series298.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (/ x (+ x y)))
59.0ms
(* (- x y) (/ y (- (* x x) (* y y))))
55.0ms
(/ y (- (* x x) (* y y)))
58.0ms
(/ y (- (* x x) (* y y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03921106
117451024
25002967

prune538.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes44.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
063
163

end0.0ms

sample284.0ms

Algorithm
intervals
Results
156.0ms8000×body80valid