Details

Time bar (total: 3.7s)

sample68.0ms

Algorithm
intervals
Results
27.0ms92×body1280valid
8.0ms190×body80valid
7.0ms35×body640valid
4.0ms28×body320valid
1.0ms11×body160valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
047786
147786

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.4b

Counts
2 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
6.0ms
(- (exp (* a x)) 1.0)

series12.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04903163
14903163

prune44.0ms

Filtered
13 candidates to 17 candidates (-30.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16117
Fresh011
Picked011
Done000
Total16319

Merged error: 4.4b

Counts
19 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.7b
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
4.6b
(* x (* 1/6 (pow a 3)))
7.3b
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
10.4b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log
13×add-sqr-sqrt add-cbrt-cube
10×pow1
add-cube-cbrt *-un-lft-identity associate-*l* prod-exp
associate-*r*
add-log-exp
cbrt-unprod
associate-*r/
flip3-+ pow-prod-down *-commutative flip-+
distribute-rgt-in distribute-lft-in unswap-sqr
+-commutative pow-to-exp pow-exp sum-log
Counts
4 → 74
Calls
4 calls:
8.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
9.0ms
(* x (* 1/6 (pow a 3)))
13.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
9.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

series103.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
17.0ms
(* x (* 1/6 (pow a 3)))
37.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
13.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

simplify46.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
052811359

prune209.0ms

Filtered
54 candidates to 86 candidates (-59.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh101
Picked101
Done011
Total86389

Merged error: 0.1b

Counts
89 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

3.7b
(* a (* (* a 1/2) (* x x)))
5.8b
(+ (* a x) (* a (* (* a 1/2) (* x x))))
6.1b
(* (* a 1/2) (* x x))

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
33×pow1 add-exp-log add-cbrt-cube
21×pow-prod-down prod-exp cbrt-unprod
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l*
associate-*r* *-commutative
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 61
Calls
3 calls:
16.0ms
(* a (* (* a 1/2) (* x x)))
9.0ms
(+ (* a x) (* a (* (* a 1/2) (* x x))))
273.0ms
(* (* a 1/2) (* x x))

series43.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(* a (* (* a 1/2) (* x x)))
18.0ms
(+ (* a x) (* a (* (* a 1/2) (* x x))))
12.0ms
(* (* a 1/2) (* x x))

simplify68.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04991683
14991683

prune94.0ms

Filtered
36 candidates to 70 candidates (-94.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh101
Picked101
Done011
Total71273

Merged error: 0.1b

Counts
73 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (* a (* 1/2 x)) x)
3.7b
(* a (* (* a (* 1/2 x)) x))
5.8b
(+ (* a x) (* a (* (* a (* 1/2 x)) x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
26×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 57
Calls
3 calls:
10.0ms
(* (* a (* 1/2 x)) x)
14.0ms
(* a (* (* a (* 1/2 x)) x))
7.0ms
(+ (* a x) (* a (* (* a (* 1/2 x)) x)))

series42.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(* (* a (* 1/2 x)) x)
11.0ms
(* a (* (* a (* 1/2 x)) x))
19.0ms
(+ (* a x) (* a (* (* a (* 1/2 x)) x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04962651
14962651

prune85.0ms

Filtered
38 candidates to 66 candidates (-73.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done011
Total66268

Merged error: 0.1b

Counts
68 → 2

regimes353.0ms

Accuracy

96.8% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 21.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03125
13125

end0.0ms

sample1.9s

Algorithm
intervals
Results
788.0ms2748×body1280valid
257.0ms1301×body640valid
215.0ms5442×body80valid
98.0ms732×body320valid
39.0ms434×body160valid

Profiling

Loading profile data...