Details

Time bar (total: 12.6s)

analyze2.0s (15.7%)

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%100%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample9.2s (73.3%)

Results
5.6s2085×body2048valid
2.3s3134×body1024valid
608.0ms1485×body512valid
218.0ms766×body256valid
167.0ms108×body4096valid
136.0ms678×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify89.0ms (0.7%)

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
35.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
35.1b
(/.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)))
2.4b
(-.f64 x (sin.f64 x))
2.4b
(-.f64 x (tan.f64 x))

series23.0ms (0.2%)

Counts
4 → 34
Calls

4 calls:

10.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (tan.f64 x))
5.0ms
(sin.f64 x)
2.0ms
(-.f64 x (sin.f64 x))

rewrite23.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:

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

simplify143.0ms (1.1%)

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 → 169
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02653109
16182685
220752567
345002563
449852563
548722563

prune88.0ms (0.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1654169
Fresh000
Picked101
Done000
Total1664170
Error
0.0b
Counts
170 → 4
Alt Table
StatusErrorProgram
35.3b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
28.3b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
35.8b
(/.f64 (fma.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (cbrt.f64 x) (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
35.1b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
Compiler

Compiled 3446 to 1021 computations (70.4% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series10.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

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

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
Counts
3 → 52
Calls

3 calls:

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

simplify73.0ms (0.6%)

Algorithm
egg-herbie
Rules
407×fma-neg_binary64
399×associate-+r+_binary64
379×associate-+l+_binary64
320×fma-def_binary64
300×times-frac_binary64
Counts
88 → 81
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01041147
11991072
2668980
32038980
44543969
54942969

prune54.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done000
Total81485
Error
0.0b
Counts
85 → 4
Alt Table
StatusErrorProgram
35.3b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
28.3b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
35.8b
(/.f64 (fma.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (cbrt.f64 x) (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
35.1b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
Compiler

Compiled 1605 to 1167 computations (27.3% saved)

localize9.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 (neg.f64 (tan.f64 x))))
2.4b
(-.f64 x (sin.f64 x))
2.4b
(+.f64 x (neg.f64 (tan.f64 x)))

series17.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

11.0ms
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
6.0ms
(+.f64 x (neg.f64 (tan.f64 x)))

rewrite17.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
25×times-frac_binary64
15×add-cube-cbrt_binary64
14×distribute-lft-out_binary64
Counts
2 → 75
Calls

2 calls:

8.0ms
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
4.0ms
(+.f64 x (neg.f64 (tan.f64 x)))

simplify99.0ms (0.8%)

Algorithm
egg-herbie
Rules
465×fma-def_binary64
375×distribute-rgt-in_binary64
369×times-frac_binary64
316×fma-neg_binary64
295×distribute-lft-in_binary64
Counts
99 → 122
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01732042
14591962
213851934
348601934
449991934

prune97.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1800180
Fresh022
Picked011
Done011
Total1804184
Error
0.0b
Counts
184 → 4
Alt Table
StatusErrorProgram
35.3b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
28.3b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
35.8b
(/.f64 (fma.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (cbrt.f64 x) (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
35.1b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
Compiler

Compiled 3567 to 997 computations (72% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
0.1b
(/.f64 1 (cos.f64 x))
2.8b
(+.f64 (/.f64 1 (cos.f64 x)) -1)

series30.0ms (0.2%)

Counts
4 → 32
Calls

4 calls:

13.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
7.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
6.0ms
(/.f64 1 (cos.f64 x))
3.0ms
(/.f64 (sin.f64 x) x)

rewrite35.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
43×*-un-lft-identity_binary64
41×times-frac_binary64
35×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
4 → 138
Calls

4 calls:

13.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
9.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
3.0ms
(/.f64 (sin.f64 x) x)
3.0ms
(/.f64 1 (cos.f64 x))

simplify103.0ms (0.8%)

Algorithm
egg-herbie
Rules
443×fma-def_binary64
410×associate-*l/_binary64
341×associate-/l*_binary64
334×distribute-rgt-in_binary64
312×associate-*r/_binary64
Counts
170 → 215
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02092417
15732236
214852213
343912213
449802213

prune142.0ms (1.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh011
Picked011
Done022
Total2154219
Error
0.0b
Counts
219 → 4
Alt Table
StatusErrorProgram
35.3b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
28.3b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
35.8b
(/.f64 (fma.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (cbrt.f64 x) (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
35.1b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 x (neg.f64 (tan.f64 x))))
Compiler

Compiled 4456 to 2430 computations (45.5% saved)

regimes84.0ms (0.7%)

Accuracy

Total 0.0b remaining (15.7%)

Threshold costs 0.0b (15.7%)

Counts
27 → 3
Compiler

Compiled 758 to 508 computations (33% saved)

bsearch55.0ms (0.4%)

Steps
ItersRangePoint
9
0.0013573560290461768
193865.61278390023
0.029073431474603176
9
-0.4710171046121895
-1.599903182968793e-7
-0.02981343514249264
Compiler

Compiled 2 to 1 computations (50% saved)

simplify6.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02860
13560
24660
35260
45560
55560

end143.0ms (1.1%)

Compiler

Compiled 137 to 85 computations (38% saved)

Profiling

Loading profile data...