Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
11.0ms311×body80valid

simplify206.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140314
1247914
1350024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
3.4b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
*-un-lft-identity associate-*l*
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 46
Calls
2 calls:
9.0ms
(* (- 1.0 y) z)
7.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series77.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(* (- 1.0 y) z)
48.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune88.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.6b
(* (* x z) (- y 1.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
11.0ms
(* (* x z) (- y 1.0))

series119.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
60.0ms
(* (* x z) (- y 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0257266
11177224
25002219

prune85.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
0.0b
(+ (* x (* z y)) (* (* x z) (- 1.0)))
5.4b
(* x (* z y))

rewrite28.0ms

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

series157.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
71.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
25.0ms
(* x (* z y))

simplify48.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0274370
11218318
25001293

prune112.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

3.4b
(* x (- 1.0 (* (* (cbrt (* (- 1.0 y) z)) (cbrt (* (- 1.0 y) z))) (cbrt (* (- 1.0 y) z)))))
3.9b
(cbrt (* (- 1.0 y) z))
3.9b
(cbrt (* (- 1.0 y) z))
3.9b
(cbrt (* (- 1.0 y) z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt cbrt-div *-un-lft-identity associate-*l/ add-cbrt-cube
flip3-- flip-- add-log-exp
cbrt-prod pow1/3 associate-*r* associate-*l*
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 57
Calls
4 calls:
7.0ms
(* x (- 1.0 (* (* (cbrt (* (- 1.0 y) z)) (cbrt (* (- 1.0 y) z))) (cbrt (* (- 1.0 y) z)))))
3.0ms
(cbrt (* (- 1.0 y) z))
3.0ms
(cbrt (* (- 1.0 y) z))
3.0ms
(cbrt (* (- 1.0 y) z))

series368.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(* x (- 1.0 (* (* (cbrt (* (- 1.0 y) z)) (cbrt (* (- 1.0 y) z))) (cbrt (* (- 1.0 y) z)))))
95.0ms
(cbrt (* (- 1.0 y) z))
94.0ms
(cbrt (* (- 1.0 y) z))
94.0ms
(cbrt (* (- 1.0 y) z))

simplify121.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0306888
11013746
24522680
35001669

prune206.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes108.0ms

Accuracy

96.6% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03817
14217
24917
34917

end0.0ms

sample437.0ms

Algorithm
intervals
Results
235.0ms10177×body80valid