Details

Time bar (total: 3.9s)

analyze269.0ms (6.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample54.0ms (1.4%)

Algorithm
intervals
Results
26.0ms63×body2048valid
8.0ms35×body1024valid
6.0ms52×body512valid
3.0ms89×body128valid
1.0ms15×body256valid
1.0msbody4096valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify22.0ms (0.6%)

Algorithm
egg-herbie
Rules
87×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
56×unsub-neg_binary64
50×distribute-rgt-in_binary64
Counts
1 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
33912
46912
510112
614112
721812
833112
943312
1045312
1142112
1236612

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Error
32.2b
Counts
1 → 1
Alt Table
StatusErrorProgram
32.2b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.7b
(-.f64 1 (cos.f64 x))
14.3b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite75.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
31.0b
Rules
14×add-sqr-sqrt_binary64 *-un-lft-identity_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
times-frac_binary64 difference-of-squares_binary64 associate-/l*_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
2 → 47
Calls

2 calls:

8.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
4.0ms
(-.f64 1 (cos.f64 x))
Compiler

Compiled 669 to 336 computations (49.8% saved)

series31.0ms (0.8%)

Error
0.5b
Counts
2 → 12
Calls

2 calls:

11.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
7.0ms
(-.f64 1 (cos.f64 x))
Compiler

Compiled 321 to 243 computations (24.3% saved)

simplify83.0ms (2.1%)

Algorithm
egg-herbie
Rules
904×div-sub_binary64
624×cancel-sign-sub-inv_binary64
267×associate-*r*_binary64
260×times-frac_binary64
256×associate-*l*_binary64
Counts
59 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0107901
1263811
2665811
32490811
44553811
56295811

prune33.0ms (0.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New25732
Fresh000
Picked011
Done000
Total25833
Error
0.3b
Counts
33 → 8
Alt Table
StatusErrorProgram
32.2b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
31.8b
(/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 x (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x)))
40.5b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 3))
48.8b
(/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) (/.f64 x (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x)))
32.2b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))
14.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
31.7b
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
30.4b
(+.f64 (-.f64 1/2 (*.f64 1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 566 to 346 computations (38.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.3b
(+.f64 1 (cos.f64 x))
14.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite145.0ms (3.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
32×add-exp-log_binary64 add-cbrt-cube_binary64
24×*-un-lft-identity_binary64
22×times-frac_binary64
16×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
Counts
4 → 111
Calls

4 calls:

10.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
7.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
3.0ms
(+.f64 1 (cos.f64 x))
Compiler

Compiled 2337 to 893 computations (61.8% saved)

series69.0ms (1.7%)

Error
0.3b
Counts
4 → 24
Calls

4 calls:

17.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
16.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
9.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
7.0ms
(+.f64 1 (cos.f64 x))
Compiler

Compiled 850 to 589 computations (30.7% saved)

simplify103.0ms (2.6%)

Algorithm
egg-herbie
Rules
610×associate-*l/_binary64
540×associate-/r/_binary64
452×associate-*r/_binary64
218×cancel-sign-sub-inv_binary64
170×log-div_binary64
Counts
135 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01972598
14901983
216931971
343641960
449331960

prune94.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh426
Picked011
Done101
Total1196125
Error
0b
Counts
125 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
14.7b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) (*.f64 x x))
32.2b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))
14.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
30.4b
(+.f64 (-.f64 1/2 (*.f64 1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 1715 to 911 computations (46.9% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

rewrite124.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×add-cube-cbrt_binary64 *-un-lft-identity_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*l*_binary64
Counts
3 → 87
Calls

3 calls:

8.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
8.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
3.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 1585 to 735 computations (53.6% saved)

series67.0ms (1.7%)

Error
0b
Counts
3 → 18
Calls

3 calls:

21.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
21.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
10.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 568 to 433 computations (23.8% saved)

simplify113.0ms (2.9%)

Algorithm
egg-herbie
Rules
589×associate-/l/_binary64
541×associate-*l/_binary64
464×cancel-sign-sub-inv_binary64
443×associate-*l*_binary64
393×associate-/r*_binary64
Counts
105 → 55
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01701928
14201669
212851669
341781665
448781665
549381665

prune52.0ms (1.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New54155
Fresh134
Picked011
Done011
Total55661
Error
0b
Counts
61 → 6
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
14.7b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) (*.f64 x x))
32.2b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))
14.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
30.4b
(+.f64 (-.f64 1/2 (*.f64 1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 899 to 485 computations (46.1% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
0.2b
(/.f64 (tan.f64 (/.f64 x 2)) x)
0.2b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x))

rewrite113.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×add-cube-cbrt_binary64 *-un-lft-identity_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*r*_binary64
Counts
3 → 84
Calls

3 calls:

7.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
Compiler

Compiled 1593 to 929 computations (41.7% saved)

series67.0ms (1.7%)

Error
0b
Counts
3 → 18
Calls

3 calls:

19.0ms
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
19.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x))
15.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
Compiler

Compiled 577 to 433 computations (25% saved)

simplify136.0ms (3.5%)

Algorithm
egg-herbie
Rules
571×associate-/l/_binary64
522×associate-*l/_binary64
423×associate-*l*_binary64
411×associate-*r/_binary64
374×associate-*r*_binary64
Counts
102 → 47
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01632035
13961770
213381770
342451766
447191766
549631766
649481766

prune39.0ms (1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New47047
Fresh033
Picked011
Done022
Total47653
Error
0b
Counts
53 → 6
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
14.7b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) (*.f64 x x))
32.2b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))
14.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
30.4b
(+.f64 (-.f64 1/2 (*.f64 1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 596 to 373 computations (37.4% saved)

regimes384.0ms (9.8%)

Accuracy

Total 0.1b remaining (80.1%)

Threshold costs 0.1b (80.1%)

Compiler

Compiled 5366 to 3503 computations (34.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end1.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.8s (46.4%)

Algorithm
intervals
Results
857.0ms1924×body2048valid
215.0ms1137×body1024valid
207.0ms1499×body512valid
95.0ms2608×body128valid
67.0ms733×body256valid
38.0ms99×body4096valid
Compiler

Compiled 111 to 76 computations (31.5% saved)

Profiling

Loading profile data...