Details

Time bar (total: 16.1s)

analyze954.0ms (5.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0.1%14
Compiler

Compiled 12 to 9 computations (25% saved)

sample13.0s (80.6%)

Results
5.7s1547×body8192exit
3.5s4225×body1024valid
1.3s1697×body1024invalid
1.0s2029×body512valid
355.0ms1021×body256valid
333.0ms796×body512invalid
184.0ms142×body2048valid
162.0ms839×body128valid
144.0ms413×body256invalid
73.0ms396×body128invalid
3.0msbody2048invalid
Compiler

Compiled 35 to 26 computations (25.7% saved)

simplify142.0ms (0.9%)

Algorithm
egg-herbie
Rules
924×unswap-sqr_binary64
493×fma-neg_binary64
430×associate-/l*_binary64
379×fma-def_binary64
296×*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0917
11617
22515
33615
45915
510315
620415
743515
870315
9199515
10293415
11347815
12415815
13498015
14491315

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
60.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
60.2b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 40 to 21 computations (47.5% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 x)
0.0b
(sqrt.f64 (cos.f64 x))
0.3b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
3.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))

series43.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

19.0ms
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
11.0ms
(exp.f64 x)
9.0ms
(sqrt.f64 (cos.f64 x))
3.0ms
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
4 → 66
Calls

4 calls:

8.0ms
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
2.0ms
(sqrt.f64 (cos.f64 x))
1.0ms
(exp.f64 x)
1.0ms
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))

simplify159.0ms (1%)

Algorithm
egg-herbie
Rules
709×fma-def_binary64
626×cancel-sign-sub-inv_binary64
505×times-frac_binary64
293×fma-neg_binary64
252×associate-/l*_binary64
Counts
78 → 94
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01221297
12451205
25501165
314371144
441441144
549311144

prune178.0ms (1.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1105115
Fresh000
Picked101
Done000
Total1115116
Error
47.4b
Counts
116 → 5
Alt Table
StatusErrorProgram
60.2b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
61.0b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
60.2b
(/.f64 (log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (exp.f64 x))
60.2b
(exp.f64 (log.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
48.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 1870 to 554 computations (70.4% saved)

localize31.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 x)
0.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
0.0b
(sqrt.f64 (cos.f64 x))
15.8b
(fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x)))

series20.0ms (0.1%)

Counts
2 → 4
Calls

2 calls:

17.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
3.0ms
(fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x)))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 38
Calls

2 calls:

5.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1.0ms
(fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x)))

simplify193.0ms (1.2%)

Algorithm
egg-herbie
Rules
698×times-frac_binary64
513×div-sub_binary64
503×distribute-rgt-neg-in_binary64
299×fma-def_binary64
294×associate-*l*_binary64
Counts
42 → 50
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0741092
11521003
2336965
3822947
42773946
54586946
65245946

prune210.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh044
Picked011
Done000
Total93699
Error
47.4b
Counts
99 → 6
Alt Table
StatusErrorProgram
60.2b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
61.0b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
60.2b
(/.f64 (log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (exp.f64 x))
60.2b
(exp.f64 (log.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
59.6b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1))
48.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 1736 to 901 computations (48.1% saved)

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1))
0.0b
(sqrt.f64 (cos.f64 x))
15.8b
(fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x)))

series27.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

27.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
12×times-frac_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 35
Calls

1 calls:

6.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1))

simplify174.0ms (1.1%)

Algorithm
egg-herbie
Rules
500×fma-def_binary64
497×div-sub_binary64
244×distribute-rgt-neg-in_binary64
232×associate-*l*_binary64
227×sub-neg_binary64
Counts
47 → 70
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0861450
11861360
24351322
310251259
433991237
545361237
650181237

prune212.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh044
Picked101
Done011
Total1036109
Error
47.2b
Counts
109 → 6
Alt Table
StatusErrorProgram
60.2b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
61.0b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
59.7b
(/.f64 (fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x 1))
60.2b
(/.f64 (log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (exp.f64 x))
60.2b
(exp.f64 (log.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
48.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 2205 to 1355 computations (38.5% saved)

localize20.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x 1))
3.6b
(fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1))

series15.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

11.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x 1))
3.0ms
(fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
12×times-frac_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
2 → 44
Calls

2 calls:

7.0ms
(/.f64 (fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x 1))
1.0ms
(fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1))

simplify212.0ms (1.3%)

Algorithm
egg-herbie
Rules
505×fma-def_binary64
503×div-sub_binary64
262×associate-*l*_binary64
235×distribute-rgt-neg-in_binary64
233×sub-neg_binary64
Counts
68 → 82
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0932054
11941907
24471866
310671785
435151783
544731783
649801783

prune200.0ms (1.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh044
Picked011
Done011
Total82688
Error
47.2b
Counts
88 → 6
Alt Table
StatusErrorProgram
60.2b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
61.0b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
59.7b
(/.f64 (fmod.f64 (+.f64 1 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x 1))
60.2b
(/.f64 (log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (exp.f64 x))
60.2b
(exp.f64 (log.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
48.0b
(/.f64 (fmod.f64 (+.f64 1 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 2213 to 1636 computations (26.1% saved)

regimes97.0ms (0.6%)

Accuracy

Total 1.0b remaining (2.2%)

Threshold costs 0b (0%)

Counts
24 → 1
Compiler

Compiled 648 to 456 computations (29.6% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
11321
21221

end156.0ms (1%)

Compiler

Compiled 98 to 70 computations (28.6% saved)

Profiling

Loading profile data...