Details

Time bar (total: 2.4s)

sample35.0ms

Algorithm
intervals
Results
15.0ms90×body1280valid
5.0ms42×body640valid
4.0ms159×body80valid
2.0ms26×body320valid
1.0ms15×body160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2263
3483
41103
53183
616233
750013

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: 31.1b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

6.0b
(- (exp (* a x)) 1.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 14
Calls
1 calls:
4.0ms
(- (exp (* a x)) 1.0)

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(- (exp (* a x)) 1.0)

simplify39.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0103100
130092
2105590
3500190

prune47.0ms

Filtered
17 candidates to 12 candidates (70.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New10717
Fresh000
Picked101
Done000
Total11718

Merged error: 9.7b

Counts
18 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
9.4b
(* (* 1/2 (pow a 2)) x)
10.3b
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
19.9b
(* (pow a 3) (pow x 3))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
28×add-exp-log
18×associate-*r*
17×prod-exp unswap-sqr
16×associate-*l*
14×unpow-prod-down cube-prod
13×add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×sqr-pow
pow1
pow-to-exp pow-exp
add-log-exp
cbrt-unprod
pow-prod-down *-commutative
distribute-rgt-in cube-mult associate-+l+ distribute-lft-in flip3-+ unpow3 associate-*r/ flip-+
+-commutative sum-log
Counts
4 → 113
Calls
4 calls:
5.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
6.0ms
(* (* 1/2 (pow a 2)) x)
7.0ms
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
9.0ms
(* (pow a 3) (pow x 3))

series240.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
20.0ms
(* (* 1/2 (pow a 2)) x)
96.0ms
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
65.0ms
(* (pow a 3) (pow x 3))

simplify100.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0471797
12758737
25001737

prune259.0ms

Filtered
125 candidates to 75 candidates (60.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1241125
Fresh066
Picked101
Done000
Total1257132

Merged error: 3.1b

Counts
132 → 7

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow a 2))
0.0b
(+ a (* (* 1/2 (pow a 2)) x))
0.8b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
9.4b
(* (* 1/2 (pow a 2)) x)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log
18×add-sqr-sqrt
14×associate-*r*
13×add-cbrt-cube
11×prod-exp
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*l*
add-log-exp
cbrt-unprod unswap-sqr
unpow-prod-down
*-commutative
pow-to-exp flip3-+ associate-*r/ pow-prod-down pow-exp flip-+ unpow2 sqr-pow
+-commutative distribute-rgt-in distribute-lft-in sum-log
Counts
4 → 79
Calls
4 calls:
5.0ms
(* 1/2 (pow a 2))
3.0ms
(+ a (* (* 1/2 (pow a 2)) x))
5.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
6.0ms
(* (* 1/2 (pow a 2)) x)

series150.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* 1/2 (pow a 2))
40.0ms
(+ a (* (* 1/2 (pow a 2)) x))
60.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
21.0ms
(* (* 1/2 (pow a 2)) x)

simplify58.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0317462
11753406
25002404

prune136.0ms

Filtered
91 candidates to 57 candidates (62.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New89291
Fresh246
Picked101
Done000
Total92698

Merged error: 0.1b

Counts
98 → 6

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done000
Total066

Merged error: 0.1b

Counts
6 → 6

regimes204.0ms

Accuracy

97.1% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 21.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127

end0.0ms

sample975.0ms

Algorithm
intervals
Results
451.0ms2651×body1280valid
145.0ms1330×body640valid
119.0ms5402×body80valid
54.0ms750×body320valid
19.0ms397×body160valid

Profiling

Loading profile data...