Details

Time bar (total: 1.5s)

sample16.0ms

Algorithm
intervals
Results
7.0ms476×body80valid

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

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 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:
16.0ms
(* (+ x y) (+ x y))

series20.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0189213
1901188
25001170

prune47.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
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:
10.0ms
(* x (+ x y))
6.0ms
(+ (* x (+ x y)) (* y (+ x y)))
9.0ms
(* y (+ x y))

series78.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0349386
11970333
25001331

prune131.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt sum-log
associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ flip-+
associate-+r+ associate-*r* *-commutative distribute-lft-out
Counts
3 → 43
Calls
3 calls:
6.0ms
(* 2 (* x y))
19.0ms
(+ (pow x 2) (+ (pow y 2) (* 2 (* x y))))
6.0ms
(+ (pow y 2) (* 2 (* x y)))

series84.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0226296
1985273
25001265

prune105.0ms

Pruning

3 alts after pruning (1 fresh and 2 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
associate-*l* distribute-lft-out
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in unpow2
associate-+r+ distribute-rgt-out pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 55
Calls
3 calls:
9.0ms
(* x (+ x y))
19.0ms
(+ (* x (+ x y)) (+ (* y x) (pow y 2)))
5.0ms
(+ (* y x) (pow y 2))

series78.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0372436
11955396
25001363

prune122.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 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
0136
1136

end0.0ms

sample418.0ms

Algorithm
intervals
Results
206.0ms14369×body80valid