Details

Time bar (total: 3.4s)

sample14.0ms

Algorithm
intervals
Results
7.0ms289×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1203
2283
3363
4543
51013
61503
71673
82423
94683
1015473
1150013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series45.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (+ (* x y) x) y)
31.0ms
(+ (* x y) x)

simplify50.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0143138
1451129
21660127
35001126

prune48.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (+ (* x y) x) 3)
1.4b
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))
3.9b
(+ (pow (+ (* x y) x) 3) (pow y 3))
39.3b
(/ (+ (pow (+ (* x y) x) 3) (pow y 3)) (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
27×times-frac
25×distribute-lft-out
23×unpow-prod-down cube-prod
21×add-sqr-sqrt add-cube-cbrt
associate-/l*
add-log-exp
add-exp-log add-cbrt-cube
associate-+l+
pow1 flip3-+ sum-cubes flip-+
distribute-rgt-in pow-unpow distribute-lft-in associate-/r*
+-commutative cube-div sub-neg associate--l+ sum-log associate-/r/ associate-/l/
cbrt-undiv cube-mult pow-to-exp pow-pow frac-2neg unpow3 div-exp pow-exp clear-num div-inv rem-cube-cbrt sqr-pow
Counts
4 → 114
Calls
4 calls:
5.0ms
(pow (+ (* x y) x) 3)
21.0ms
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))
39.0ms
(+ (pow (+ (* x y) x) 3) (pow y 3))
123.0ms
(/ (+ (pow (+ (* x y) x) 3) (pow y 3)) (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))

series327.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(pow (+ (* x y) x) 3)
45.0ms
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))
93.0ms
(+ (pow (+ (* x y) x) 3) (pow y 3))
145.0ms
(/ (+ (pow (+ (* x y) x) 3) (pow y 3)) (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))

simplify84.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04901781
123511665
250021657

prune268.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2))
27.4b
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
27.4b
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
27.4b
(/ (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2)) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log associate-+l+ sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
distribute-rgt-in distribute-lft-in associate-/l*
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 associate--l+ associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 90
Calls
4 calls:
23.0ms
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2))
28.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
29.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
86.0ms
(/ (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2)) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2))
87.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
86.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
89.0ms
(/ (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (pow y 2)) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03241943
112021624
250021605

prune298.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

5.4b
(+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2)))
27.4b
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
27.4b
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
27.4b
(/ (+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2))) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
13×flip3-+ flip-+
add-log-exp
associate-*r/ frac-add
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube associate-/l/
sum-log associate-/l*
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative distribute-rgt-in associate-+r+ frac-2neg distribute-lft-in div-exp clear-num div-inv
Counts
4 → 96
Calls
4 calls:
34.0ms
(+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2)))
30.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
28.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
129.0ms
(/ (+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2))) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

series321.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2)))
89.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
86.0ms
(sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y)))
99.0ms
(/ (+ (* (* x y) (+ (* x y) x)) (+ (* (- x y) (+ (* x y) x)) (pow y 2))) (sqrt (+ (* (+ (* x y) x) (- (+ (* x y) x) y)) (* y y))))

simplify95.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
05422480
128651986
250021958

prune367.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes41.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
083
183

end0.0ms

sample293.0ms

Algorithm
intervals
Results
156.0ms9124×body80valid
0.0msbody1280valid