Details

Time bar (total: 2.5s)

analyze46.0ms (1.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%31.2%6.3%6
68.7%21.9%9.5%7
68.7%17.2%14.1%8
71.8%11.7%16.5%9
71.8%9%19.2%10
73.4%6%20.6%11
73.4%4.6%22%12
74.1%3.1%22.8%13
74.1%2.3%23.5%14

sample33.0ms (1.3%)

Algorithm
intervals
Results
14.0ms82×body1280valid
5.0ms42×body640valid
2.0ms93×body80valid
2.0ms25×body320valid
1.0ms14×body160valid
0.0msbody80invalid

simplify56.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
047786
147786

prune10.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.9b

Counts
2 → 2

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite4.0ms (0.2%)

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 → 13
Calls

1 calls:

4.0ms
(- (exp (* a x)) 1.0)

series7.0ms (0.3%)

Counts
1 → 3
Calls

1 calls:

7.0ms
(- (exp (* a x)) 1.0)

simplify45.0ms (1.8%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04903161
14903161

prune32.0ms (1.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh011
Picked011
Done000
Total15318

Merged error: 4.6b

Counts
18 → 3

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

1.0b
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
4.7b
(* x (* 1/6 (pow a 3)))
5.1b
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
8.9b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

rewrite27.0ms (1.1%)

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

series63.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

23.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
21.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
10.0ms
(* x (* 1/6 (pow a 3)))
8.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

simplify29.0ms (1.1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
052811359

prune173.0ms (6.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84286
Fresh101
Picked011
Done011
Total85489

Merged error: 0.1b

Counts
89 → 4

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

3.5b
(* a (* (* a 1/2) (* x x)))
4.2b
(+ (* a x) (* a (* (* a 1/2) (* x x))))
6.9b
(* (* a 1/2) (* x x))

rewrite25.0ms (1%)

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

series25.0ms (1%)

Counts
3 → 9
Calls

3 calls:

11.0ms
(+ (* a x) (* a (* (* a 1/2) (* x x))))
7.0ms
(* a (* (* a 1/2) (* x x)))
7.0ms
(* (* a 1/2) (* x x))

simplify45.0ms (1.8%)

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04991683
14991683

prune106.0ms (4.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh011
Picked011
Done022
Total70474

Merged error: 0.1b

Counts
74 → 4

localize16.0ms (0.6%)

Local error

Found 4 expressions with local error:

8.9b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))
8.9b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))
9.4b
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))
9.4b
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))

rewrite21.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
10×pow1
add-log-exp
add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity sqrt-pow1 flip3-+ sqrt-div associate-*r/ add-cbrt-cube flip-+
+-commutative pow1/2 pow-prod-down sum-log sqrt-prod
Counts
4 → 48
Calls

4 calls:

6.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))
6.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))
4.0ms
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))
4.0ms
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))

series104.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

45.0ms
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))
42.0ms
(sqrt (* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))))))
8.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))
8.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

simplify52.0ms (2.1%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049221096
149221096

prune366.0ms (14.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New60060
Fresh000
Picked011
Done033
Total60464

Merged error: 0.1b

Counts
64 → 4

regimes244.0ms (9.7%)

Accuracy

Total 2.8b remaining (92.1%)

Threshold costs 0b (0%)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03025
13025

end0.0ms (0%)

sample959.0ms (38.1%)

Algorithm
intervals
Results
486.0ms2692×body1280valid
153.0ms1297×body640valid
76.0ms2853×body80valid
64.0ms773×body320valid
21.0ms385×body160valid
4.0ms146×body80invalid

Profiling

Loading profile data...