Details

Time bar (total: 2.0s)

sample65.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 75%

Results
7.0ms256×body80valid
3.0ms124×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.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series18.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (exp a) (exp b))
12.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify91.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0163384
1486357
21209355
34128355
45002355

prune59.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552

Merged error: 0b

Counts
52 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.0b
(+ (exp a) (exp b))
0.8b
(- a (log (+ (exp a) (exp b))))
2.7b
(log (+ (exp a) (exp b)))

rewrite24.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:
5.0ms
(exp (- a (log (+ (exp a) (exp b)))))
4.0ms
(+ (exp a) (exp b))
7.0ms
(- a (log (+ (exp a) (exp b))))
6.0ms
(log (+ (exp a) (exp b)))

series36.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (79.0ms)

IterNodesCost
0233551
1545511
21232496
34120490
45001488

prune87.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh134
Picked011
Done000
Total80585

Merged error: 0b

Counts
85 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
36×exp-prod times-frac
30×add-sqr-sqrt add-cube-cbrt
19×log-pow
11×distribute-lft-out
add-log-exp
associate-/r/ add-cbrt-cube
pow1 add-exp-log
flip3-+ associate-/r* flip-+
log-prod div-inv associate-/l*
cbrt-undiv +-commutative frac-2neg div-exp rem-log-exp clear-num sum-log rem-exp-log
Counts
4 → 101
Calls
4 calls:
7.0ms
(exp (/ (exp a) (+ (exp a) (exp b))))
4.0ms
(+ (exp a) (exp b))
8.0ms
(log (exp (/ (exp a) (+ (exp a) (exp b)))))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series42.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0237834
1612771
21400764
34554762
45001762

prune111.0ms

Filtered
80 candidates to 113 candidates (-41.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh033
Picked011
Done011
Total1135118

Merged error: 0b

Counts
118 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (log (+ (exp a) (exp b))) 3)
0.4b
(cbrt (pow (log (+ (exp a) (exp b))) 3))
0.8b
(- a (cbrt (pow (log (+ (exp a) (exp b))) 3)))
2.7b
(log (+ (exp a) (exp b)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×cbrt-prod
15×*-un-lft-identity
11×add-cube-cbrt
10×pow1
unpow-prod-down cube-prod
add-exp-log add-log-exp
log-pow add-cbrt-cube difference-of-squares
log-prod
pow-unpow sqr-pow
cube-mult log-div unpow3
pow-to-exp sub-neg flip3-- pow-pow flip3-+ pow1/3 diff-log rem-log-exp pow-exp flip-- rem-cbrt-cube flip-+ distribute-lft-out distribute-lft-out-- rem-cube-cbrt
Counts
4 → 81
Calls
4 calls:
3.0ms
(pow (log (+ (exp a) (exp b))) 3)
2.0ms
(cbrt (pow (log (+ (exp a) (exp b))) 3))
7.0ms
(- a (cbrt (pow (log (+ (exp a) (exp b))) 3)))
6.0ms
(log (+ (exp a) (exp b)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(pow (log (+ (exp a) (exp b))) 3)
9.0ms
(cbrt (pow (log (+ (exp a) (exp b))) 3))
9.0ms
(- a (cbrt (pow (log (+ (exp a) (exp b))) 3)))
9.0ms
(log (+ (exp a) (exp b)))

simplify171.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0264746
1842686
24498674
35001674

prune88.0ms

Filtered
50 candidates to 93 candidates (-86.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh022
Picked011
Done022
Total93598

Merged error: 0b

Counts
98 → 5

regimes213.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample639.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 75%

Results
228.0ms8000×body80valid
96.0ms3444×body80overflowed

Profiling

Loading profile data...