Details

Time bar (total: 2.1s)

sample37.0ms

Algorithm
intervals
Results
12.0ms76×body1280valid
5.0ms43×body640valid
5.0ms187×body80valid
2.0ms24×body320valid
1.0ms15×body160valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
047966
147966

prune9.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: 30.4b

Counts
2 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

3.9b
(- (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)

series8.0ms

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

simplify23.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05109163

prune31.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.8b

Counts
19 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
6.4b
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
6.7b
(* x (* 1/6 (pow a 3)))
10.5b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

rewrite28.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:
5.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
8.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
7.0ms
(* x (* 1/6 (pow a 3)))
6.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
27.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
12.0ms
(* x (* 1/6 (pow a 3)))
9.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

simplify24.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
051991359

prune131.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New82486
Fresh101
Picked101
Done011
Total84589

Merged error: 0.1b

Counts
89 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

4.7b
(* a (* (* a 1/2) (* x x)))
6.2b
(* (* a 1/2) (* x x))
6.2b
(+ (* a x) (* a (* (* a 1/2) (* x x))))

rewrite27.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:
11.0ms
(* a (* (* a 1/2) (* x x)))
10.0ms
(* (* a 1/2) (* x x))
4.0ms
(+ (* a x) (* a (* (* a 1/2) (* x x))))

series28.0ms

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

simplify26.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05314677

prune66.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh123
Picked101
Done011
Total71475

Merged error: 0.1b

Counts
75 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (* a (* x 1/2)) x)
4.7b
(* a (* (* a (* x 1/2)) x))
6.2b
(+ (* a x) (* a (* (* a (* x 1/2)) x)))

rewrite24.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:
7.0ms
(* (* a (* x 1/2)) x)
10.0ms
(* a (* (* a (* x 1/2)) x))
4.0ms
(+ (* a x) (* a (* (* a (* x 1/2)) x)))

series30.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04999651
14999651

prune56.0ms

Filtered
37 candidates to 66 candidates (-78.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done011
Total66470

Merged error: 0.1b

Counts
70 → 4

regimes238.0ms

Accuracy

98.5% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 22.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02125
12125

end0.0ms

sample1.1s

Algorithm
intervals
Results
414.0ms2611×body1280valid
144.0ms1304×body640valid
134.0ms5517×body80valid
59.0ms799×body320valid
24.0ms411×body160valid

Profiling

Loading profile data...