Details

Time bar (total: 6.1s)

sample43.0ms

Algorithm
intervals
Results
13.0ms259×body80valid
10.0ms237×body80nan

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
26×add-sqr-sqrt
22×add-cube-cbrt
20×add-log-exp
18×prod-diff
12×log-prod
pow1 fma-neg distribute-lft-out
add-exp-log distribute-rgt-in distribute-lft-in diff-log add-cbrt-cube associate--r+
associate-+l+
expm1-log1p-u associate-*r* associate-*l* sum-log log1p-expm1-u
sub-neg fma-def
associate-+l- flip3-- flip3-+ associate-*l/ flip-- flip-+ distribute-lft-out--
+-commutative associate--l- pow-prod-down prod-exp associate--l+ log-pow *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 117
Calls
4 calls:
4.0ms
(- x (* (+ y 0.5) (log y)))
9.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
6.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
7.0ms
(* (+ y 0.5) (log y))

series434.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- x (* (+ y 0.5) (log y)))
81.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
55.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
243.0ms
(* (+ y 0.5) (log y))

simplify61.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05391002
12085847
25002829

prune290.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
12×add-sqr-sqrt prod-diff
10×add-cube-cbrt
add-log-exp
distribute-lft-out
fma-neg
pow1 add-exp-log expm1-log1p-u diff-log add-cbrt-cube log1p-expm1-u distribute-lft-out--
sub-neg flip3-- associate--l+ sum-log flip-- fma-udef difference-of-squares
Counts
2 → 45
Calls
2 calls:
7.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
1.0ms
(fma (- (+ y 0.5)) (log y) y)

series336.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
282.0ms
(fma (- (+ y 0.5)) (log y) y)

simplify128.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0248532
1765401
24781383
35001347

prune123.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ y 0.5) (* 2 (log (cbrt y))))
0.2b
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
49×distribute-rgt-in distribute-lft-in
48×log-prod
30×cbrt-prod
25×*-un-lft-identity
24×associate-+l+
23×add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
flip3-+ associate-*l/ flip-+ add-log-exp
expm1-log1p-u associate-*r/ associate-*l* frac-add log1p-expm1-u
pow-prod-down prod-exp cbrt-unprod
associate-+r+ pow1/3
+-commutative fma-def associate-*r* sum-log *-commutative distribute-lft-out
Counts
4 → 117
Calls
4 calls:
10.0ms
(* (+ y 0.5) (* 2 (log (cbrt y))))
16.0ms
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series1.6s

Counts
4 → 12
Calls
4 calls:
450.0ms
(* (+ y 0.5) (* 2 (log (cbrt y))))
773.0ms
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
183.0ms
(cbrt y)
178.0ms
(cbrt y)

simplify81.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06811127
12712983
25001947

prune455.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (- x (+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))) y)
0.2b
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
0.6b
(cbrt y)
5.0b
(pow y 1/3)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
20×add-sqr-sqrt
16×add-cube-cbrt
13×add-log-exp
11×associate-+l+
prod-diff
pow1 add-exp-log
add-cbrt-cube
fma-def
expm1-log1p-u associate-*l* sum-log log1p-expm1-u
cbrt-prod unpow-prod-down pow-unpow associate-*r*
flip3-+ diff-log associate-*r/ flip-+ distribute-lft-out distribute-lft-out--
+-commutative distribute-rgt-in pow-to-exp associate-+l- sub-neg pow-pow distribute-lft-in unpow1/3 pow1/3 pow-prod-down pow-exp prod-exp log-pow *-commutative cbrt-unprod difference-of-squares unswap-sqr sqr-pow
Counts
4 → 92
Calls
4 calls:
14.0ms
(+ (- x (+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))) y)
10.0ms
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
1.0ms
(cbrt y)
2.0ms
(pow y 1/3)

series881.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ (- x (+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))) y)
437.0ms
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
178.0ms
(cbrt y)
167.0ms
(pow y 1/3)

simplify70.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04751130
12112738
25001689

prune410.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes88.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1166
2166

end0.0ms

sample842.0ms

Algorithm
intervals
Results
291.0ms8038×body80valid
219.0ms8005×body80nan