Details

Time bar (total: 4.2s)

sample70.0ms

Algorithm
intervals
Results
54.0ms132×body10240exit
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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)))

rewrite13.0ms

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

series55.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp a) (exp b))
33.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify106.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0172409
1531381
21310379
34468378
45001378

prune137.0ms

Filtered
59 candidates to 44 candidates (74.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New54559
Fresh000
Picked101
Done000
Total55560

Merged error: 0.9b

Counts
60 → 5

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
28×add-sqr-sqrt
24×add-cube-cbrt prod-diff
16×exp-sum
13×pow1 add-log-exp
12×log-prod
log-pow
associate--r+
log-div exp-prod
add-exp-log exp-diff
expm1-log1p-u flip3-+ diff-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out distribute-lft-out-- associate--r-
fma-def fma-neg rem-exp-log
sub-neg difference-of-squares
+-commutative flip3-- rem-log-exp sum-log flip--
Counts
4 → 112
Calls
4 calls:
10.0ms
(exp (- a (log (+ (exp a) (exp b)))))
4.0ms
(+ (exp a) (exp b))
8.0ms
(- a (log (+ (exp a) (exp b))))
5.0ms
(log (+ (exp a) (exp b)))

series134.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
03181374
1816989
23017822
35001722

prune272.0ms

Filtered
124 candidates to 74 candidates (59.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1222124
Fresh224
Picked101
Done000
Total1254129

Merged error: 0.9b

Counts
129 → 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)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
28×log-pow
26×add-sqr-sqrt
24×add-cube-cbrt prod-diff
19×exp-prod
16×exp-sum
13×pow1
11×log-prod
add-log-exp
add-exp-log log-div
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u associate--r+ associate--r-
fma-def fma-neg rem-log-exp distribute-lft-out
sub-neg diff-log distribute-lft-out--
+-commutative flip3-- sum-log flip-- difference-of-squares
Counts
4 → 107
Calls
4 calls:
5.0ms
(+ (exp a) (exp b))
8.0ms
(log (exp (exp (- a (log (+ (exp a) (exp b)))))))
8.0ms
(- a (log (+ (exp a) (exp b))))
5.0ms
(log (+ (exp a) (exp b)))

series135.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
03331154
1835839
22786814
35001684

prune300.0ms

Filtered
119 candidates to 73 candidates (61.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh123
Picked011
Done000
Total1194123

Merged error: 0.9b

Counts
123 → 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)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
220×sqrt-div
211×*-un-lft-identity
135×add-sqr-sqrt
107×add-cube-cbrt
100×frac-times
98×sqrt-prod
96×associate-/r*
90×times-frac
72×associate-/l*
49×distribute-lft-out
29×swap-sqr
24×frac-2neg clear-num
21×associate-*r* associate-*l*
19×pow1
12×add-exp-log associate-/r/
10×associate-*r/ associate-*l/ add-cbrt-cube
unswap-sqr
sqrt-pow1 pow1/2
flip3-+ flip-+
div-inv add-log-exp
pow-prod-up
expm1-log1p-u div-exp log1p-expm1-u
fma-def pow-prod-down pow-sqr
cbrt-undiv
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 316
Calls
4 calls:
5.0ms
(+ (exp a) (exp b))
33.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)))

series120.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04684011
118793747
250013702

prune614.0ms

Filtered
328 candidates to 163 candidates (49.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3271328
Fresh112
Picked011
Done011
Total3284332

Merged error: 0.9b

Counts
332 → 4

regimes102.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0118
1118

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3359×body10240exit
205.0ms8000×body80valid