Details

Time bar (total: 3.9s)

sample69.0ms

Algorithm
intervals
Results
53.0ms132×body10240exit
6.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

localize9.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
distribute-lft-out
associate-/r* add-cbrt-cube add-log-exp
add-exp-log fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
4.0ms
(+ (exp a) (exp b))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series50.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(+ (exp a) (exp b))
32.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify92.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune136.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New53558
Fresh000
Picked101
Done000
Total54559

Merged error: 0.9b

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
27×add-sqr-sqrt
24×prod-diff
23×add-cube-cbrt
16×exp-sum
13×pow1
log-pow add-log-exp
log-prod
log-div exp-prod
add-exp-log
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u associate--r+ distribute-lft-out-- associate--r-
fma-def fma-neg 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 → 106
Calls
4 calls:
6.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)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(exp (- a (log (+ (exp a) (exp b)))))
19.0ms
(+ (exp a) (exp b))
34.0ms
(- a (log (+ (exp a) (exp b))))
38.0ms
(log (+ (exp a) (exp b)))

simplify79.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
03081330
1791946
22960789
35001691

prune248.0ms

Filtered
118 candidates to 71 candidates (60.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh224
Picked101
Done000
Total1194123

Merged error: 0.9b

Counts
123 → 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
log-div
add-exp-log
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u associate--r+ associate--r-
fma-def fma-neg distribute-lft-out
sub-neg rem-log-exp distribute-lft-out--
+-commutative flip3-- diff-log sum-log flip-- difference-of-squares
Counts
4 → 105
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)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (exp a) (exp b))
52.0ms
(log (exp (exp (- a (log (+ (exp a) (exp b)))))))
32.0ms
(- a (log (+ (exp a) (exp b))))
37.0ms
(log (+ (exp a) (exp b)))

simplify75.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
03331149
1835834
22786809
35001679

prune304.0ms

Filtered
117 candidates to 73 candidates (62.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh033
Picked011
Done000
Total1174121

Merged error: 0.9b

Counts
121 → 4

localize12.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
123×*-un-lft-identity
98×sqrt-prod
91×add-sqr-sqrt
90×times-frac
63×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
expm1-log1p-u sqrt-div log1p-expm1-u
fma-def 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 → 197
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)))

series124.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03361987
115531847
250011820

prune465.0ms

Filtered
209 candidates to 130 candidates (62.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2081209
Fresh112
Picked011
Done011
Total2094213

Merged error: 0.9b

Counts
213 → 4

regimes97.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
194.0ms8000×body80valid