Details

Time bar (total: 13.4s)

sample180.0ms

Algorithm
intervals
Results
78.0ms1333×body80nan
24.0ms375×body80valid
6.0ms25×body320valid
3.0msbody640valid
1.0msbody160valid

simplify41.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: 3.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
0.1b
(* y (- (log z) t))
0.5b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
4.2b
(log (- 1.0 z))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
72×prod-diff
66×add-sqr-sqrt
65×*-un-lft-identity
56×add-cube-cbrt
53×distribute-rgt-in distribute-lft-in
38×associate-+r+
34×associate-+l+
27×log-prod
26×pow1
22×associate--l+
20×log-pow
10×associate-*r/
add-log-exp
add-exp-log
sub-neg flip3-- associate-*r* add-cbrt-cube flip--
distribute-lft-out--
expm1-log1p-u frac-add log1p-expm1-u difference-of-squares
exp-prod associate-*l*
log-div sum-log rem-exp-log
+-commutative fma-def flip3-+ rem-log-exp exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 182
Calls
4 calls:
18.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
19.0ms
(* y (- (log z) t))
21.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series456.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
69.0ms
(* y (- (log z) t))
192.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
49.0ms
(log (- 1.0 z))

simplify90.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09041913
135011501
250011500

prune648.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize26.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
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
0.1b
(* y (- (log z) t))
0.5b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

rewrite819.0ms

Algorithm
rewrite-expression-head
Rules
168×prod-diff
155×*-un-lft-identity
141×add-sqr-sqrt
109×add-cube-cbrt
108×distribute-rgt-in distribute-lft-in
92×associate--l+
74×associate-+r+
46×pow1
38×log-pow
34×associate-+l+
31×distribute-lft-out--
24×log-prod
14×difference-of-squares
13×associate-*r*
12×sub-neg associate-*r/
add-log-exp
add-exp-log add-cbrt-cube
flip3-- associate-*l* flip--
expm1-log1p-u frac-add log1p-expm1-u
exp-prod
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod rem-exp-log unswap-sqr
+-commutative fma-def flip3-+ exp-sum flip-+
Counts
4 → 300
Calls
4 calls:
111.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
497.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
16.0ms
(* y (- (log z) t))
177.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
111.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
77.0ms
(* y (- (log z) t))
257.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify147.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
010915982
144694426
250014420

prune1.1s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))) (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))))
0.7b
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
0.7b
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
0.7b
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))

rewrite276.0ms

Algorithm
rewrite-expression-head
Rules
58×cbrt-prod
52×*-un-lft-identity
37×add-sqr-sqrt
22×pow1 distribute-lft-out--
18×cbrt-div
15×add-cube-cbrt swap-sqr
11×log-pow
flip3-- pow1/3 associate-*r* associate-*l* flip--
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 119
Calls
4 calls:
197.0ms
(* (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))) (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))))
24.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
27.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
23.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))

series997.0ms

Counts
4 → 12
Calls
4 calls:
277.0ms
(* (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))) (cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z)))))
242.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
233.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
244.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))

simplify80.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05272977
119672821
250012531

prune1.1s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series636.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(exp (+ (* y (log z)) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- t)))))
233.0ms
(+ (* y (log z)) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- t))))
45.0ms
(* y (log z))
182.0ms
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- t)))

simplify127.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0310948
11043867
24750859
35001859

prune430.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

regimes191.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03317
13917
23917

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.3s40675×body80nan
799.0ms12476×body80valid
129.0ms362×body640valid
97.0ms442×body320valid
56.0ms76×body1280valid
35.0ms258×body160valid