Details

Time bar (total: 1.6s)

analyze82.0ms

Algorithm
search

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
0.0ms18×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.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series17.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0163384
1486357
21209355
34128355
45002355

prune55.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: 0.5b

Counts
52 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
2.0ms
(sqrt (exp a))
2.0ms
(sqrt (exp a))
8.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))
18.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))

series35.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03161296
113791168
250021127

prune102.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: 0.5b

Counts
151 → 3

localize11.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.5b
(/ (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)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
15.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 (37.0ms)

IterNodesCost
0237834
1612771
21400764
34554762
45001762

prune114.0ms

Filtered
81 candidates to 113 candidates (-39.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh011
Picked011
Done011
Total1124116

Merged error: 0.4b

Counts
116 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (* (+ (* 1/4 (- a b)) 1) (exp 1/2)))
0.2b
(* (+ (* 1/4 (- a b)) 1) (exp 1/2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity associate-*l/ add-cbrt-cube
associate-*r* associate-*l*
log-div flip3-+ rem-log-exp pow-prod-down prod-exp log-pow flip-+ add-log-exp
log-prod *-commutative cbrt-unprod unswap-sqr
Counts
2 → 34
Calls
2 calls:
10.0ms
(log (* (+ (* 1/4 (- a b)) 1) (exp 1/2)))
10.0ms
(* (+ (* 1/4 (- a b)) 1) (exp 1/2))

series18.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(log (* (+ (* 1/4 (- a b)) 1) (exp 1/2)))
7.0ms
(* (+ (* 1/4 (- a b)) 1) (exp 1/2))

simplify37.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0244314
11065267
25001260

prune61.0ms

Filtered
28 candidates to 40 candidates (-42.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New39140
Fresh011
Picked101
Done022
Total40444

Merged error: 0.4b

Counts
44 → 4

regimes210.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

analyze79.0ms

Algorithm
search

sample383.0ms

Algorithm
intervals
Results
230.0ms8000×body80valid
15.0ms641×body80overflowed

Profiling

Loading profile data...