Details

Time bar (total: 2.7s)

sample29.0ms

Algorithm
intervals
Results
20.0ms350×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0183
1363
2583
3603
4603

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.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:
14.0ms
(* (* x (+ x y)) 2.0)
12.0ms
(* x (+ x y))

series68.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(* (* x (+ x y)) 2.0)
26.0ms
(* x (+ x y))

simplify40.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0201193
11117164
25002164

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

rewrite12.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:
12.0ms
(* x (* (+ x y) 2.0))

series42.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0148106
159187
2322087
3500287

prune39.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x y)) (cbrt (+ x y)))
0.5b
(cbrt (+ x y))
0.5b
(cbrt (+ x y))
0.5b
(cbrt (+ x y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
19.0ms
(* (cbrt (+ x y)) (cbrt (+ x y)))
2.0ms
(cbrt (+ x y))
2.0ms
(cbrt (+ x y))
3.0ms
(cbrt (+ x y))

series546.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (cbrt (+ x y)) (cbrt (+ x y)))
127.0ms
(cbrt (+ x y))
125.0ms
(cbrt (+ x y))
125.0ms
(cbrt (+ x y))

simplify139.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0246671
1881634
24190584
35001580

prune227.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))
4.8b
(* x (- (* x x) (* y y)))
18.5b
(/ (* (* x (- (* x x) (* y y))) 2.0) (- x y))

rewrite37.0ms

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

series164.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0351557
11945470
25001470

prune134.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample845.0ms

Algorithm
intervals
Results
662.0ms11116×body80valid