Details

Time bar (total: 2.3s)

analyze68.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 24.298835%

Guaranteed chance to sample good point: 98.461538%

sample34.0ms

Algorithm
intervals
Results
16.0ms77×body1280valid
4.0ms41×body640valid
2.0ms29×body320valid
2.0ms91×body80valid
1.0ms18×body160valid
0.0msbody80invalid

simplify57.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: 30.3b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(exp (* a x))
4.9b
(- (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:
1.0ms
(exp (* a x))
4.0ms
(- (exp (* a x)) 1.0)

series11.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0115135
1333127
21116125
35001125

prune57.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 6.6b

Counts
31 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

1.4b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
8.2b
(* (* 1/2 (pow a 2)) x)
12.1b
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
17.8b
(* (pow a 3) (pow x 3))

rewrite32.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)
6.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))

series45.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
4.0ms
(* (* 1/2 (pow a 2)) x)
18.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))

simplify104.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0471797
12758737
25001737

prune200.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh156
Picked101
Done000
Total1257132

Merged error: 2.6b

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))
1.4b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
8.2b
(* (* 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))
2.0ms
(+ a (* (* 1/2 (pow a 2)) x))
5.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
5.0ms
(* (* 1/2 (pow a 2)) x)

series26.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 1/2 (pow a 2))
6.0ms
(+ a (* (* 1/2 (pow a 2)) x))
12.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
4.0ms
(* (* 1/2 (pow a 2)) x)

simplify58.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0317462
11753406
25002404

prune116.0ms

Filtered
57 candidates to 91 candidates (-59.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New89291
Fresh156
Picked101
Done000
Total91798

Merged error: 0.2b

Counts
98 → 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 (6 fresh and 1 done)

PrunedKeptTotal
New000
Fresh066
Picked011
Done000
Total077

Merged error: 0.2b

Counts
7 → 7

regimes387.0ms

Accuracy

97.1% (0.6b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127

end0.0ms

analyze71.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 24.298835%

Guaranteed chance to sample good point: 98.461538%

sample919.0ms

Algorithm
intervals
Results
468.0ms2627×body1280valid
149.0ms1281×body640valid
74.0ms2941×body80valid
58.0ms759×body320valid
21.0ms392×body160valid
2.0ms63×body80invalid

Profiling

Loading profile data...