Details

Time bar (total: 2.3s)

sample44.0ms

Algorithm
intervals
Results
15.0ms86×body1280valid
6.0ms52×body640valid
4.0ms157×body80valid
2.0ms22×body320valid
1.0ms20×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2263
3483
41103
53183
616233
750013

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

series7.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0103100
130092
2105590
3500190

prune52.0ms

Filtered
17 candidates to 12 candidates (29.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New10717
Fresh000
Picked101
Done000
Total11718

Merged error: 9.4b

Counts
18 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
8.0b
(* (* 1/2 (pow a 2)) x)
11.1b
(+ (* x (+ a (* (* 1/2 (pow a 2)) x))) (* 1/6 (* (pow a 3) (pow x 3))))
17.9b
(* (pow a 3) (pow x 3))

rewrite30.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)
7.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))

series47.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0471797
12758737
25001737

prune203.0ms

Filtered
125 candidates to 75 candidates (40.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh156
Picked101
Done000
Total1257132

Merged error: 2.5b

Counts
132 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 1/2 (pow a 2))
0.3b
(* x (+ a (* (* 1/2 (pow a 2)) x)))
8.0b
(* (* 1/2 (pow a 2)) x)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log
17×add-sqr-sqrt
14×associate-*r*
12×add-cbrt-cube
11×prod-exp
add-cube-cbrt *-un-lft-identity
pow1 associate-*l*
cbrt-unprod unswap-sqr
unpow-prod-down
*-commutative add-log-exp
pow-to-exp associate-*r/ pow-prod-down pow-exp unpow2 sqr-pow
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
3 → 68
Calls
3 calls:
5.0ms
(* 1/2 (pow a 2))
5.0ms
(* x (+ a (* (* 1/2 (pow a 2)) x)))
6.0ms
(* (* 1/2 (pow a 2)) x)

series19.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0296366
11630322
25001319

prune97.0ms

Filtered
77 candidates to 47 candidates (39.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New75277
Fresh336
Picked011
Done000
Total78684

Merged error: 0.3b

Counts
84 → 6

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

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done011
Total066

Merged error: 0.3b

Counts
6 → 6

regimes348.0ms

Accuracy

97.9% (0.5b remaining)

Error of 0.7b against oracle of 0.2b and baseline of 21.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02116
12116

end0.0ms

sample1.1s

Algorithm
intervals
Results
479.0ms2708×body1280valid
154.0ms1307×body640valid
127.0ms5406×body80valid
60.0ms750×body320valid
20.0ms371×body160valid

Profiling

Loading profile data...