Details

Time bar (total: 4.0s)

sample36.0ms

Algorithm
intervals
Results
14.0ms257×body80valid
8.0ms239×body80nan

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune7.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: 0.1b

Counts
2 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* (+ y 0.5) (log y)))
0.1b
(+ (- x (* (+ y 0.5) (log y))) y)
0.2b
(* (+ y 0.5) (log y))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
15×add-sqr-sqrt
13×add-cube-cbrt
12×log-prod
10×add-log-exp
pow1 distribute-rgt-in distribute-lft-in prod-diff associate--r+
add-exp-log associate-+l+ add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u fma-def fma-neg log1p-expm1-u
sub-neg flip3-+ diff-log associate-*l/ sum-log flip-+ distribute-lft-out
+-commutative associate-+l- flip3-- pow-prod-down prod-exp log-pow *-commutative flip-- cbrt-unprod unswap-sqr
Counts
3 → 80
Calls
3 calls:
4.0ms
(- x (* (+ y 0.5) (log y)))
6.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
7.0ms
(* (+ y 0.5) (log y))

series317.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- x (* (+ y 0.5) (log y)))
44.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
236.0ms
(* (+ y 0.5) (log y))

simplify55.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0404561
11555512
25001494

prune208.0ms

Filtered
89 candidates to 71 candidates (79.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh011
Picked101
Done000
Total86591

Merged error: 0b

Counts
91 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (fma (- (+ y 0.5)) (log y) y))
0.1b
(fma (- (+ y 0.5)) (log y) y)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+r+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
5.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
1.0ms
(fma (- (+ y 0.5)) (log y) y)

series324.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
288.0ms
(fma (- (+ y 0.5)) (log y) y)

simplify57.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0175225
1458205
22408202
35002198

prune87.0ms

Filtered
34 candidates to 31 candidates (91.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh134
Picked011
Done000
Total34539

Merged error: 0b

Counts
39 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (- (fma (log y) (+ y 0.5) z) y))
0.1b
(- (fma (log y) (+ y 0.5) z) y)
0.1b
(fma (log y) (+ y 0.5) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
35×add-sqr-sqrt
33×prod-diff
25×add-cube-cbrt
12×associate--r+
10×add-log-exp
distribute-lft-out--
fma-neg
difference-of-squares
diff-log
pow1 add-exp-log expm1-log1p-u sub-neg add-cbrt-cube fma-udef log1p-expm1-u
flip3-- associate--l+ flip--
associate--r-
Counts
3 → 88
Calls
3 calls:
8.0ms
(- x (- (fma (log y) (+ y 0.5) z) y))
4.0ms
(- (fma (log y) (+ y 0.5) z) y)
1.0ms
(fma (log y) (+ y 0.5) z)

series126.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- x (- (fma (log y) (+ y 0.5) z) y))
47.0ms
(- (fma (log y) (+ y 0.5) z) y)
36.0ms
(fma (log y) (+ y 0.5) z)

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04041160
11496822
25003746

prune169.0ms

Filtered
97 candidates to 61 candidates (62.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done011
Total975102

Merged error: 0b

Counts
102 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ y 0.5) (log (cbrt y)))
0.2b
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (+ y 0.5) (log (cbrt y))))
0.5b
(cbrt y)
0.5b
(cbrt y)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×log-prod
20×add-sqr-sqrt *-un-lft-identity
18×cbrt-prod add-cube-cbrt
12×distribute-rgt-in distribute-lft-in associate--r+
pow1
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u associate-*l* log1p-expm1-u
fma-neg pow1/3 prod-diff
associate-*l/ log-pow
sub-neg flip3-- flip3-+ diff-log pow-prod-down prod-exp associate--l+ *-commutative flip-- cbrt-unprod flip-+ fma-udef distribute-lft-out unswap-sqr
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (+ y 0.5) (log (cbrt y)))
4.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (+ y 0.5) (log (cbrt y))))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series927.0ms

Counts
4 → 12
Calls
4 calls:
424.0ms
(* (+ y 0.5) (log (cbrt y)))
138.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (+ y 0.5) (log (cbrt y))))
174.0ms
(cbrt y)
190.0ms
(cbrt y)

simplify52.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0403894
11508824
25003775

prune325.0ms

Filtered
108 candidates to 87 candidates (80.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1080108
Fresh022
Picked011
Done022
Total1085113

Merged error: 0b

Counts
113 → 5

regimes75.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1166
2166

end0.0ms

sample977.0ms

Algorithm
intervals
Results
349.0ms8039×body80valid
287.0ms8057×body80nan
0.0msbody640valid