Details

Time bar (total: 12.2s)

sample179.0ms

Algorithm
intervals
Results
70.0ms1227×body80nan
28.0ms404×body80valid
5.0ms14×body640valid
4.0msbody1280valid
2.0ms16×body160valid
1.0msbody320valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.5b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
0.2b
(* y (- (log z) t))
0.3b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.6b
(log (- 1.0 z))

rewrite47.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:
9.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
8.0ms
(* y (- (log z) t))
17.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
4.0ms
(log (- 1.0 z))

series440.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
73.0ms
(* y (- (log z) t))
181.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
47.0ms
(log (- 1.0 z))

simplify99.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09041913
135011501
250011500

prune567.0ms

Filtered
194 candidates to 126 candidates (64.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1904194
Fresh000
Picked101
Done000
Total1914195

Merged error: 0.0b

Counts
195 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
108×prod-diff
96×*-un-lft-identity
93×add-sqr-sqrt
75×add-cube-cbrt
74×associate-+r+
71×distribute-rgt-in distribute-lft-in
52×associate--l+
34×associate-+l+
33×pow1
25×log-pow
18×log-prod
14×distribute-lft-out--
10×associate-*r/ associate-*r*
add-log-exp
sub-neg add-cbrt-cube
add-exp-log difference-of-squares
associate-*l*
flip3-- flip--
expm1-log1p-u frac-add log1p-expm1-u
exp-prod
exp-sum pow-prod-down prod-exp sum-log *-commutative cbrt-unprod rem-exp-log unswap-sqr
+-commutative fma-def flip3-+ flip-+
Counts
4 → 221
Calls
4 calls:
25.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
18.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
8.0ms
(* y (- (log z) t))
30.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
168.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
68.0ms
(* y (- (log z) t))
245.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify127.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
010663859
141953046
250013040

prune901.0ms

Filtered
233 candidates to 147 candidates (63.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2303233
Fresh123
Picked101
Done000
Total2325237

Merged error: 0.0b

Counts
237 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
108×prod-diff
98×add-sqr-sqrt *-un-lft-identity
77×add-cube-cbrt
74×associate-+r+
71×distribute-rgt-in distribute-lft-in
52×associate--l+
34×associate-+l+
32×pow1
25×log-pow
18×log-prod
14×associate-*r* distribute-lft-out--
13×add-exp-log
10×associate-*r/
sub-neg add-cbrt-cube
unpow-prod-down difference-of-squares
associate-*l* add-log-exp
flip3-- prod-exp flip--
expm1-log1p-u frac-add pow-exp log1p-expm1-u unswap-sqr
pow-unpow sqr-pow
unpow-prod-up pow-to-exp e-exp-1 *-commutative cbrt-unprod
+-commutative pow-pow fma-def flip3-+ pow-prod-down sum-log flip-+
Counts
4 → 235
Calls
4 calls:
16.0ms
(* x (pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
16.0ms
(pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
8.0ms
(* y (- (log z) t))
34.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series748.0ms

Counts
4 → 12
Calls
4 calls:
246.0ms
(* x (pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
181.0ms
(pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
75.0ms
(* y (- (log z) t))
245.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify138.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
011344155
146283356
250013354

prune946.0ms

Filtered
247 candidates to 154 candidates (62.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2461247
Fresh134
Picked011
Done000
Total2475252

Merged error: 0.0b

Counts
252 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y (- (log z) t))
0.2b
(log (exp (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))))
0.3b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.6b
(log (- 1.0 z))

rewrite50.0ms

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

series441.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* y (- (log z) t))
142.0ms
(log (exp (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))))
189.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
42.0ms
(log (- 1.0 z))

simplify105.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
09192004
135211568
250011567

prune644.0ms

Filtered
197 candidates to 130 candidates (66.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1961197
Fresh123
Picked101
Done011
Total1984202

Merged error: 0.0b

Counts
202 → 4

regimes208.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03516
13716
23716

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.4s41085×body80nan
811.0ms12535×body80valid
124.0ms354×body640valid
83.0ms380×body320valid
52.0ms66×body1280valid
40.0ms286×body160valid