Details

Time bar (total: 2.9s)

sample30.0ms

Algorithm
intervals
Results
12.0ms87×body1280valid
4.0ms43×body640valid
3.0ms164×body80valid
1.0ms15×body320valid
1.0ms16×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2273
3503
41153
53293
616423
750013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.8b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(exp (* a x))
4.4b
(- (exp (* a x)) 1.0)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg exp-prod flip3-- exp-to-pow diff-log flip-- rem-exp-log distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
1.0ms
(exp (* a x))
5.0ms
(- (exp (* a x)) 1.0)

series46.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(exp (* a x))
34.0ms
(- (exp (* a x)) 1.0)

simplify88.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0173292
1562211
22710200
35002164

prune90.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 7.3b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* a x))
0.0b
(exp (- (exp (* a x)) 1.0))
4.4b
(- (exp (* a x)) 1.0)
4.4b
(log (exp (- (exp (* a x)) 1.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
27×prod-diff
26×add-cube-cbrt
22×exp-sum
14×log-prod
11×exp-prod add-log-exp
log-pow
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg fma-neg rem-exp-log distribute-lft-out-- difference-of-squares
exp-diff diff-log
log-div flip3-- exp-to-pow rem-log-exp flip--
Counts
4 → 99
Calls
4 calls:
1.0ms
(exp (* a x))
11.0ms
(exp (- (exp (* a x)) 1.0))
5.0ms
(- (exp (* a x)) 1.0)
14.0ms
(log (exp (- (exp (* a x)) 1.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(exp (* a x))
35.0ms
(exp (- (exp (* a x)) 1.0))
37.0ms
(- (exp (* a x)) 1.0)
34.0ms
(log (exp (- (exp (* a x)) 1.0)))

simplify101.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0249828
1720594
23168484
35001483

prune198.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 7.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (* a x))
0.0b
(exp (* a x))
4.4b
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u
exp-prod exp-to-pow rem-exp-log
fma-udef
Counts
3 → 34
Calls
3 calls:
1.0ms
(exp (* a x))
1.0ms
(exp (* a x))
0.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

series105.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(exp (* a x))
12.0ms
(exp (* a x))
81.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
091211
1311177
21202176
35001176

prune106.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 7.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0)))
4.4b
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
4.4b
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
4.4b
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
0.0ms
(cbrt (fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0)))
0.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
0.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
0.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

series386.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0)))
79.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
96.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))
78.0ms
(fma (sqrt (exp (* a x))) (sqrt (exp (* a x))) (- 1.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0132566
1440389
21877377
35002352

prune204.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.3b

regimes280.0ms

Accuracy

94.3% (1.2b remaining)

Error of 9.5b against oracle of 8.4b and baseline of 29.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02413
12413

end0.0ms

sample907.0ms

Algorithm
intervals
Results
425.0ms2760×body1280valid
126.0ms1273×body640valid
102.0ms5437×body80valid
50.0ms771×body320valid
18.0ms418×body160valid