Details

Time bar (total: 16.6s)

sample184.0ms

Algorithm
intervals
Results
69.0ms1200×body80nan
23.0ms380×body80valid
4.0ms12×body640valid
3.0ms13×body320valid
2.0ms13×body160valid
1.0msbody1280valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.6b

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.3b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.3b
(log (- 1.0 z))

rewrite126.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:
40.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
31.0ms
(* y (- (log z) t))
39.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
6.0ms
(log (- 1.0 z))

series421.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
61.0ms
(* y (- (log z) t))
178.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
46.0ms
(log (- 1.0 z))

simplify96.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09041913
135011501
250011500

prune660.0ms

Pruning

4 alts after pruning (4 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
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
0.1b
(* 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)))

rewrite1.2s

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:
176.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
729.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
29.0ms
(* y (- (log z) t))
263.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series562.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
101.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
69.0ms
(* y (- (log z) t))
228.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 (100.0ms)

IterNodesCost
010915982
144694426
250014420

prune1.1s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize32.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))))

rewrite395.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:
284.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)))))
35.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
34.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
38.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))

series886.0ms

Counts
4 → 12
Calls
4 calls:
245.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)))))
212.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
217.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))
212.0ms
(cbrt (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))))

simplify69.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05272977
119672821
250012531

prune859.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite604.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
182×*-un-lft-identity
172×add-sqr-sqrt
148×associate-+r+
142×distribute-rgt-in distribute-lft-in
140×add-cube-cbrt
104×associate--l+
68×associate-+l+
58×pow1
50×log-pow
36×log-prod
28×distribute-lft-out--
20×associate-*r/
16×sub-neg
14×difference-of-squares
12×associate-*r*
10×flip3-- flip--
add-exp-log frac-add add-cbrt-cube add-log-exp
associate-*l*
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 370
Calls
4 calls:
29.0ms
(* y (- (log z) t))
28.0ms
(* y (- (log z) t))
259.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
262.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series789.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* y (- (log z) t))
66.0ms
(* y (- (log z) t))
215.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
442.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify128.0ms

Algorithm
egg-herbie
Counts
382 → 382
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08996250
134034818
250014806

prune2.0s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes189.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04642
15342
25342

end0.0ms

sample6.0s

Algorithm
intervals
Results
2.2s41637×body80nan
782.0ms12718×body80valid
121.0ms350×body640valid
76.0ms370×body320valid
43.0ms62×body1280valid
41.0ms308×body160valid