Details

Time bar (total: 11.3s)

sample166.0ms

Algorithm
intervals
Results
68.0ms1153×body80nan
24.0ms376×body80valid
5.0ms12×body640valid
3.0ms13×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log z) t)
0.2b
(* y (- (log z) t))
0.3b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
7.5b
(log (- 1.0 z))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
84×prod-diff
76×add-sqr-sqrt *-un-lft-identity
64×add-cube-cbrt
53×distribute-rgt-in distribute-lft-in
38×associate-+r+
34×associate-+l+
31×pow1
30×log-prod
25×associate--l+ log-pow
10×associate-*r/
add-exp-log sub-neg flip3-- flip-- distribute-lft-out-- add-log-exp
associate-*r* add-cbrt-cube
difference-of-squares
expm1-log1p-u fma-neg frac-add log1p-expm1-u
associate-*l*
log-div
+-commutative fma-def flip3-+ diff-log rem-log-exp pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 203
Calls
4 calls:
4.0ms
(- (log z) t)
16.0ms
(* y (- (log z) t))
23.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series357.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (log z) t)
71.0ms
(* y (- (log z) t))
182.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
47.0ms
(log (- 1.0 z))

simplify97.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08561981
132961486
250021485

prune664.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite315.0ms

Algorithm
rewrite-expression-head
Rules
120×prod-diff
106×*-un-lft-identity
100×add-sqr-sqrt
82×add-cube-cbrt
74×associate-+r+
71×distribute-rgt-in distribute-lft-in
55×associate--l+
36×pow1
34×associate-+l+
30×log-pow
21×log-prod
16×distribute-lft-out--
10×associate-*r/ add-log-exp
sub-neg
difference-of-squares
add-exp-log flip3-- associate-*r* add-cbrt-cube flip--
expm1-log1p-u fma-neg frac-add log1p-expm1-u
exp-prod associate-*l*
sum-log rem-exp-log
+-commutative fma-def flip3-+ diff-log exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 236
Calls
4 calls:
107.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
4.0ms
(- (log z) t)
15.0ms
(* y (- (log z) t))
171.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series537.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
62.0ms
(- (log z) t)
71.0ms
(* y (- (log z) t))
236.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify112.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
09963661
137852813
250012807

prune988.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
0.0b
(exp (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
0.0b
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
0.3b
(* y (log z))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
19×add-sqr-sqrt
13×add-cube-cbrt
12×log-prod
11×pow1 associate-*l*
add-log-exp
add-exp-log add-cbrt-cube
associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in
expm1-log1p-u log1p-expm1-u distribute-lft-out--
exp-prod log-pow
pow-prod-down associate-*l/ prod-exp sum-log *-commutative cbrt-unprod rem-exp-log distribute-lft-out unswap-sqr
+-commutative associate-+r+ flip3-- fma-def flip3-+ exp-sum flip-- flip-+ fma-udef difference-of-squares
Counts
4 → 90
Calls
4 calls:
32.0ms
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
9.0ms
(exp (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
4.0ms
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
4.0ms
(* y (log z))

series551.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
192.0ms
(exp (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
243.0ms
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
38.0ms
(* y (log z))

simplify54.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04051143
114641023
250011014

prune477.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
0.0b
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
0.0b
(pow E (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
0.3b
(* y (log z))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×add-sqr-sqrt
14×add-cube-cbrt
12×pow1 log-prod
11×associate-*l*
add-exp-log
add-cbrt-cube
associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in add-log-exp
expm1-log1p-u log1p-expm1-u distribute-lft-out--
unpow-prod-down pow-unpow log-pow
pow-prod-down associate-*l/ pow-exp prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
unpow-prod-up +-commutative pow-to-exp e-exp-1 associate-+r+ flip3-- pow-pow fma-def flip3-+ sum-log flip-- flip-+ fma-udef difference-of-squares sqr-pow
Counts
4 → 96
Calls
4 calls:
32.0ms
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
4.0ms
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
3.0ms
(pow E (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
8.0ms
(* y (log z))

series561.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)
240.0ms
(+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a)))
201.0ms
(pow E (+ (* y (log z)) (fma (- t) y (* (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a))))
36.0ms
(* y (log z))

simplify56.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04601295
117501190
250011178

prune496.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes180.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.3s40944×body80nan
812.0ms12492×body80valid
143.0ms390×body640valid
93.0ms411×body320valid
50.0ms68×body1280valid
40.0ms287×body160valid