Details

Time bar (total: 11.6s)

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 62.5%

Guaranteed chance to sample good point: 33.333333%

Results
19.0ms228×body80valid
16.0ms196×body80nan
12.0ms152×body80invalid
4.0ms10×body640valid
4.0msbody640invalid
4.0ms13×body320valid
1.0msbody1280valid
1.0msbody1280invalid
1.0msbody320invalid
1.0msbody160valid
0.0msbody160invalid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.3b

Counts
2 → 1

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
27×log-prod
24×add-sqr-sqrt
23×*-un-lft-identity
22×associate--l+
17×distribute-rgt-in distribute-lft-in
14×add-cube-cbrt associate-+r+
10×associate-+l+ associate-*r/
add-log-exp
pow1
add-exp-log
sub-neg flip3-- associate-*r* add-cbrt-cube flip--
distribute-lft-out--
frac-add difference-of-squares
exp-prod associate-*l*
log-div sum-log log-pow rem-exp-log
+-commutative flip3-+ rem-log-exp exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 101
Calls
4 calls:
8.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
7.0ms
(* y (- (log z) t))
11.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series102.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
16.0ms
(* y (- (log z) t))
36.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0657992
12473924
25001894

prune194.0ms

Filtered
83 candidates to 113 candidates (-36.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.3b

Counts
114 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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.1b
(* 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)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
44×associate--l+
27×*-un-lft-identity
25×add-sqr-sqrt
24×distribute-rgt-in log-prod distribute-lft-in
17×add-cube-cbrt
14×associate-+r+
13×associate-*r*
12×sub-neg associate-*r/
10×pow1 associate-+l+
add-log-exp
add-exp-log add-cbrt-cube
distribute-lft-out--
flip3-- associate-*l* flip--
frac-add
exp-prod
pow-prod-down prod-exp sum-log log-pow *-commutative cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
+-commutative flip3-+ exp-sum flip-+
Counts
4 → 123
Calls
4 calls:
17.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
17.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
7.0ms
(* y (- (log z) t))
21.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
57.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
13.0ms
(* y (- (log z) t))
53.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify80.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06621755
127631645
250021626

prune312.0ms

Filtered
87 candidates to 135 candidates (-55.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1323135
Fresh202
Picked101
Done000
Total1353138

Merged error: 0.0b

Counts
138 → 3

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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.1b
(* 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)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
44×associate--l+
27×*-un-lft-identity
25×add-sqr-sqrt
24×distribute-rgt-in log-prod distribute-lft-in
17×add-cube-cbrt
14×associate-+r+
13×associate-*r*
12×sub-neg associate-*r/
10×pow1 associate-+l+
add-log-exp
add-exp-log add-cbrt-cube
distribute-lft-out--
flip3-- associate-*l* flip--
frac-add
exp-prod
pow-prod-down prod-exp sum-log log-pow *-commutative cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
+-commutative flip3-+ exp-sum flip-+
Counts
4 → 123
Calls
4 calls:
18.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
19.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
7.0ms
(* y (- (log z) t))
20.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
58.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
13.0ms
(* y (- (log z) t))
55.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify78.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06621755
127631645
250021626

prune339.0ms

Filtered
88 candidates to 135 candidates (-53.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1350135
Fresh022
Picked011
Done000
Total1353138

Merged error: 0.0b

Counts
138 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*r*
log-prod associate--l+
add-cbrt-cube add-log-exp
add-exp-log
associate-*l*
distribute-rgt-in distribute-lft-in
distribute-lft-out--
sub-neg exp-prod
flip3-- associate-*r/ exp-sum pow-prod-down prod-exp log-pow *-commutative flip-- cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
diff-log sum-log
Counts
4 → 83
Calls
4 calls:
10.0ms
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
4.0ms
(- (log z) t)
7.0ms
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
7.0ms
(* y (- (log z) t))

series82.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
9.0ms
(- (log z) t)
21.0ms
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
15.0ms
(* y (- (log z) t))

simplify106.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0351647
11274561
24303519
35001517

prune122.0ms

Filtered
66 candidates to 95 candidates (-43.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh011
Picked011
Done011
Total95398

Merged error: 0.0b

Counts
98 → 3

regimes563.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample6.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 62.5%

Guaranteed chance to sample good point: 33.333333%

Results
619.0ms7252×body80valid
554.0ms6714×body80nan
446.0ms5363×body80invalid
110.0ms258×body640valid
70.0ms254×body320valid
47.0ms109×body640invalid
46.0ms53×body1280valid
36.0ms130×body320invalid
32.0ms183×body160valid
17.0ms23×body1280invalid
13.0ms79×body160invalid

Profiling

Loading profile data...