Details

Time bar (total: 12.4s)

sample216.0ms

Algorithm
intervals
Results
102.0ms1403×body80nan
34.0ms431×body80valid
4.0msbody640valid
3.0ms12×body320valid
1.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune6.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.9b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
0.2b
(* y (- (log z) t))
1.0b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
7.4b
(log (- 1.0 z))

rewrite34.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:
8.0ms
(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))

series444.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
72.0ms
(* y (- (log z) t))
187.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
47.0ms
(log (- 1.0 z))

simplify67.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0630971
12443914
25001902

prune366.0ms

Filtered
113 candidates to 84 candidates (74.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1085113
Fresh000
Picked101
Done000
Total1095114

Merged error: 0.5b

Counts
114 → 5

localize24.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.2b
(* 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)))

rewrite73.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:
18.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
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))
25.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series585.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
104.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
73.0ms
(* y (- (log z) t))
243.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify89.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06451743
128101639
250021630

prune499.0ms

Filtered
135 candidates to 89 candidates (65.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh404
Picked101
Done000
Total1364140

Merged error: 0.0b

Counts
140 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y (- (log z) t))
0.2b
(* 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)))

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

series624.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04942014
120471920
250031910

prune815.0ms

Filtered
156 candidates to 110 candidates (70.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh033
Picked011
Done000
Total1564160

Merged error: 0.0b

Counts
160 → 4

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
72×associate--l+
42×associate-+r+ log-prod
41×distribute-rgt-in distribute-lft-in
30×associate-+l+
26×associate-*r/
24×add-sqr-sqrt
23×*-un-lft-identity
20×add-cube-cbrt sub-neg
13×flip3-- flip--
12×frac-add
10×add-log-exp
pow1
add-exp-log associate-*r* add-cbrt-cube
+-commutative flip3-+ associate-*l* sum-log flip-+
distribute-lft-out--
pow-prod-down prod-exp log-pow *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 150
Calls
4 calls:
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)))
21.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
21.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series796.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04942671
120472556
250032551

prune940.0ms

Filtered
162 candidates to 123 candidates (75.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh022
Picked011
Done011
Total1624166

Merged error: 0.0b

Counts
166 → 4

regimes188.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03434
13434

end0.0ms

sample6.2s

Algorithm
intervals
Results
2.9s40501×body80nan
1.0s12543×body80valid
156.0ms370×body640valid
109.0ms405×body320valid
61.0ms74×body1280valid
45.0ms268×body160valid

Profiling

Loading profile data...