Details

Time bar (total: 4.0s)

sample103.0ms

Algorithm
intervals
Results
38.0ms237×body10240exit
30.0ms100×body1280valid
19.0ms92×body640valid
4.0ms38×body320valid
1.0ms16×body160valid
0.0ms10×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (44.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750027

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (+ x x))
0.0b
(fma 1 1 (exp (+ x x)))
0.3b
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
expm1-udef
frac-2neg div-sub clear-num fma-udef div-inv
Counts
3 → 6
Calls
3 calls:
1.0ms
(expm1 (+ x x))
1.0ms
(fma 1 1 (exp (+ x x)))
2.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series104.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(expm1 (+ x x))
20.0ms
(fma 1 1 (exp (+ x x)))
67.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify137.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
08367
122967
285266
3358364
4500164

prune34.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New14115
Fresh011
Picked011
Done000
Total14317

Merged error: 0b

Counts
17 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* 1/3 (pow x 3)))
0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.1b
(* 1/3 (pow x 3))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
sub-neg flip3-- unpow3 *-commutative flip-- fma-udef sqr-pow
Counts
3 → 8
Calls
3 calls:
2.0ms
(- x (* 1/3 (pow x 3)))
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
3.0ms
(* 1/3 (pow x 3))

series156.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(- x (* 1/3 (pow x 3)))
48.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
36.0ms
(* 1/3 (pow x 3))

simplify55.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
07768
125064
2123459
3500158

prune26.0ms

Filtered
17 candidates to 8 candidates (47.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New17017
Fresh011
Picked011
Done011
Total17320

Merged error: 0b

Counts
20 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.8b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.1b
(- (exp x) (exp (- x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
+-commutative sub-neg frac-2neg div-sub tanh-undef clear-num div-inv
Counts
3 → 16
Calls
3 calls:
3.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
2.0ms
(- (exp x) (exp (- x)))

series126.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (exp x) (exp (- x)))
69.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
35.0ms
(- (exp x) (exp (- x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0166199
1509188
21940178
35001171

prune56.0ms

Filtered
25 candidates to 21 candidates (84.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done022
Total25328

Merged error: 0b

Counts
28 → 3

regimes30.0ms

Accuracy

0% (0.1b remaining)

Error of 0.7b against oracle of 0.6b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1136
2136

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s7471×body10240exit
963.0ms3263×body1280valid
443.0ms2507×body640valid
133.0ms1211×body320valid
40.0ms604×body160valid
15.0ms415×body80valid