Details

Time bar (total: 2.8s)

sample19.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify194.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: 3.3b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
6.0ms
(* (- 1.0 y) z)
5.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series81.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune100.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
4.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
8.0ms
(* (* x z) (- y 1.0))

series119.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0257266
11177224
25002219

prune94.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series112.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0239269
11175239
25002231

prune96.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
3.1b
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

rewrite10.0ms

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

series637.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt z)
179.0ms
(cbrt z)
178.0ms
(cbrt z)
87.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

simplify191.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0178432
1767360
24754337
35002337

prune181.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes234.0ms

Accuracy

90.1% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04120
14520
25220
35220

end0.0ms

sample478.0ms

Algorithm
intervals
Results
269.0ms10096×body80valid