Details

Time bar (total: 2.0s)

sample16.0ms

Algorithm
intervals
Results
8.0ms362×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1363
2583
3603
4603

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series74.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(* x (+ x y))
41.0ms
(* (* x (+ x y)) 2.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0201193
11117164
25002164

prune76.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r/ associate-*l/
flip3-+ associate-*r* *-commutative flip-+ add-log-exp
Counts
1 → 20
Calls
1 calls:
7.0ms
(* x (* (+ x y) 2.0))

series45.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0148106
159187
2322087
3500287

prune40.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ x y))
0.2b
(* (sqrt (* x (+ x y))) (sqrt (* x (+ x y))))
7.8b
(sqrt (* x (+ x y)))
7.8b
(sqrt (* x (+ x y)))

rewrite31.0ms

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

series358.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* x (+ x y))
222.0ms
(* (sqrt (* x (+ x y))) (sqrt (* x (+ x y))))
52.0ms
(sqrt (* x (+ x y)))
57.0ms
(sqrt (* x (+ x y)))

simplify53.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0257493
11275449
25002435

prune206.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 x) (* y y))) 2.0)
5.7b
(* x (- (* x x) (* y y)))
15.3b
(/ (* (* x (- (* x x) (* y y))) 2.0) (- x y))

rewrite26.0ms

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

series187.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(* (* x (- (* x x) (* y y))) 2.0)
46.0ms
(* x (- (* x x) (* y y)))
82.0ms
(/ (* (* x (- (* x x) (* y y))) 2.0) (- x y))

simplify64.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0381643
12264534
25002534

prune147.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.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
093
193

end0.0ms

sample425.0ms

Algorithm
intervals
Results
247.0ms11177×body80valid