Details

Time bar (total: 11.5s)

analyze2.5s (22.2%)

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

Compiled 11 to 7 computations (36.4% saved)

sample196.0ms (1.7%)

Algorithm
intervals
Results
116.0ms62×body2048valid
42.0ms95×body1024valid
11.0ms46×body512valid
7.0msbody4096valid
4.0ms25×body256valid
2.0ms21×body128valid
Compiler

Compiled 22 to 14 computations (36.4% saved)

simplify89.0ms (0.8%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
430×div-sub_binary64
430×fma-def_binary64
335×times-frac_binary64
160×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11414
22414
34114
46714
511514
621214
741614
869914
9117614
10155514
11162114
12165214
13167914
14168914
15169314
16169314
17159214

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.6b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 x)
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
1.5b
(-.f64 x (tan.f64 x))
1.5b
(-.f64 x (sin.f64 x))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity_binary64
60×add-sqr-sqrt_binary64
32×add-cube-cbrt_binary64
25×times-frac_binary64
18×prod-diff_binary64
Counts
4 → 123
Calls

4 calls:

8.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
3.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))
1.0ms
(sin.f64 x)

series26.0ms (0.2%)

Counts
4 → 34
Calls

4 calls:

11.0ms
(-.f64 x (tan.f64 x))
10.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
4.0ms
(-.f64 x (sin.f64 x))
1.0ms
(sin.f64 x)

simplify155.0ms (1.3%)

Algorithm
egg-herbie
Rules
497×fma-neg_binary64
313×cancel-sign-sub-inv_binary64
252×associate-/l/_binary64
221×associate-/r/_binary64
204×distribute-rgt-in_binary64
Counts
157 → 231
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02653109
16182685
220752567
345002563
449852563
548722563

prune96.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2283231
Fresh000
Picked101
Done000
Total2293232
Error
0.0b
Counts
232 → 3
Alt Table
StatusErrorProgram
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
32.2b
(+.f64 (+.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (/.f64 (sin.f64 x) (cos.f64 x)) 3) (pow.f64 x 3)))) (-.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (+.f64 (/.f64 (sin.f64 x) x) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x))))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 x) 2))))))
31.5b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 3511 to 1059 computations (69.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
0.3b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
19.0b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

4.0ms
(*.f64 27/112000 (pow.f64 x 6))
3.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
0.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))

series64.0ms (0.6%)

Counts
4 → 36
Calls

4 calls:

22.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
21.0ms
(*.f64 27/112000 (pow.f64 x 6))
14.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
6.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

simplify128.0ms (1.1%)

Algorithm
egg-herbie
Rules
445×fma-neg_binary64
370×fma-def_binary64
341×distribute-rgt-in_binary64
340×distribute-lft-in_binary64
292×exp-prod_binary64
Counts
115 → 193
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01432086
12601929
27991728
328101715
443771706
549971706
647541706

prune103.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1921193
Fresh022
Picked101
Done000
Total1933196
Error
0b
Counts
196 → 3
Alt Table
StatusErrorProgram
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)
32.2b
(+.f64 (+.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (/.f64 (sin.f64 x) (cos.f64 x)) 3) (pow.f64 x 3)))) (-.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (+.f64 (/.f64 (sin.f64 x) x) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x))))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 x) 2))))))
31.5b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 3560 to 2647 computations (25.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)
0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.1b
(fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6))))
19.3b
(fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
3 → 51
Calls

3 calls:

3.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)
0.0ms
(fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))
0.0ms
(fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6))))

series41.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

21.0ms
(fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))
13.0ms
(fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6))))
7.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)

simplify108.0ms (0.9%)

Algorithm
egg-herbie
Rules
873×fma-neg_binary64
473×associate-+l+_binary64
441×associate-+r+_binary64
356×exp-prod_binary64
333×*-commutative_binary64
Counts
87 → 159
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01061835
11851711
23481640
314151624
434431624
548781624
647631624

prune140.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2030203
Fresh022
Picked011
Done000
Total2033206
Error
0b
Counts
206 → 3
Alt Table
StatusErrorProgram
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)
32.2b
(+.f64 (+.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (/.f64 (sin.f64 x) (cos.f64 x)) 3) (pow.f64 x 3)))) (-.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (+.f64 (/.f64 (sin.f64 x) x) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x))))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 x) 2))))))
31.5b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 3760 to 2798 computations (25.6% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 x)
0.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
1.5b
(-.f64 x (tan.f64 x))
1.5b
(-.f64 x (sin.f64 x))

rewrite28.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
193×times-frac_binary64
157×*-un-lft-identity_binary64
157×add-sqr-sqrt_binary64
77×add-cube-cbrt_binary64
40×distribute-lft-out--_binary64
Counts
1 → 150
Calls

1 calls:

10.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))

series10.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

10.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))

simplify168.0ms (1.5%)

Algorithm
egg-herbie
Rules
519×times-frac_binary64
337×associate-/l*_binary64
274×associate-*r*_binary64
274×associate-/r*_binary64
262×associate-*l*_binary64
Counts
162 → 312
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01874916
14204509
212954375
344444362
449664362

prune166.0ms (1.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4461447
Fresh101
Picked011
Done011
Total4473450
Error
0b
Counts
450 → 3
Alt Table
StatusErrorProgram
31.6b
(/.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (/.f64 1 (-.f64 x (sin.f64 x))))
31.5b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (fma.f64 (pow.f64 x 4) -27/2800 (*.f64 27/112000 (pow.f64 x 6)))) 1/2)
Compiler

Compiled 6450 to 1938 computations (70% saved)

regimes218.0ms (1.9%)

Accuracy

Total 0.1b remaining (86.1%)

Threshold costs 0.1b (86.1%)

Compiler

Compiled 3025 to 1805 computations (40.3% saved)

bsearch47.0ms (0.4%)

Steps
ItersRangePoint
8
0.0007180392414806993
1.7475808034814253
0.09629485008899653
9
-335542.28695022623
-0.02730429450461721
-2.594104887854674
Compiler

Compiled 2 to 1 computations (50% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
18×+-commutative_binary64
14×*-commutative_binary64
13×sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054157
175157
290157
3108157
4126157
5136157
6141157
7142157
8140157

end2.0ms (0%)

Compiler

Compiled 103 to 62 computations (39.8% saved)

sample7.1s (61.5%)

Algorithm
intervals
Results
4.5s2026×body2048valid
1.5s2991×body1024valid
406.0ms1523×body512valid
121.0ms110×body4096valid
117.0ms706×body256valid
65.0ms644×body128valid
Compiler

Compiled 159 to 102 computations (35.8% saved)

Profiling

Loading profile data...