Details

Time bar (total: 1.6s)

sample17.0ms

Algorithm
intervals
Results
7.0ms476×body80valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in expm1-log1p-u distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 42
Calls
1 calls:
17.0ms
(* (+ x y) (+ x y))

series20.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0194221
1953194
25002180

prune56.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
expm1-log1p-u log1p-expm1-u
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out fma-def sum-log
Counts
3 → 73
Calls
3 calls:
9.0ms
(* x (+ x y))
6.0ms
(+ (* x (+ x y)) (* y (+ x y)))
9.0ms
(* y (+ x y))

series81.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(* x (+ x y))
27.0ms
(+ (* x (+ x y)) (* y (+ x y)))
27.0ms
(* y (+ x y))

simplify66.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0371403
12132342
25001336

prune152.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity flip3-+ flip-+
associate-*r/
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* frac-add sum-log
expm1-log1p-u associate-*l* log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in associate-+l+ fma-def distribute-lft-in unpow2
associate-+r+ distribute-rgt-out pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 63
Calls
3 calls:
9.0ms
(* x (+ x y))
16.0ms
(+ (* x (+ x y)) (+ (* y x) (pow y 2)))
5.0ms
(+ (* y x) (pow y 2))

series76.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(* x (+ x y))
23.0ms
(+ (* x (+ x y)) (+ (* y x) (pow y 2)))
27.0ms
(+ (* y x) (pow y 2))

simplify65.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0398446
12071400
25001365

prune175.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u associate-*l* log1p-expm1-u
flip3-+ associate-*r/ flip-+ fma-udef
+-commutative distribute-rgt-in associate-+r+ fma-def distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 50
Calls
3 calls:
3.0ms
(+ (* x x) (fma y x (* y (+ x y))))
0.0ms
(fma y x (* y (+ x y)))
9.0ms
(* y (+ x y))

series106.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (fma y x (* y (+ x y))))
51.0ms
(fma y x (* y (+ x y)))
28.0ms
(* y (+ x y))

simplify37.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0225277
11042245
25001226

prune119.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes32.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
0146
1146

end0.0ms

sample434.0ms

Algorithm
intervals
Results
211.0ms14369×body80valid