Details

Time bar (total: 3.8s)

sample97.0ms

Algorithm
intervals
Results
74.0ms132×body10240exit
9.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune2.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: 1.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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)))

series49.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(+ (exp a) (exp b))
31.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify91.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0163384
1486357
21239355
34158355
45001355

prune110.0ms

Filtered
51 candidates to 37 candidates (72.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552

Merged error: 0.9b

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))
1.5b
(- a (log (+ (exp a) (exp b))))
3.8b
(log (+ (exp a) (exp b)))

rewrite22.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))))
4.0ms
(log (+ (exp a) (exp b)))

series133.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(exp (- a (log (+ (exp a) (exp b)))))
18.0ms
(+ (exp a) (exp b))
31.0ms
(- a (log (+ (exp a) (exp b))))
35.0ms
(log (+ (exp a) (exp b)))

simplify88.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (82.0ms)

IterNodesCost
0233551
1543509
21225495
34110491
45001489

prune195.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New77380
Fresh314
Picked101
Done000
Total81485

Merged error: 0.9b

Counts
85 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.2b
(log (exp (exp (- a (log (+ (exp a) (exp b)))))))
1.5b
(- a (log (+ (exp a) (exp b))))
3.8b
(log (+ (exp a) (exp b)))

rewrite24.0ms

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

series131.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (exp a) (exp b))
46.0ms
(log (exp (exp (- a (log (+ (exp a) (exp b)))))))
34.0ms
(- a (log (+ (exp a) (exp b))))
33.0ms
(log (+ (exp a) (exp b)))

simplify80.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0243582
1579522
21224510
33516506
45001506

prune237.0ms

Filtered
79 candidates to 58 candidates (73.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh123
Picked011
Done000
Total79483

Merged error: 0.9b

Counts
83 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
98×sqrt-prod
90×add-sqr-sqrt times-frac
62×add-cube-cbrt
29×swap-sqr
27×distribute-lft-out
21×associate-*r* associate-*l*
19×pow1
12×associate-/r/
10×add-cbrt-cube
unswap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r*
flip3-+ flip-+
div-inv associate-/l* add-log-exp
pow-prod-up
sqrt-div
pow-prod-down pow-sqr
cbrt-undiv frac-2neg div-exp clear-num
+-commutative pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 186
Calls
4 calls:
4.0ms
(+ (exp a) (exp b))
25.0ms
(* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (exp a) (exp b))
35.0ms
(* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))
32.0ms
(/ (exp a) (+ (exp a) (exp b)))
37.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify61.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03261942
115161807
250021781

prune488.0ms

Filtered
198 candidates to 119 candidates (60.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1971198
Fresh112
Picked011
Done011
Total1984202

Merged error: 0.9b

Counts
202 → 4

regimes103.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3359×body10240exit
186.0ms8000×body80valid