Details

Time bar (total: 4.2s)

sample103.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
16.0b
(- (exp x) (exp (- x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l/
associate-/l/
flip3-- frac-2neg flip3-+ associate-*l* clear-num *-commutative flip-- flip-+ div-inv
+-commutative sub-neg
Counts
4 → 21
Calls
4 calls:
5.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
3.0ms
(+ (exp x) (exp (- x)))
5.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
2.0ms
(- (exp x) (exp (- x)))

series199.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify123.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0197194
1710188
23706184
35002184

prune141.0ms

Filtered
33 candidates to 28 candidates (84.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334

Merged error: 0.0b

Counts
34 → 3

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.1b
(pow (exp (- x)) 3)
15.9b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
16.0b
(- (exp x) (exp (- x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
58×exp-neg
40×associate-*r/
38×neg-sub0 exp-diff
27×frac-sub
20×un-div-inv
15×sub-div
12×frac-times associate-*l/
*-commutative
pow-to-exp sub-neg flip3-- distribute-rgt-out-- unpow3 pow-exp flip-- distribute-lft-out-- sqr-pow
neg-mul-1 exp-prod pow-pow
Counts
4 → 63
Calls
4 calls:
2.0ms
(pow (exp x) 3)
3.0ms
(pow (exp (- x)) 3)
11.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
3.0ms
(- (exp x) (exp (- x)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
31.0ms
(pow (exp (- x)) 3)
49.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
40.0ms
(- (exp x) (exp (- x)))

simplify36.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0361456
11104365
25001335

prune151.0ms

Filtered
75 candidates to 23 candidates (30.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73275
Fresh112
Picked101
Done000
Total75378

Merged error: 0.0b

Counts
78 → 3

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (exp x))
0.1b
(pow (exp (- x)) 3)
15.9b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
16.0b
(- (exp x) (exp (- x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
58×exp-neg
40×associate-*r/
38×neg-sub0 exp-diff
27×frac-sub
20×un-div-inv
15×sub-div
12×frac-times associate-*l/
*-commutative
sub-neg flip3-- distribute-rgt-out-- flip-- distribute-lft-out--
pow2 pow-to-exp neg-mul-1 exp-prod pow-pow unpow3 pow-exp prod-exp sqr-pow
Counts
4 → 62
Calls
4 calls:
3.0ms
(* (exp x) (exp x))
3.0ms
(pow (exp (- x)) 3)
10.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
2.0ms
(- (exp x) (exp (- x)))

series129.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (exp x) (exp x))
30.0ms
(pow (exp (- x)) 3)
48.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
38.0ms
(- (exp x) (exp (- x)))

simplify36.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0361445
11107359
25001344

prune153.0ms

Filtered
74 candidates to 22 candidates (29.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73174
Fresh022
Picked101
Done000
Total74377

Merged error: 0b

Counts
77 → 3

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (- x)) (exp (- x)))
0.1b
(pow (exp (- x)) 3)
15.9b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
16.0b
(- (exp x) (exp (- x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
65×exp-neg
44×neg-sub0 exp-diff
42×associate-*r/
27×frac-sub
21×un-div-inv
16×frac-times
15×sub-div
14×associate-*l/
neg-mul-1 exp-prod
*-commutative
sub-neg flip3-- distribute-rgt-out-- flip-- distribute-lft-out--
pow2 pow-to-exp pow-pow unpow3 pow-prod-down pow-exp prod-exp pow-sqr pow-prod-up sqr-pow
Counts
4 → 74
Calls
4 calls:
5.0ms
(* (exp (- x)) (exp (- x)))
3.0ms
(pow (exp (- x)) 3)
11.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
2.0ms
(- (exp x) (exp (- x)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (exp (- x)) (exp (- x)))
25.0ms
(pow (exp (- x)) 3)
48.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))
39.0ms
(- (exp x) (exp (- x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0363467
11090381
25001363

prune163.0ms

Filtered
86 candidates to 27 candidates (31.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done000
Total86389

Merged error: 0b

Counts
89 → 3

regimes52.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03334
13334

end0.0ms

sample2.3s

Algorithm
halfpoints