Details

Time bar (total: 12.4s)

sample193.0ms

Algorithm
intervals
Results
81.0ms1341×body80nan
29.0ms398×body80valid
6.0ms17×body640valid
3.0ms12×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
72×prod-diff
69×add-sqr-sqrt
66×*-un-lft-identity
57×add-cube-cbrt
53×distribute-rgt-in distribute-lft-in
38×associate-+r+
34×associate-+l+
28×pow1
27×log-prod
22×associate--l+
20×log-pow
10×associate-*r/ associate-*r*
add-exp-log add-cbrt-cube
sub-neg flip3-- associate-*l* flip-- add-log-exp
distribute-lft-out--
expm1-log1p-u frac-add log1p-expm1-u difference-of-squares
log-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative fma-def flip3-+ rem-log-exp exp-sum sum-log flip-+
Counts
4 → 188
Calls
4 calls:
14.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))))
8.0ms
(* y (- (log z) t))
17.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
4.0ms
(log (- 1.0 z))

series454.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))))
67.0ms
(* y (- (log z) t))
195.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
42.0ms
(log (- 1.0 z))

simplify99.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
09472029
137901591
250011590

prune640.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite101.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:
21.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
26.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
8.0ms
(* y (- (log z) t))
28.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series628.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
96.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
67.0ms
(* y (- (log z) t))
230.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify158.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
011196148
146764554
250014552

prune1.1s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))
0.0b
(* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))))
0.1b
(* y (- (log (sqrt z)) t))
0.2b
(* y (log (sqrt z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
43×*-un-lft-identity
40×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
36×log-prod prod-diff
25×pow1
22×log-pow
18×sqrt-prod
16×associate-*r*
12×associate-+l+ associate--l+
10×add-cbrt-cube
add-exp-log associate-*l*
sqrt-pow1 pow1/2
add-log-exp
expm1-log1p-u log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg associate-*r/ distribute-lft-out--
+-commutative associate-+r+ flip3-- fma-def flip3-+ exp-sum sum-log flip-- flip-+ fma-udef difference-of-squares
Counts
4 → 160
Calls
4 calls:
9.0ms
(+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))
9.0ms
(* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))))
10.0ms
(* y (- (log (sqrt z)) t))
5.0ms
(* y (log (sqrt z)))

series778.0ms

Counts
4 → 12
Calls
4 calls:
332.0ms
(+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))
260.0ms
(* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t))))))
95.0ms
(* y (- (log (sqrt z)) t))
91.0ms
(* y (log (sqrt z)))

simplify80.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06752187
125731786
250011765

prune692.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t)))))))
0.2b
(* y (log (sqrt z)))
0.2b
(* y (log (sqrt z)))
0.2b
(* y (log (sqrt z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
36×log-prod
28×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
18×distribute-rgt-in distribute-lft-in associate-*r* sqrt-prod
16×pow1
10×add-exp-log add-cbrt-cube
associate-*l* log-pow
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-prod pow1/3
Counts
4 → 116
Calls
4 calls:
6.0ms
(cbrt (* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t)))))))
6.0ms
(* y (log (sqrt z)))
6.0ms
(* y (log (sqrt z)))
6.0ms
(* y (log (sqrt z)))

series699.0ms

Counts
4 → 12
Calls
4 calls:
432.0ms
(cbrt (* x (exp (+ (* y (log (sqrt z))) (fma (- (log 1.0) (+ (fma 1/2 (/ (pow z 2) (pow 1.0 2)) (* 1.0 z)) b)) a (* y (- (log (sqrt z)) t)))))))
90.0ms
(* y (log (sqrt z)))
87.0ms
(* y (log (sqrt z)))
89.0ms
(* y (log (sqrt z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03591019
11290903
25001866

prune714.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes197.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03219
13219

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.4s40473×body80nan
835.0ms12446×body80valid
136.0ms364×body640valid
93.0ms399×body320valid
66.0ms90×body1280valid
38.0ms274×body160valid