Details

Time bar (total: 16.7s)

sample227.0ms

Algorithm
intervals
Results
102.0ms1179×body80nan
45.0ms411×body80valid
4.0msbody640valid
4.0msbody1280valid
2.0msbody320valid
2.0msbody160valid

simplify40.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.2b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.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:
19.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))

series448.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
68.0ms
(* y (- (log z) t))
188.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
49.0ms
(log (- 1.0 z))

simplify93.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09041913
135011501
250011500

prune638.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite641.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:
320.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
112.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
16.0ms
(* y (- (log z) t))
180.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series704.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
164.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
71.0ms
(* y (- (log z) t))
243.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify122.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
010663859
141953046
250013040

prune990.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt z) (cbrt z))
0.7b
(cbrt z)
0.7b
(cbrt z)
0.7b
(cbrt z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt z) (cbrt z))
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series906.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(* (cbrt z) (cbrt z))
170.0ms
(cbrt z)
172.0ms
(cbrt z)
370.0ms
(cbrt z)

simplify91.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune554.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.5b
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
0.5b
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
0.8b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
0.8b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

rewrite589.0ms

Algorithm
rewrite-expression-head
Rules
168×prod-diff
148×associate-+r+
144×*-un-lft-identity
134×add-sqr-sqrt
108×distribute-rgt-in add-cube-cbrt distribute-lft-in
92×associate--l+
68×associate-+l+
42×pow1
36×log-pow
24×log-prod distribute-lft-out--
16×associate-*r/
12×sub-neg difference-of-squares
flip3-- sqrt-pow1 frac-add sqrt-prod flip-- add-log-exp
exp-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative rem-sqrt-square fma-def flip3-+ pow1/2 exp-sum sum-log flip-+
Counts
4 → 290
Calls
4 calls:
109.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
108.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
177.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
176.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series1.0s

Counts
4 → 12
Calls
4 calls:
265.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
266.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
238.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
241.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
302 → 302
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
08495982
127734874
250014626

prune1.7s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes186.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03421
13421

end0.0ms

sample7.4s

Algorithm
intervals
Results
3.6s40715×body80nan
1.3s12598×body80valid
202.0ms382×body640valid
133.0ms385×body320valid
65.0ms66×body1280valid
59.0ms271×body160valid