Details

Time bar (total: 2.3s)

analyze41.0ms

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

sample32.0ms

Algorithm
intervals
Results
15.0ms82×body1280valid
4.0ms34×body640valid
2.0ms98×body80valid
2.0ms27×body320valid
1.0ms15×body160valid
0.0msbody80invalid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
047936
147936

prune11.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: 27.0b

Counts
2 → 2

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(exp (* a x))
4.5b
(- (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 → 23
Calls
2 calls:
2.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)

simplify89.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
04948224
14948224

prune32.0ms

Filtered
20 candidates to 29 candidates (-45.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New28129
Fresh011
Picked011
Done000
Total28331

Merged error: 2.3b

Counts
31 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
4.2b
(* x (* 1/6 (pow a 3)))
6.5b
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
9.9b
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

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

series62.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* x (+ a (* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))))
10.0ms
(* x (* 1/6 (pow a 3)))
22.0ms
(* x (+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3)))))
9.0ms
(+ (* a (* a 1/2)) (* x (* 1/6 (pow a 3))))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050311233

prune113.0ms

Filtered
59 candidates to 86 candidates (-45.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh101
Picked101
Done011
Total85489

Merged error: 0.2b

Counts
89 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(* x (+ a (+ (* a (* a (* 1/2 x))) (* x (* x (* 1/6 (pow a 3)))))))
4.2b
(* x (* 1/6 (pow a 3)))
4.9b
(* x (* x (* 1/6 (pow a 3))))
9.5b
(+ (* a (* a (* 1/2 x))) (* x (* x (* 1/6 (pow a 3)))))

rewrite31.0ms

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

series58.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* x (+ a (+ (* a (* a (* 1/2 x))) (* x (* x (* 1/6 (pow a 3)))))))
10.0ms
(* x (* 1/6 (pow a 3)))
12.0ms
(* x (* x (* 1/6 (pow a 3))))
14.0ms
(+ (* a (* a (* 1/2 x))) (* x (* x (* 1/6 (pow a 3)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049671223
149671223

prune110.0ms

Filtered
53 candidates to 87 candidates (-64.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86187
Fresh112
Picked101
Done011
Total88391

Merged error: 0.0b

Counts
91 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* a (* 1/2 x)) x)
0.2b
(pow (* a x) 3)
1.5b
(* a (+ x (* (* a (* 1/2 x)) x)))
12.1b
(+ (* a (+ x (* (* a (* 1/2 x)) x))) (* 1/6 (pow (* a x) 3)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt associate-*r* pow-prod-down prod-exp cbrt-unprod
add-log-exp
associate-*l*
pow-unpow
distribute-rgt-in associate-+l+ pow-pow distribute-lft-in flip3-+ associate-*r/ pow-exp *-commutative flip-+ rem-cube-cbrt
+-commutative cube-mult pow-to-exp unpow-prod-down distribute-rgt-out unpow3 cube-prod distribute-rgt1-in sum-log unswap-sqr sqr-pow
Counts
4 → 80
Calls
4 calls:
9.0ms
(* (* a (* 1/2 x)) x)
3.0ms
(pow (* a x) 3)
5.0ms
(* a (+ x (* (* a (* 1/2 x)) x)))
6.0ms
(+ (* a (+ x (* (* a (* 1/2 x)) x))) (* 1/6 (pow (* a x) 3)))

series45.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04987970
14987970

prune107.0ms

Filtered
61 candidates to 92 candidates (-50.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh011
Picked011
Done011
Total92395

Merged error: 0.0b

Counts
95 → 3

regimes218.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02831
12831

end0.0ms

analyze40.0ms

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

sample950.0ms

Algorithm
intervals
Results
476.0ms2622×body1280valid
163.0ms1367×body640valid
76.0ms2877×body80valid
64.0ms764×body320valid
20.0ms370×body160valid
4.0ms154×body80invalid

Profiling

Loading profile data...