Details

Time bar (total: 4.9s)

sample88.0ms

Algorithm
intervals
Results
59.0ms184×body1280valid
8.0ms296×body80valid
6.0ms33×body640valid
2.0ms20×body320valid
1.0ms16×body160valid

simplify228.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: 31.5b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.0b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite13.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 (- x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(- (exp x) 2.0)
56.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify93.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune97.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0.0b

Counts
42 → 2

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

rewrite27.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)))
10.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))

series271.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
53.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
51.0ms
(* 1/360 (pow x 6))
37.0ms
(* 1/12 (pow x 4))

simplify53.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0329464
11456439
25001423

prune183.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh011
Picked011
Done000
Total85489

Merged error: 0.0b

Counts
89 → 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))
0.1b
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
21.7b
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
16×add-cube-cbrt unpow-prod-down
15×add-exp-log
14×cbrt-prod associate-*r*
add-cbrt-cube
cube-prod
associate-*l* prod-exp unswap-sqr sqr-pow
pow1
cube-div distribute-lft-out add-log-exp
pow-to-exp pow-unpow pow-exp
cube-mult cbrt-div flip3-+ unpow3 *-commutative cbrt-unprod flip-+
pow-pow pow1/3 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 102
Calls
4 calls:
6.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))
9.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
8.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

series220.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* 1/360 (pow x 6))
37.0ms
(* 1/12 (pow x 4))
75.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
57.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0418926
11871851
25002838

prune236.0ms

Filtered
114 candidates to 61 candidates (53.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh022
Picked011
Done011
Total1144118

Merged error: 0.0b

Counts
118 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))
0.0b
(pow (exp x) 3)
0.1b
(+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))
6.2b
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 sum-log add-cbrt-cube
add-exp-log pow-pow
+-commutative unpow-prod-down pow-unpow associate-+r+ exp-prod flip3-+ cube-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in
cube-mult pow-to-exp unpow3 exp-sum pow-exp distribute-lft-out rem-cube-cbrt sqr-pow
Counts
4 → 66
Calls
4 calls:
10.0ms
(+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))
6.0ms
(pow (exp x) 3)
7.0ms
(+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))
9.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

series221.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))
24.0ms
(pow (exp x) 3)
73.0ms
(+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))
91.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

simplify76.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0418688
12110635
25002627

prune227.0ms

Filtered
78 candidates to 57 candidates (73.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New76278
Fresh011
Picked101
Done022
Total77582

Merged error: 0.0b

Counts
82 → 5

regimes29.0ms

Accuracy

0% (0.6b 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
0177
1177

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.8s5647×body1280valid
226.0ms7931×body80valid
225.0ms1222×body640valid
76.0ms631×body320valid
24.0ms334×body160valid

Profiling

Loading profile data...