Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
5.0ms311×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite18.0ms

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

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(* x (- 1.0 (* y z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune55.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

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

series74.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0181204
11018178
25001174

prune91.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

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

series74.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0203197
1955172
25001160

prune78.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.3b
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
3.5b
(* (* x (- y)) (* (cbrt z) (cbrt z)))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
34×pow1 add-exp-log
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r*
add-log-exp
distribute-lft-neg-out
pow1/3 associate-*l* *-commutative distribute-rgt-neg-out
Counts
4 → 76
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
121.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
37.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

series538.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt z)
195.0ms
(cbrt z)
43.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
118.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

simplify67.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0295603
11551448
25001398

prune180.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes145.0ms

Accuracy

28.9% (3.1b remaining)

Error of 3.1b against oracle of 0.0b and baseline of 4.4b

bsearch87.0ms

Steps
ItersRangePoint
9
7.057869729618484e+225
9.095231353254208e+232
6.198127841043233e+226
7
1.8980477485594379e+71
5.5416632979428064e+72
1.960803050623658e+71
8
-1.4282685127697635e+140
-1.0540944006331587e+136
-3.671253073044598e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03920
15510
26210
36210

end0.0ms

sample448.0ms

Algorithm
intervals
Results
180.0ms9565×body80valid