Details

Time bar (total: 19.1s)

sample184.0ms

Algorithm
intervals
Results
66.0ms1200×body80nan
22.0ms380×body80valid
4.0ms12×body640valid
3.0ms13×body320valid
2.0ms13×body160valid
1.0msbody1280valid

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.6b

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

rewrite104.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:
40.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
25.0ms
(* y (- (log z) t))
31.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.0ms
(log (- 1.0 z))

series423.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
68.0ms
(* y (- (log z) t))
179.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
43.0ms
(log (- 1.0 z))

simplify73.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0630971
12443914
25001902

prune415.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite938.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:
164.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
592.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
24.0ms
(* y (- (log z) t))
151.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series546.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
94.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
69.0ms
(* y (- (log z) t))
229.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify86.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06451743
128101639
250021630

prune566.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite360.0ms

Algorithm
rewrite-expression-head
Rules
56×associate--l+
36×log-prod
34×distribute-rgt-in distribute-lft-in
28×add-sqr-sqrt associate-+r+
26×*-un-lft-identity
20×add-cube-cbrt associate-+l+ associate-*r/
16×sub-neg
12×associate-*r*
10×pow1 flip3-- flip--
add-exp-log frac-add add-cbrt-cube add-log-exp
associate-*l*
distribute-lft-out--
+-commutative flip3-+ pow-prod-down prod-exp sum-log log-pow *-commutative cbrt-unprod flip-+ difference-of-squares unswap-sqr
Counts
4 → 144
Calls
4 calls:
25.0ms
(* y (- (log z) t))
24.0ms
(* y (- (log z) t))
150.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
153.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series598.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* y (- (log z) t))
65.0ms
(* y (- (log z) t))
234.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
229.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify70.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04942014
120471920
250031910

prune911.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ (* (- (log z) t) y) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))) 3)
0.3b
(+ (* (- (log z) t) y) (* 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)))
28.5b
(cbrt (pow (+ (* (- (log z) t) y) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))) 3))

rewrite356.0ms

Algorithm
rewrite-expression-head
Rules
38×associate--l+
28×associate-+r+
20×associate-*r/
19×distribute-rgt-in distribute-lft-in
18×log-prod
16×add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity frac-add flip--
12×cube-div cbrt-prod associate-*l/
10×sub-neg associate-+l+
add-log-exp
unpow-prod-down cbrt-div cube-prod
pow1 add-exp-log add-cbrt-cube
flip3-+ flip-+
pow-unpow
+-commutative cube-mult unpow3 sum-log sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 124
Calls
4 calls:
25.0ms
(pow (+ (* (- (log z) t) y) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))) 3)
151.0ms
(+ (* (- (log z) t) y) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
152.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
23.0ms
(cbrt (pow (+ (* (- (log z) t) y) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))) 3))

series6.2s

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

simplify98.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07483315
129413206
250023198

prune903.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes176.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample5.9s

Algorithm
intervals
Results
2.1s41637×body80nan
746.0ms12718×body80valid
118.0ms350×body640valid
77.0ms370×body320valid
44.0ms62×body1280valid
38.0ms308×body160valid