Details

Time bar (total: 21.2s)

sample211.0ms

Algorithm
intervals
Results
80.0ms1466×body80nan
24.0ms389×body80valid
4.0ms12×body640valid
3.0ms12×body320valid
2.0msbody1280valid
1.0msbody160valid

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: 3.2b

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)))
9.5b
(log (- 1.0 z))

rewrite121.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))))
27.0ms
(* y (- (log z) t))
37.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
6.0ms
(log (- 1.0 z))

series411.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
67.0ms
(* y (- (log z) t))
177.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
40.0ms
(log (- 1.0 z))

simplify102.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09041913
135011501
250011500

prune645.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize27.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
(* 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.5s

Algorithm
rewrite-expression-head
Rules
168×prod-diff
156×*-un-lft-identity
144×add-sqr-sqrt
110×add-cube-cbrt
108×distribute-rgt-in distribute-lft-in
92×associate--l+
74×associate-+r+
48×pow1
38×log-pow
34×associate-+l+
31×distribute-lft-out--
24×log-prod
17×associate-*r*
14×difference-of-squares
12×sub-neg associate-*r/
10×add-cbrt-cube
add-exp-log associate-*l*
flip3-- flip-- add-log-exp
expm1-log1p-u frac-add log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative fma-def flip3-+ exp-sum sum-log flip-+
Counts
4 → 306
Calls
4 calls:
483.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
694.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
28.0ms
(* y (- (log z) t))
253.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series601.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
96.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
69.0ms
(* y (- (log z) t))
227.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify158.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
011196148
146764554
250014552

prune1.1s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
0.1b
(* y (- (log z) t))
0.2b
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
28.1b
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
31×*-un-lft-identity
28×add-cube-cbrt
24×prod-diff
17×distribute-rgt-in distribute-lft-in
14×pow1
12×cbrt-prod
add-exp-log log-pow add-cbrt-cube
unpow-prod-down log-prod cube-prod associate-*r* associate--l+
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*l*
cube-mult sub-neg unpow3 associate-*r/ distribute-lft-out-- sqr-pow
pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative flip-- rem-cbrt-cube cbrt-unprod fma-udef rem-cube-cbrt difference-of-squares unswap-sqr
Counts
4 → 117
Calls
4 calls:
0.0ms
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
31.0ms
(* y (- (log z) t))
3.0ms
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
2.0ms
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

series6.5s

Counts
4 → 12
Calls
4 calls:
193.0ms
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
60.0ms
(* y (- (log z) t))
6.0s
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
203.0ms
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04651703
119521427
250031414

prune440.0ms

Pruning

4 alts after pruning (3 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)))

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

series566.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
382 → 382
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08996250
134034818
250014806

prune2.0s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes217.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03016
13016

end0.0ms

sample5.7s

Algorithm
intervals
Results
2.1s40541×body80nan
754.0ms12409×body80valid
124.0ms365×body640valid
90.0ms425×body320valid
49.0ms69×body1280valid
35.0ms272×body160valid