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
34.0ms380×body80valid
16.0ms196×body80nan
8.0ms19×body640valid
4.0ms15×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.3b

Counts
2 → 1

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

rewrite57.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:
17.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
12.0ms
(* y (- (log z) t))
18.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series112.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
13.0ms
(* y (- (log z) t))
43.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.0ms
(log (- 1.0 z))

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0657992
12473924
25001894

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

rewrite68.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:
20.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))
19.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
60.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))
62.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 (59.0ms)

IterNodesCost
06621755
127631645
250021626

prune301.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

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

rewrite70.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:
19.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
20.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)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
61.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))
58.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 (62.0ms)

IterNodesCost
06621755
127631645
250021626

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

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

series120.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
18.0ms
(- (log z) t)
23.0ms
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
13.0ms
(* y (- (log z) t))

simplify158.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (146.0ms)

IterNodesCost
0351647
11274561
24303519
35001517

prune136.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

regimes422.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
1.1s12615×body80valid
559.0ms6714×body80nan
161.0ms367×body640valid
116.0ms384×body320valid
63.0ms76×body1280valid
47.0ms262×body160valid

Profiling

Loading profile data...