Details

Time bar (total: 5.6s)

sample41.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
10.0ms265×body80nan
0.0msbody320valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.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

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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:
62.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
3.0ms
(- x (* (+ y 0.5) (log y)))
14.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
11.0ms
(* (+ y 0.5) (log y))

series390.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
42.0ms
(- x (* (+ y 0.5) (log y)))
42.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
253.0ms
(* (+ y 0.5) (log y))

simplify64.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05391002
12085847
25002829

prune320.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt prod-diff
10×add-log-exp
distribute-lft-out
fma-neg
pow1 add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
diff-log sum-log fma-udef distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ associate--l+ flip-- flip-+ difference-of-squares
Counts
3 → 63
Calls
3 calls:
25.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
3.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
0.0ms
(fma (- (+ y 0.5)) (log y) y)

series370.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
42.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
283.0ms
(fma (- (+ y 0.5)) (log y) y)

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0305659
1941532
25001525

prune189.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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:
12.0ms
(* (+ y 0.5) (log (cbrt y)))
4.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (+ y 0.5) (log (cbrt y))))
0.0ms
(cbrt y)
1.0ms
(cbrt y)

series932.0ms

Counts
4 → 12
Calls
4 calls:
424.0ms
(* (+ y 0.5) (log (cbrt y)))
139.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (+ y 0.5) (log (cbrt y))))
180.0ms
(cbrt y)
189.0ms
(cbrt y)

simplify50.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0403894
11508824
25003775

prune421.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 52
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series767.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(cbrt y)
196.0ms
(cbrt y)
200.0ms
(cbrt y)
179.0ms
(cbrt y)

simplify127.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
042172
183160
2195152
3699152
44132152
55001152

prune334.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes143.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

sample1.2s

Algorithm
intervals
Results
497.0ms8025×body80valid
323.0ms8174×body80nan
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid