Details

Time bar (total: 5.4s)

sample109.0ms

Algorithm
intervals
Results
34.0ms78×body1280valid
21.0ms77×body640valid
20.0ms323×body80valid
9.0ms51×body320valid
3.0ms26×body160valid

simplify372.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0248
1448
2918
31958
43328
56528
612798
716948
849788
950018

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 18.0b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* J (- (exp l) (exp (- l))))
0.0b
(fma (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)) U)
6.6b
(- (exp l) (exp (- l)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
*-commutative fma-udef
Counts
3 → 12
Calls
3 calls:
3.0ms
(* J (- (exp l) (exp (- l))))
1.0ms
(fma (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)) U)
2.0ms
(- (exp l) (exp (- l)))

series250.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(* J (- (exp l) (exp (- l))))
159.0ms
(fma (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)) U)
38.0ms
(- (exp l) (exp (- l)))

simplify39.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0153138
1377126
21077116
35001113

prune61.0ms

Filtered
21 candidates to 13 candidates (61.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New19221
Fresh000
Picked101
Done000
Total20222

Merged error: 0.1b

Counts
22 → 2

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/60 (pow l 5) (* 2 l))
0.0b
(* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l))))
0.1b
(fma (* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
distribute-rgt-in distribute-lft-in *-commutative
Counts
3 → 5
Calls
3 calls:
1.0ms
(fma 1/60 (pow l 5) (* 2 l))
2.0ms
(* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l))))
1.0ms
(fma (* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)

series478.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(fma 1/60 (pow l 5) (* 2 l))
131.0ms
(* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l))))
230.0ms
(fma (* J (fma 1/3 (pow l 3) (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)

simplify81.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
09879
126674
280166
3255966
4500166

prune27.0ms

Filtered
14 candidates to 6 candidates (42.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13114
Fresh011
Picked011
Done000
Total13316

Merged error: 0.1b

Counts
16 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l))))
0.1b
(fma (+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)
0.1b
(* 1/3 (pow l 3))
3.9b
(* J (* 1/3 (pow l 3)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-*r*
*-commutative
fma-def
unpow3 fma-udef sqr-pow
associate-+r+
+-commutative distribute-rgt-in distribute-rgt-out distribute-lft-in flip3-+ flip-+ distribute-lft-out
Counts
4 → 22
Calls
4 calls:
10.0ms
(+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l))))
1.0ms
(fma (+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)
3.0ms
(* 1/3 (pow l 3))
4.0ms
(* J (* 1/3 (pow l 3)))

series468.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l))))
234.0ms
(fma (+ (* J (* 1/3 (pow l 3))) (* J (fma 1/60 (pow l 5) (* 2 l)))) (cos (/ K 2.0)) U)
38.0ms
(* 1/3 (pow l 3))
55.0ms
(* J (* 1/3 (pow l 3)))

simplify144.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
0177158
1650148
23599138
35001136

prune112.0ms

Filtered
34 candidates to 23 candidates (67.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New33134
Fresh011
Picked011
Done011
Total33437

Merged error: 0.0b

Counts
37 → 4

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 0.0b

Counts
4 → 4

regimes156.0ms

Accuracy

0% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.1s2609×body1280valid
663.0ms2523×body640valid
485.0ms8667×body80valid
252.0ms1407×body320valid
87.0ms717×body160valid