Details

Time bar (total: 11.3s)

sample187.0ms

Algorithm
intervals
Results
75.0ms1179×body80nan
27.0ms411×body80valid
4.0msbody1280valid
3.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune3.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.2b

Counts
2 → 1

localize15.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))
0.8b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
5.6b
(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))

series618.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
70.0ms
(* y (- (log z) t))
354.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
46.0ms
(log (- 1.0 z))

simplify69.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0630971
12443914
25001902

prune354.0ms

Filtered
113 candidates to 84 candidates (74.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.7b

Counts
114 → 3

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
28×associate--l+
21×add-sqr-sqrt
18×log-prod *-un-lft-identity
17×distribute-rgt-in distribute-lft-in
15×add-cube-cbrt
14×associate-+r+
10×associate-+l+ associate-*r/ associate-*r*
pow1 add-log-exp
sub-neg add-cbrt-cube
add-exp-log
associate-*l*
flip3-- flip--
frac-add
exp-prod
exp-sum pow-prod-down prod-exp sum-log *-commutative cbrt-unprod rem-exp-log distribute-lft-out-- unswap-sqr
+-commutative flip3-+ log-pow flip-+ difference-of-squares
Counts
4 → 104
Calls
4 calls:
20.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
18.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
7.0ms
(* y (- (log z) t))
20.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series740.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(* x (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
196.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
71.0ms
(* y (- (log z) t))
239.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify76.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06461698
127871557
250031544

prune447.0ms

Filtered
116 candidates to 82 candidates (70.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1124116
Fresh112
Picked101
Done000
Total1145119

Merged error: 0b

Counts
119 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
0.5b
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
0.8b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
0.8b
(+ (* 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
44×associate--l+
28×associate-+r+
24×distribute-rgt-in log-prod distribute-lft-in
20×associate-+l+
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity associate-*r/
12×sub-neg
flip3-- sqrt-pow1 frac-add sqrt-prod flip-- add-log-exp
pow1 exp-prod
add-exp-log add-cbrt-cube
+-commutative rem-sqrt-square flip3-+ pow1/2 exp-sum sum-log flip-+
Counts
4 → 112
Calls
4 calls:
16.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
16.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
24.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
20.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series1.0s

Counts
4 → 12
Calls
4 calls:
270.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
283.0ms
(sqrt (exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))))
242.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))
239.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify65.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04872362
117742262
250032252

prune698.0ms

Filtered
124 candidates to 102 candidates (82.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1240124
Fresh044
Picked011
Done000
Total1245129

Merged error: 0b

Counts
129 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt z)
0.7b
(cbrt z)
0.8b
(+ (+ (* y (* 2 (log (cbrt z)))) (* y (- (log (cbrt z)) t))) (* a (- (log (- 1.0 z)) b)))
5.6b
(log (- 1.0 z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt log-prod *-un-lft-identity
14×associate-+r+
10×associate--l+
add-cube-cbrt add-log-exp
distribute-rgt-in distribute-lft-in
cbrt-prod
pow1 add-exp-log
associate-*r/ frac-add add-cbrt-cube
flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out-- difference-of-squares
sub-neg log-div pow1/3
+-commutative associate-+l+ rem-log-exp log-pow
Counts
4 → 69
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
16.0ms
(+ (+ (* y (* 2 (log (cbrt z)))) (* y (- (log (cbrt z)) t))) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series699.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt z)
185.0ms
(cbrt z)
292.0ms
(+ (+ (* y (* 2 (log (cbrt z)))) (* y (- (log (cbrt z)) t))) (* a (- (log (- 1.0 z)) b)))
42.0ms
(log (- 1.0 z))

simplify62.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0552963
11996921
25003917

prune338.0ms

Filtered
81 candidates to 67 candidates (82.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done011
Total81586

Merged error: 0b

Counts
86 → 5

regimes221.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03534
13534

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.3s40715×body80nan
792.0ms12598×body80valid
133.0ms382×body640valid
82.0ms385×body320valid
48.0ms66×body1280valid
36.0ms271×body160valid