Details

Time bar (total: 1.8s)

sample17.0ms

Algorithm
intervals
Results
7.0ms465×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

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

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

series14.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0189213
1901188
25001170

prune53.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.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))

rewrite20.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:
6.0ms
(* y (+ x y))
7.0ms
(+ (* x (+ x y)) (* y (+ x y)))
6.0ms
(* x (+ x y))

series79.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0349386
11961333
25001331

prune130.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series59.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (+ x y) y)
36.0ms
(* x (+ (+ x y) y))

simplify120.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0172185
1764160
24336154
35001154

prune74.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ (+ x y) y))
0.1b
(* (sqrt (* x (+ (+ x y) y))) (sqrt (* x (+ (+ x y) y))))
10.4b
(sqrt (* x (+ (+ x y) y)))
10.4b
(sqrt (* x (+ (+ x y) y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×sqrt-div
15×*-un-lft-identity
14×add-sqr-sqrt
12×pow1/2
10×add-cube-cbrt pow-prod-up
flip3-+ associate-*r* flip-+
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-lft-out
associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 107
Calls
4 calls:
8.0ms
(* x (+ (+ x y) y))
17.0ms
(* (sqrt (* x (+ (+ x y) y))) (sqrt (* x (+ (+ x y) y))))
6.0ms
(sqrt (* x (+ (+ x y) y)))
6.0ms
(sqrt (* x (+ (+ x y) y)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* x (+ (+ x y) y))
37.0ms
(* (sqrt (* x (+ (+ x y) y))) (sqrt (* x (+ (+ x y) y))))
63.0ms
(sqrt (* x (+ (+ x y) y)))
61.0ms
(sqrt (* x (+ (+ x y) y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0276648
11389580
25001551

prune223.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.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
0115
1115

end0.0ms

sample478.0ms

Algorithm
intervals
Results
245.0ms14219×body80valid