Details

Time bar (total: 4.2s)

sample18.0ms

Algorithm
intervals
Results
6.0ms324×body80valid

simplify162.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (54.0ms)

IterNodesCost
0144
1344
2924
32324
44914
57854
611154
714824
822183
933493
1048193
1150013

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

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

series75.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0244345
11005301
25001292

prune117.0ms

Pruning

5 alts after pruning (5 fresh and 0 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.5b
(* (* x z) (- y 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
29×add-sqr-sqrt *-un-lft-identity
27×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
sub-neg add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 82
Calls
2 calls:
13.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
33.0ms
(* (* x z) (- y 1.0))

series104.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0448736
11854512
25001506

prune157.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.3b
(cbrt (- y 1.0))
1.4b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
2.1b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite282.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
42×associate-*r/
35×flip3-- flip--
34×pow1 add-exp-log
32×frac-times
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
16×associate-*l/
15×cbrt-prod
14×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares
pow1/3 associate-*l* *-commutative
Counts
4 → 126
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
4.0ms
(cbrt (- y 1.0))
207.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
61.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series434.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (- y 1.0))
104.0ms
(cbrt (- y 1.0))
65.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
167.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify87.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06831597
126601386
250011313

prune358.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.3b
(cbrt (- y 1.0))
1.1b
(* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))))
1.4b
(* (* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))) (cbrt (- y 1.0)))

rewrite597.0ms

Algorithm
rewrite-expression-head
Rules
74×associate-*r/
70×cbrt-div
35×flip3-- flip--
32×frac-times
27×pow1 add-exp-log
19×add-cbrt-cube
16×pow-prod-down associate-*l/ prod-exp cbrt-unprod
15×cbrt-prod add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r*
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares
pow1/3 *-commutative
Counts
4 → 122
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
5.0ms
(cbrt (- y 1.0))
128.0ms
(* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))))
453.0ms
(* (* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))) (cbrt (- y 1.0)))

series434.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(cbrt (- y 1.0))
100.0ms
(cbrt (- y 1.0))
166.0ms
(* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))))
65.0ms
(* (* x (* z (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))) (cbrt (- y 1.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06921561
125681388
250021307

prune362.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes109.0ms

Accuracy

73.6% (0.4b remaining)

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

bsearch67.0ms

Steps
ItersRangePoint
7
4.339686650078434e-93
5.597945317132926e-91
4.92593749170096e-91
9
-4.9284800053176794e-169
-5.224864230772022e-175
-9.024708181742744e-170

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04219
14619
25319
35319

end0.0ms

sample482.0ms

Algorithm
intervals
Results
213.0ms10079×body80valid