Details

Time bar (total: 4.8s)

sample76.0ms

Algorithm
intervals
Results
52.0ms185×body1280valid
6.0ms41×body640valid
6.0ms251×body80valid
1.0ms16×body320valid
0.0msbody160valid

simplify212.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51005
61445
72965
813215
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.5b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.0b
(+ (- (exp x) 2.0) (exp (- 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)
7.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series73.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(- (exp x) 2.0)
54.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify91.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune90.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0.0b

Counts
42 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
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+ distribute-lft-out
Counts
4 → 75
Calls
4 calls:
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series274.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
58.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
52.0ms
(* 1/360 (pow x 6))
35.0ms
(* 1/12 (pow x 4))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0329464
11456439
25001423

prune206.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New86187
Fresh022
Picked011
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))
2.9b
(exp (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
30.0b
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
17×*-un-lft-identity
15×add-exp-log
14×associate-*r*
13×add-cube-cbrt
unpow-prod-down log-prod add-cbrt-cube
pow1 associate-*l* prod-exp unswap-sqr
log-div exp-prod exp-sum add-log-exp sqr-pow
pow-to-exp flip3-+ exp-diff pow-exp log-pow *-commutative cbrt-unprod flip-+ distribute-lft-out
rem-log-exp rem-exp-log
Counts
4 → 83
Calls
4 calls:
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))
8.0ms
(exp (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
11.0ms
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

series241.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* 1/360 (pow x 6))
35.0ms
(* 1/12 (pow x 4))
58.0ms
(exp (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
95.0ms
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0355681
11365618
25002592

prune248.0ms

Filtered
95 candidates to 60 candidates (63.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh022
Picked101
Done011
Total95499

Merged error: 0.0b

Counts
99 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))
3.2b
(pow E (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
30.0b
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×*-un-lft-identity
16×add-exp-log
14×add-cube-cbrt associate-*r*
11×unpow-prod-down
log-prod add-cbrt-cube
pow1
associate-*l* prod-exp unswap-sqr
sqr-pow
unpow-prod-up log-div pow-unpow pow-exp add-log-exp
pow-to-exp
flip3-+ log-pow *-commutative cbrt-unprod flip-+ distribute-lft-out pow-sub
e-exp-1 pow-pow rem-log-exp
Counts
4 → 90
Calls
4 calls:
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))
8.0ms
(pow E (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
7.0ms
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

series361.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* 1/360 (pow x 6))
35.0ms
(* 1/12 (pow x 4))
170.0ms
(pow E (log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
103.0ms
(log (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0460859
11786786
25002765

prune283.0ms

Filtered
102 candidates to 67 candidates (65.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh022
Picked011
Done011
Total1024106

Merged error: 0.0b

Counts
106 → 4

regimes17.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5678×body1280valid
193.0ms1238×body640valid
184.0ms8156×body80valid
58.0ms602×body320valid
21.0ms336×body160valid