Details

Time bar (total: 20.7s)

sample197.0ms

Algorithm
intervals
Results
87.0ms1477×body80nan
29.0ms450×body80valid
2.0ms33×body80overflowed
1.0msbody320valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
96×prod-diff
91×add-sqr-sqrt
89×*-un-lft-identity
73×add-cube-cbrt
72×distribute-rgt-in distribute-lft-in
38×associate-+r+
37×log-prod
35×pow1
34×associate-+l+
32×associate--l+
27×log-pow
12×associate-*r/ associate-*r*
add-exp-log distribute-lft-out--
sub-neg add-cbrt-cube
flip3-- flip-- difference-of-squares
associate-*l* add-log-exp
expm1-log1p-u frac-add log1p-expm1-u
log-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative fma-def flip3-+ rem-log-exp sum-log flip-+
Counts
4 → 230
Calls
4 calls:
20.0ms
(* a (- (log (- 1.0 z)) b))
14.0ms
(* y (- (log z) t))
20.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series365.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* a (- (log (- 1.0 z)) b))
70.0ms
(* y (- (log z) t))
181.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
42.0ms
(log (- 1.0 z))

simplify106.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09592405
139101813
250011810

prune697.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite968.0ms

Algorithm
rewrite-expression-head
Rules
168×prod-diff
156×*-un-lft-identity
144×add-sqr-sqrt
110×add-cube-cbrt
108×distribute-rgt-in distribute-lft-in
92×associate--l+
74×associate-+r+
48×pow1
38×log-pow
34×associate-+l+
31×distribute-lft-out--
24×log-prod
17×associate-*r*
14×difference-of-squares
12×sub-neg associate-*r/
10×add-cbrt-cube
add-exp-log associate-*l*
flip3-- flip-- add-log-exp
expm1-log1p-u frac-add log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative fma-def flip3-+ exp-sum sum-log flip-+
Counts
4 → 306
Calls
4 calls:
302.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
464.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
17.0ms
(* y (- (log z) t))
163.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series645.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
011196148
146764554
250014552

prune1.1s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
0.1b
(* y (- (log z) t))
0.2b
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
30.4b
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
31×*-un-lft-identity
28×add-cube-cbrt
24×prod-diff
17×distribute-rgt-in distribute-lft-in
14×pow1
12×cbrt-prod
add-exp-log log-pow add-cbrt-cube
unpow-prod-down log-prod cube-prod associate-*r* associate--l+
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*l*
cube-mult sub-neg unpow3 associate-*r/ distribute-lft-out-- sqr-pow
pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative flip-- rem-cbrt-cube cbrt-unprod fma-udef rem-cube-cbrt difference-of-squares unswap-sqr
Counts
4 → 117
Calls
4 calls:
0.0ms
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
15.0ms
(* y (- (log z) t))
1.0ms
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
1.0ms
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

series6.9s

Counts
4 → 12
Calls
4 calls:
215.0ms
(fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t)))
76.0ms
(* y (- (log z) t))
6.3s
(pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3)
217.0ms
(cbrt (pow (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log z) t))) 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04651703
119521427
250031414

prune464.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (- (log z) t))
0.1b
(* y (- (log z) t))
1.0b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
1.0b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

rewrite380.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
182×*-un-lft-identity
172×add-sqr-sqrt
148×associate-+r+
142×distribute-rgt-in distribute-lft-in
140×add-cube-cbrt
104×associate--l+
68×associate-+l+
58×pow1
50×log-pow
36×log-prod
28×distribute-lft-out--
20×associate-*r/
16×sub-neg
14×difference-of-squares
12×associate-*r*
10×flip3-- flip--
add-exp-log frac-add add-cbrt-cube add-log-exp
associate-*l*
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 370
Calls
4 calls:
14.0ms
(* y (- (log z) t))
14.0ms
(* y (- (log z) t))
161.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
162.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series611.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* y (- (log z) t))
76.0ms
(* y (- (log z) t))
237.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)))

simplify136.0ms

Algorithm
egg-herbie
Counts
382 → 382
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08996250
134034818
250014806

prune2.0s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes144.0ms

Accuracy

0% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03016
13016

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.5s43082×body80nan
869.0ms13153×body80valid
59.0ms825×body80overflowed
40.0ms103×body640valid
27.0ms113×body320valid
19.0ms26×body1280valid
16.0ms111×body160valid