Details

Time bar (total: 8.1s)

sample96.0ms

Algorithm
intervals
Results
37.0ms753×body80nan
10.0ms191×body80valid
7.0ms25×body640valid
5.0msbody1280valid
2.0ms14×body320valid
2.0ms17×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0227
1386
2536
3616
4786
51106
61756
72846
83636
93926
104766
114766

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.0b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (log (- 1.0 y)))
0.0b
(+ (* x (log y)) (* z (log (- 1.0 y))))
0.2b
(* x (log y))
7.4b
(log (- 1.0 y))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
37×log-prod
36×add-sqr-sqrt
20×add-cube-cbrt
16×distribute-rgt-in distribute-lft-in
13×fma-def associate-*l*
12×pow1 associate-*r*
10×associate-+r+
add-exp-log
add-cbrt-cube
associate-+l+ add-log-exp
distribute-lft-out-- difference-of-squares
expm1-log1p-u log-pow log1p-expm1-u distribute-lft-out
*-commutative unswap-sqr
log-div pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ rem-log-exp sum-log flip-- flip-+
Counts
4 → 122
Calls
4 calls:
6.0ms
(* z (log (- 1.0 y)))
18.0ms
(+ (* x (log y)) (* z (log (- 1.0 y))))
4.0ms
(* x (log y))
4.0ms
(log (- 1.0 y))

series227.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* z (log (- 1.0 y)))
79.0ms
(+ (* x (log y)) (* z (log (- 1.0 y))))
41.0ms
(* x (log y))
43.0ms
(log (- 1.0 y))

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0488703
11743645
25001620

prune283.0ms

Filtered
134 candidates to 96 candidates (71.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1268134
Fresh101
Picked101
Done000
Total1288136

Merged error: 0.0b

Counts
136 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
0.0b
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.0b
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.2b
(* x (log y))

rewrite293.0ms

Algorithm
rewrite-expression-head
Rules
369×*-un-lft-identity
189×prod-diff
137×associate-*l*
132×associate-+r+
128×distribute-lft-out
110×add-sqr-sqrt
108×distribute-rgt-in distribute-lft-in
100×add-cube-cbrt
92×associate--l+
57×pow1
49×log-pow
36×log-prod
22×associate-*r*
15×distribute-lft-out--
13×fma-def
12×associate-+l+
11×add-log-exp
add-exp-log add-cbrt-cube
sub-neg fma-neg
expm1-log1p-u log1p-expm1-u
*-commutative unswap-sqr
+-commutative flip3-- diff-log associate-*r/ pow-prod-down prod-exp sum-log flip-- cbrt-unprod difference-of-squares
flip3-+ flip-+
Counts
4 → 351
Calls
4 calls:
101.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
89.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
72.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
4.0ms
(* x (log y))

series461.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
131.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
105.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
38.0ms
(* x (log y))

simplify125.0ms

Algorithm
egg-herbie
Counts
363 → 363
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06916337
124584352
250034295

prune671.0ms

Filtered
363 candidates to 151 candidates (41.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3549363
Fresh707
Picked101
Done000
Total3629371

Merged error: 0.0b

Counts
371 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (log (sqrt y))) (fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
0.0b
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.2b
(fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.2b
(* x (log (sqrt y)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
134×*-un-lft-identity
56×prod-diff
51×add-sqr-sqrt
50×associate-*l*
45×distribute-rgt-in distribute-lft-in
43×add-cube-cbrt
42×distribute-lft-out
31×pow1
30×log-prod
26×associate-*r*
25×log-pow
15×fma-def
12×associate-+l+ sqrt-prod
10×distribute-lft-out--
add-exp-log add-cbrt-cube
associate--l+ add-log-exp
expm1-log1p-u log1p-expm1-u
*-commutative unswap-sqr
sub-neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down prod-exp cbrt-unprod fma-udef
+-commutative associate-+r+ flip3-- flip3-+ sum-log flip-- flip-+ difference-of-squares
Counts
4 → 187
Calls
4 calls:
11.0ms
(+ (* x (log (sqrt y))) (fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
72.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
1.0ms
(fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
6.0ms
(* x (log (sqrt y)))

series563.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(+ (* x (log (sqrt y))) (fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
107.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
176.0ms
(fma (log (sqrt y)) x (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
97.0ms
(* x (log (sqrt y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05453402
120942401
250012356

prune491.0ms

Filtered
199 candidates to 98 candidates (49.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1963199
Fresh448
Picked101
Done000
Total2017208

Merged error: 0b

Counts
208 → 7

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (sqrt y)) (cbrt (sqrt y)))
0.7b
(cbrt (sqrt y))
0.7b
(cbrt (sqrt y))
0.7b
(cbrt (sqrt y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
58×cbrt-prod
44×add-sqr-sqrt
29×sqrt-prod
22×add-cube-cbrt *-un-lft-identity
11×pow1 swap-sqr
pow1/3 associate-*r* associate-*l* unswap-sqr
add-cbrt-cube
add-exp-log
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 109
Calls
4 calls:
8.0ms
(* (cbrt (sqrt y)) (cbrt (sqrt y)))
2.0ms
(cbrt (sqrt y))
2.0ms
(cbrt (sqrt y))
2.0ms
(cbrt (sqrt y))

series616.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (cbrt (sqrt y)) (cbrt (sqrt y)))
154.0ms
(cbrt (sqrt y))
153.0ms
(cbrt (sqrt y))
150.0ms
(cbrt (sqrt y))

simplify108.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0161756
1598698
23221615
35001584

prune522.0ms

Filtered
121 candidates to 78 candidates (64.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh066
Picked011
Done000
Total1217128

Merged error: 0b

Counts
128 → 7

regimes207.0ms

Accuracy

0% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03325
13325

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.1s24607×body80nan
292.0ms5511×body80valid
271.0ms904×body640valid
243.0ms410×body1280valid
128.0ms715×body320valid
53.0ms491×body160valid