Details

Time bar (total: 12.2s)

sample185.0ms

Algorithm
intervals
Results
79.0ms1341×body80nan
25.0ms398×body80valid
8.0ms17×body640valid
3.0ms12×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (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)))
3.1b
(log (- 1.0 z))

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

series475.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))))
73.0ms
(* y (- (log z) t))
192.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
48.0ms
(log (- 1.0 z))

simplify72.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06751085
127231003
25001985

prune452.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite77.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:
22.0ms
(* x (exp (+ (* 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))
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)))

series650.0ms

Counts
4 → 12
Calls
4 calls:
224.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
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
68.0ms
(* y (- (log z) t))
246.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify90.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06771907
130191768
250011757

prune624.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (* x (exp (+ (* 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)))
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)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
66×associate--l+
42×associate-+r+
36×distribute-rgt-in log-prod distribute-lft-in
30×associate-+l+
24×associate-*r/
18×sub-neg
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×flip3-- frac-add flip--
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
+-commutative flip3-+ sum-log flip-+
cbrt-prod pow1/3
Counts
4 → 126
Calls
4 calls:
18.0ms
(cbrt (* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))))
22.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
27.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
22.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series1.1s

Counts
4 → 12
Calls
4 calls:
379.0ms
(cbrt (* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))))
248.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
240.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
247.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify75.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05062750
118172612
250012595

prune1.0s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize25.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.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)))
12.3b
(cbrt (pow (* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))) 3))

rewrite72.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-exp-log cbrt-prod add-cbrt-cube
distribute-lft-out--
flip3-- associate-*l* flip-- add-log-exp
frac-add
pow-prod-down prod-exp log-pow *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative cube-mult unpow-prod-down flip3-+ pow1/3 unpow3 cube-prod sum-log rem-cbrt-cube flip-+ sqr-pow
Counts
4 → 127
Calls
4 calls:
19.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
7.0ms
(* y (- (log z) t))
27.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
13.0ms
(cbrt (pow (* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))) 3))

series673.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
75.0ms
(* y (- (log z) t))
240.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
252.0ms
(cbrt (pow (* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))) 3))

simplify95.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06731941
129151864
250021854

prune677.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes214.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.3s40473×body80nan
799.0ms12446×body80valid
129.0ms364×body640valid
88.0ms399×body320valid
66.0ms90×body1280valid
37.0ms274×body160valid