Details

Time bar (total: 3.7s)

sample91.0ms

Algorithm
intervals
Results
60.0ms180×body1280valid
8.0ms271×body80valid
7.0ms39×body640valid
3.0ms22×body320valid
1.0ms10×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0728
1728

prune7.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.0b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.3b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
8.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
10.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04906430
14906430

prune89.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh101
Picked101
Done000
Total40343

Merged error: 0.0b

Counts
43 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+
Counts
4 → 74
Calls
4 calls:
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series24.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
11.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
4.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify36.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05215849

prune128.0ms

Filtered
56 candidates to 86 candidates (-53.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* 1/360 (pow x 6))) (* 1/12 (pow x 4)))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube
associate-*l* prod-exp unswap-sqr
sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative associate-+l+ flip3-+ flip-+
Counts
3 → 63
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* 1/360 (pow x 6))) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series14.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* 1/360 (pow x 6))) (* 1/12 (pow x 4)))
4.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify57.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05121658

prune102.0ms

Filtered
45 candidates to 72 candidates (-60.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh022
Picked011
Done011
Total72476

Merged error: 0b

Counts
76 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(exp (- (exp x) 2.0))
0.0b
(log (exp (- (exp x) 2.0)))
3.8b
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
14×add-sqr-sqrt
10×log-prod exp-prod add-log-exp
add-cube-cbrt
log-pow
pow1 exp-sum
associate-+l+
add-exp-log sub-neg add-cbrt-cube
exp-diff distribute-lft-out-- difference-of-squares
log-div diff-log rem-exp-log distribute-lft-out
+-commutative associate-+l- flip3-- flip3-+ rem-log-exp sum-log flip-- flip-+
Counts
4 → 70
Calls
4 calls:
4.0ms
(- (exp x) 2.0)
5.0ms
(exp (- (exp x) 2.0))
5.0ms
(log (exp (- (exp x) 2.0)))
9.0ms
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(- (exp x) 2.0)
9.0ms
(exp (- (exp x) 2.0))
2.0ms
(log (exp (- (exp x) 2.0)))
7.0ms
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05504588

prune87.0ms

Filtered
57 candidates to 82 candidates (-43.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done022
Total82486

Merged error: 0b

Counts
86 → 4

regimes33.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01615
11615

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.9s5702×body1280valid
234.0ms7978×body80valid
223.0ms1192×body640valid
77.0ms661×body320valid
21.0ms283×body160valid

Profiling

Loading profile data...