Details

Time bar (total: 2.8s)

sample10.0ms

Algorithm
intervals
Results
4.0ms257×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
072
1102
2122
3132
4132

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
sum-log distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ flip3-+ add-cbrt-cube flip-+
Counts
1 → 15
Calls
1 calls:
8.0ms
(+ (+ x y) x)

series21.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
08265
124160
285458
3453553
4500253

prune25.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x y) x)
0.0b
(+ (+ x y) x)
0.3b
(* (sqrt (+ (+ x y) x)) (sqrt (+ (+ x y) x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
38×sqrt-prod
30×distribute-lft-out
23×add-sqr-sqrt
18×pow1
16×swap-sqr
13×add-log-exp
12×sqrt-div
11×add-cube-cbrt
sqrt-pow1 flip3-+ pow1/2 associate-*r* associate-*l* flip-+
sum-log
add-exp-log pow-prod-up add-cbrt-cube
frac-times unswap-sqr
pow-prod-down pow-sqr
+-commutative associate-+l+ associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
3 → 99
Calls
3 calls:
6.0ms
(+ (+ x y) x)
6.0ms
(+ (+ x y) x)
18.0ms
(* (sqrt (+ (+ x y) x)) (sqrt (+ (+ x y) x)))

series81.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (+ x y) x)
21.0ms
(+ (+ x y) x)
35.0ms
(* (sqrt (+ (+ x y) x)) (sqrt (+ (+ x y) x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0204509
1838459
25001444

prune131.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
51×cbrt-prod
33×distribute-lft-out
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
14×swap-sqr
11×pow1
flip3-+ pow1/3 flip-+
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 105
Calls
4 calls:
18.0ms
(* (cbrt (+ (+ x y) x)) (cbrt (+ (+ x y) x)))
5.0ms
(cbrt (+ (+ x y) x))
5.0ms
(cbrt (+ (+ x y) x))
5.0ms
(cbrt (+ (+ x y) x))

series827.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(* (cbrt (+ (+ x y) x)) (cbrt (+ (+ x y) x)))
199.0ms
(cbrt (+ (+ x y) x))
195.0ms
(cbrt (+ (+ x y) x))
196.0ms
(cbrt (+ (+ x y) x))

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0280982
11048931
25001832

prune318.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.3b
(- x (+ x y))
1.8b
(+ (* x (- x (+ x y))) (* (+ x y) (+ x y)))
1.8b
(+ (pow (+ x y) 3) (pow x 3))
42.3b
(/ (+ (pow (+ x y) 3) (pow x 3)) (+ (* x (- x (+ x y))) (* (+ x y) (+ x y))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
137×*-un-lft-identity
66×distribute-lft-out
40×unpow-prod-down cube-prod associate-*r/
39×times-frac
32×frac-add
28×flip3-+ flip-+
24×add-sqr-sqrt
22×add-cube-cbrt
18×associate-/r/
17×flip3-- flip--
16×frac-times
13×associate-/l* add-log-exp
associate-*l/
add-exp-log add-cbrt-cube
sum-cubes
pow1 associate-+l+
distribute-rgt-in sub-neg distribute-lft-in associate-/r* sum-log
+-commutative associate-+r+ diff-log associate-/l/ distribute-lft-out--
cbrt-undiv frac-2neg div-exp clear-num div-inv associate--r+ difference-of-squares
Counts
4 → 158
Calls
4 calls:
6.0ms
(- x (+ x y))
11.0ms
(+ (* x (- x (+ x y))) (* (+ x y) (+ x y)))
13.0ms
(+ (pow (+ x y) 3) (pow x 3))
30.0ms
(/ (+ (pow (+ x y) 3) (pow x 3)) (+ (* x (- x (+ x y))) (* (+ x y) (+ x y))))

series211.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- x (+ x y))
18.0ms
(+ (* x (- x (+ x y))) (* (+ x y) (+ x y)))
56.0ms
(+ (pow (+ x y) 3) (pow x 3))
123.0ms
(/ (+ (pow (+ x y) 3) (pow x 3)) (+ (* x (- x (+ x y))) (* (+ x y) (+ x y))))

simplify100.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06752820
135282707
250022696

prune363.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes59.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
062
162

end0.0ms

sample236.0ms

Algorithm
intervals
Results
119.0ms8006×body80valid