Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
7.0ms327×body80valid

simplify201.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
13.0ms
(* (- 1.0 y) z)
7.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series77.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune98.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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)))
12.0ms
(* (* x z) (- y 1.0))

series115.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0257266
11177224
25002219

prune99.0ms

Pruning

7 alts after pruning (6 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)))
7.6b
(* 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:
14.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
6.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
6.0ms
(* x (* z y))

series158.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
65.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
28.0ms
(* x (* z y))

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0274370
11218318
25001293

prune139.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* x (* (cbrt (- 1.0 (* (- 1.0 y) z))) (cbrt (- 1.0 (* (- 1.0 y) z)))))
5.0b
(cbrt (- 1.0 (* (- 1.0 y) z)))
5.0b
(cbrt (- 1.0 (* (- 1.0 y) z)))
5.0b
(cbrt (- 1.0 (* (- 1.0 y) z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
10×associate-*r/
pow1 add-exp-log cbrt-prod add-sqr-sqrt flip3-- flip--
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
frac-times add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*l/
associate-*r* *-commutative unswap-sqr
Counts
4 → 66
Calls
4 calls:
19.0ms
(* x (* (cbrt (- 1.0 (* (- 1.0 y) z))) (cbrt (- 1.0 (* (- 1.0 y) z)))))
1.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))
1.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))
2.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))

series426.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(* x (* (cbrt (- 1.0 (* (- 1.0 y) z))) (cbrt (- 1.0 (* (- 1.0 y) z)))))
91.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))
90.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))
90.0ms
(cbrt (- 1.0 (* (- 1.0 y) z)))

simplify94.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0388959
11083887
24152842
35001842

prune265.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes232.0ms

Accuracy

93.5% (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

sample427.0ms

Algorithm
intervals
Results
228.0ms10179×body80valid