Details

Time bar (total: 1.8s)

sample23.0ms

Algorithm
intervals
Results
13.0ms449×body80valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

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

rewrite22.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 distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
21.0ms
(* (+ x y) (+ x y))

series16.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0189213
1901188
25001170

prune46.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (+ x y))
0.0b
(+ (* x (+ x y)) (* y (+ x y)))
0.0b
(* x (+ 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
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out sum-log
Counts
3 → 66
Calls
3 calls:
9.0ms
(* y (+ x y))
6.0ms
(+ (* x (+ x y)) (* y (+ x y)))
9.0ms
(* x (+ x y))

series76.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(* y (+ x y))
24.0ms
(+ (* x (+ x y)) (* y (+ x y)))
26.0ms
(* x (+ x y))

simplify63.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0349386
11961333
25001331

prune121.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 y) (pow y 2))
0.0b
(+ (* x (+ x y)) (+ (* x y) (pow y 2)))
0.0b
(* x (+ x y))

rewrite31.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
distribute-rgt-out associate-*l*
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in unpow2
associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 55
Calls
3 calls:
4.0ms
(+ (* x y) (pow y 2))
16.0ms
(+ (* x (+ x y)) (+ (* x y) (pow y 2)))
9.0ms
(* x (+ x y))

series84.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x y) (pow y 2))
22.0ms
(+ (* x (+ x y)) (+ (* x y) (pow y 2)))
30.0ms
(* x (+ x y))

simplify65.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0369434
11879397
25001362

prune122.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* y y))
0.1b
(* (- (* x x) (* y y)) (+ x y))
18.1b
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-- flip-- associate-/l/
add-cube-cbrt
flip3-+ flip-+
pow1 times-frac associate-/r* add-log-exp
associate-*r/ associate-*r* associate-*l* associate-*l/ difference-of-squares
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 78
Calls
3 calls:
2.0ms
(- (* x x) (* y y))
16.0ms
(* (- (* x x) (* y y)) (+ x y))
12.0ms
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

series116.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- (* x x) (* y y))
36.0ms
(* (- (* x x) (* y y)) (+ x y))
46.0ms
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

simplify74.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0436731
12661647
25001647

prune170.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.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

sample641.0ms

Algorithm
intervals
Results
421.0ms14106×body80valid