Details

Time bar (total: 2.3s)

sample38.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
15.0ms88×body1280valid
5.0ms44×body640valid
4.0ms170×body80valid
2.0ms29×body320valid
1.0ms14×body160valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2263
3483
41103
53183
616233
750013

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.1b
(exp (* a x))
4.0b
(- (exp (* a x)) 1.0)

rewrite6.0ms

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

series12.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0115135
1333127
21116125
35001125

prune54.0ms

Filtered
20 candidates to 30 candidates (-50.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New24630
Fresh000
Picked101
Done000
Total25631

Merged error: 8.1b

Counts
31 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

1.9b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
5.9b
(* (* 1/2 (pow a 2)) x)
12.1b
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
15.6b
(* (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))

series47.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
4.0ms
(* (* 1/2 (pow a 2)) x)
19.0ms
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
10.0ms
(* (pow a 3) (pow x 3))

simplify115.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0471797
12758737
25001737

prune198.0ms

Filtered
75 candidates to 125 candidates (-66.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh145
Picked101
Done000
Total1256131

Merged error: 3.1b

Counts
131 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

1.9b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
5.9b
(* (* 1/2 (pow a 2)) x)

rewrite11.0ms

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

series20.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
4.0ms
(* (* 1/2 (pow a 2)) x)

simplify42.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0237267
11329235
25001234

prune70.0ms

Filtered
29 candidates to 47 candidates (-62.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh235
Picked011
Done000
Total46753

Merged error: 0.2b

Counts
53 → 7

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done011
Total077

Merged error: 0.2b

Counts
7 → 7

regimes409.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 21.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12117
22117

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
466.0ms2693×body1280valid
155.0ms1337×body640valid
134.0ms5323×body80valid
59.0ms729×body320valid
23.0ms437×body160valid

Profiling

Loading profile data...