Details

Time bar (total: 11.8s)

sample3.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 63.15918%

Guaranteed chance to sample good point: 12.781643%

Results
19.0ms237×body80valid
16.0ms208×body80nan
14.0ms135×body80invalid
3.0ms10×body320valid
2.0msbody1280valid
2.0msbody640invalid
2.0msbody640valid
0.0msbody160invalid
0.0msbody160valid
0.0msbody320invalid

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

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series119.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))))
40.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
13.0ms
(* y (- (log z) t))
3.0ms
(log (- 1.0 z))

simplify70.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06981103
127261014
25002988

prune190.0ms

Filtered
87 candidates to 119 candidates (-36.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1172119
Fresh000
Picked101
Done000
Total1182120

Merged error: 0.0b

Counts
120 → 2

localize21.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
(+ (* 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))

rewrite72.0ms

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

series172.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
51.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
22.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
13.0ms
(* y (- (log z) t))

simplify83.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06901916
129441773
250021755

prune311.0ms

Filtered
92 candidates to 141 candidates (-53.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh011
Picked011
Done000
Total1403143

Merged error: 0.0b

Counts
143 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (- (log z) t))
0.1b
(* y (- (log z) t))
4.4b
(log (- 1.0 z))
4.4b
(log (- 1.0 z))

rewrite24.0ms

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

series35.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* y (- (log z) t))
13.0ms
(* y (- (log z) t))
3.0ms
(log (- 1.0 z))
5.0ms
(log (- 1.0 z))

simplify92.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0290586
11000516
24269494
35001494

prune213.0ms

Filtered
72 candidates to 110 candidates (-52.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done011
Total1103113

Merged error: 0.0b

Counts
113 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2)))))))
0.0b
(+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))
0.3b
(* (/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))))) (* (pow z y) (exp (* a (- (log 1.0) b)))))
8.0b
(* a (pow z 2))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×add-exp-log add-cube-cbrt *-un-lft-identity times-frac
20×add-cbrt-cube
19×associate-*l*
17×prod-exp
associate-*r*
exp-sum cbrt-unprod
pow1 add-log-exp
div-exp
unpow-prod-down associate-/r* unswap-sqr
cbrt-undiv pow-to-exp pow-exp associate-/l*
*-commutative div-inv unpow2 sqr-pow
+-commutative frac-2neg flip3-+ pow-prod-down associate-*l/ clear-num sum-log flip-+
Counts
4 → 108
Calls
4 calls:
10.0ms
(/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2)))))))
5.0ms
(+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))
19.0ms
(* (/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))))) (* (pow z y) (exp (* a (- (log 1.0) b)))))
6.0ms
(* a (pow z 2))

series189.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2)))))))
14.0ms
(+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))
110.0ms
(* (/ x (exp (+ (* t y) (+ (* 1.0 (* a z)) (* 0.5 (* a (pow z 2))))))) (* (pow z y) (exp (* a (- (log 1.0) b)))))
7.0ms
(* a (pow z 2))

simplify78.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05811659
126111411
250011401

prune232.0ms

Filtered
83 candidates to 120 candidates (-44.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh000
Picked101
Done022
Total1203123

Merged error: 0.0b

Counts
123 → 3

regimes635.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample6.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 63.15918%

Guaranteed chance to sample good point: 12.781643%

Results
602.0ms7227×body80valid
539.0ms6699×body80nan
392.0ms4822×body80invalid
106.0ms243×body640valid
77.0ms278×body320valid
45.0ms54×body1280valid
42.0ms101×body640invalid
37.0ms198×body160valid
32.0ms121×body320invalid
15.0ms80×body160invalid
14.0ms18×body1280invalid

Profiling

Loading profile data...