Details

Time bar (total: 2.4s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify212.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71505
810385
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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
1 → 5
Calls
1 calls:
3.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify148.0ms

Algorithm
egg-herbie
Counts
8 → 8
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07849
120049
266349
3359249
4500149

prune23.0ms

Filtered
8 candidates to 7 candidates (87.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639

Merged error: 0.0b

Counts
9 → 3

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.20833333333333334 (pow x 4))
12.8b
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
associate--l+
+-commutative sub-neg flip3-- associate-*r* *-commutative flip-- sqr-pow
Counts
2 → 8
Calls
2 calls:
3.0ms
(* 0.20833333333333334 (pow x 4))
5.0ms
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

series82.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* 0.20833333333333334 (pow x 4))
46.0ms
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

simplify57.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
08484
133483
2146680
3500280

prune24.0ms

Filtered
14 candidates to 7 candidates (50.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done011
Total14317

Merged error: 0.0b

Counts
17 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.5b
(* (exp x) (exp (- x)))
0.5b
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
1.8b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
61×exp-neg
44×associate-*r/
39×neg-sub0 exp-diff
27×frac-sub
21×un-div-inv
20×frac-times
16×associate-*l/
15×sub-div
flip3-+ *-commutative flip-+
distribute-rgt-in associate-+r+ distribute-lft-in
sub-neg frac-2neg associate-*l* clear-num associate-/r* sum-cubes
+-commutative distribute-rgt-out-- associate-/r/ distribute-lft-out--
pow-to-exp flip3-- unpow3 rgt-mult-inverse pow-exp prod-exp flip-- div-inv sqr-pow
Counts
4 → 86
Calls
4 calls:
2.0ms
(pow (exp x) 3)
3.0ms
(* (exp x) (exp (- x)))
17.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
10.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

series338.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (exp x) 3)
55.0ms
(* (exp x) (exp (- x)))
207.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
52.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

simplify81.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06311243
12797977
25001977

prune179.0ms

Filtered
98 candidates to 39 candidates (39.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New97198
Fresh000
Picked101
Done022
Total983101

Merged error: 0b

Counts
101 → 3

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (- x)) 4)
0.2b
(/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))
0.5b
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))))
1.7b
(+ (* (- 1) 1) (pow (exp (- x)) 4))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ flip-+
frac-times
frac-2neg associate-*l/ clear-num associate-/r/
+-commutative associate-*l* associate-/r* sum-cubes
distribute-rgt-in distribute-lft-in associate-*r/ div-inv associate-/l/
pow-to-exp neg-mul-1 exp-prod pow-pow pow-exp *-commutative sqr-pow
Counts
4 → 36
Calls
4 calls:
3.0ms
(pow (exp (- x)) 4)
9.0ms
(/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))
15.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))))
5.0ms
(+ (* (- 1) 1) (pow (exp (- x)) 4))

series431.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (exp (- x)) 4)
78.0ms
(/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))
283.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (+ (* (- 1) 1) (pow (exp (- x)) 4)) (+ (pow (exp (- x)) 2) 1))))
42.0ms
(+ (* (- 1) 1) (pow (exp (- x)) 4))

simplify64.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05201015
12522902
25001890

prune213.0ms

Filtered
48 candidates to 38 candidates (79.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New48048
Fresh000
Picked011
Done022
Total48351

Merged error: 0b

Counts
51 → 3

regimes55.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085
185

end0.0ms

sample272.0ms

Algorithm
intervals
Results
183.0ms8000×body80valid