Details

Time bar (total: 1.8s)

sample22.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms118×body80overflowed

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.0b
(/ (exp a) (+ (exp a) (exp b)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
associate-/r* add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp a) (exp b))
6.0ms
(/ (exp a) (+ (exp a) (exp b)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (exp a) (exp b))
11.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify88.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0163384
1486357
21209355
34128355
45002355

prune52.0ms

Filtered
37 candidates to 51 candidates (-37.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New48351
Fresh000
Picked101
Done000
Total49352

Merged error: 0b

Counts
52 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
0.0b
(sqrt (exp a))
0.0b
(sqrt (exp a))
0.0b
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
60×add-sqr-sqrt
52×times-frac
42×add-cube-cbrt
41×sqrt-prod
30×associate-*r*
13×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1 sqrt-pow1
exp-prod associate-*l* associate-/l* unswap-sqr
associate-/r* associate-/r/ add-log-exp
cbrt-undiv rem-sqrt-square flip3-+ pow1/2 div-exp prod-exp cbrt-unprod flip-+ div-inv
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 136
Calls
4 calls:
16.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
2.0ms
(sqrt (exp a))
2.0ms
(sqrt (exp a))
7.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
3.0ms
(sqrt (exp a))
3.0ms
(sqrt (exp a))
15.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

simplify46.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03161296
113791168
250021127

prune111.0ms

Filtered
91 candidates to 148 candidates (-62.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1480148
Fresh022
Picked011
Done000
Total1483151

Merged error: 0b

Counts
151 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.5b
(- a (log (+ (exp a) (exp b))))
2.2b
(log (+ (exp a) (exp b)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
11×add-sqr-sqrt
add-log-exp
log-prod
pow1 add-cube-cbrt
log-div exp-prod
add-exp-log
flip3-+ exp-sum add-cbrt-cube flip-+ associate--r+ distribute-lft-out-- associate--r-
log-pow distribute-lft-out
sub-neg diff-log rem-exp-log difference-of-squares
+-commutative flip3-- exp-diff rem-log-exp sum-log flip--
Counts
4 → 68
Calls
4 calls:
4.0ms
(+ (exp a) (exp b))
5.0ms
(exp (- a (log (+ (exp a) (exp b)))))
10.0ms
(- a (log (+ (exp a) (exp b))))
7.0ms
(log (+ (exp a) (exp b)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (exp a) (exp b))
11.0ms
(exp (- a (log (+ (exp a) (exp b)))))
8.0ms
(- a (log (+ (exp a) (exp b))))
11.0ms
(log (+ (exp a) (exp b)))

simplify85.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (79.0ms)

IterNodesCost
0233551
1545511
21232496
34120490
45001488

prune72.0ms

Filtered
55 candidates to 80 candidates (-45.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done011
Total80383

Merged error: 0b

Counts
83 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.0b
(+ (exp a) (exp b))
0.0b
(/ (/ (exp a) (sqrt (+ (exp a) (exp b)))) (sqrt (+ (exp a) (exp b))))
0.3b
(/ (exp a) (sqrt (+ (exp a) (exp b))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
304×*-un-lft-identity
224×sqrt-prod
188×add-sqr-sqrt add-cube-cbrt
58×distribute-lft-out
30×associate-/l*
20×sqrt-div associate-/r/
14×associate-/r*
12×flip3-+ flip-+
11×add-cbrt-cube
10×div-inv
add-exp-log
add-log-exp
pow1 cbrt-undiv div-exp
+-commutative frac-2neg clear-num sum-log
associate-/l/
Counts
4 → 309
Calls
4 calls:
4.0ms
(+ (exp a) (exp b))
4.0ms
(+ (exp a) (exp b))
20.0ms
(/ (/ (exp a) (sqrt (+ (exp a) (exp b)))) (sqrt (+ (exp a) (exp b))))
7.0ms
(/ (exp a) (sqrt (+ (exp a) (exp b))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (exp a) (exp b))
5.0ms
(+ (exp a) (exp b))
11.0ms
(/ (/ (exp a) (sqrt (+ (exp a) (exp b)))) (sqrt (+ (exp a) (exp b))))
17.0ms
(/ (exp a) (sqrt (+ (exp a) (exp b))))

simplify111.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06975826
123875228
250015155

prune130.0ms

Filtered
136 candidates to 321 candidates (-136.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3210321
Fresh000
Picked011
Done022
Total3213324

Merged error: 0b

Counts
324 → 3

regimes172.0ms

Accuracy

0% (0.1b remaining)

Error of 0.7b against oracle of 0.6b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109
1109

end0.0ms

sample593.0ms

Algorithm
intervals
Results
239.0ms8000×body80valid
102.0ms3511×body80overflowed

Profiling

Loading profile data...