Details

Time bar (total: 5.0s)

analyze342.0ms (6.9%)

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)

sample66.0ms (1.3%)

Algorithm
intervals
Results
32.0ms67×body2048valid
9.0ms57×body512valid
7.0ms32×body1024valid
4.0ms75×body128valid
3.0msbody4096valid
2.0ms18×body256valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify27.0ms (0.5%)

Algorithm
egg-herbie
Rules
426×fma-def_binary64
293×fma-neg_binary64
85×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47212
511012
615812
725312
838312
952612
1064012
1162512
1257012

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
32.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
32.4b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.2b
(-.f64 1 (cos.f64 x))
17.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
prod-diff_binary64
add-cbrt-cube_binary64
Counts
2 → 63
Calls

2 calls:

6.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
3.0ms
(-.f64 1 (cos.f64 x))

series11.0ms (0.2%)

Counts
2 → 16
Calls

2 calls:

9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
2.0ms
(-.f64 1 (cos.f64 x))

simplify113.0ms (2.3%)

Algorithm
egg-herbie
Rules
626×fma-neg_binary64
411×associate-*l*_binary64
405×times-frac_binary64
353×associate-*r*_binary64
344×fma-def_binary64
Counts
79 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251152
12831017
2853961
33327961
44699961
54954961
64828961

prune81.0ms (1.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1209129
Fresh000
Picked101
Done000
Total1219130
Error
0.0b
Counts
130 → 9
Alt Table
StatusErrorProgram
17.8b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
30.7b
(fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2))
32.5b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (cos.f64 x) (cos.f64 x))) (*.f64 x (fma.f64 x (cos.f64 x) x)))
32.5b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (cos.f64 x) (cos.f64 x))) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
32.4b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))))
32.7b
(/.f64 (+.f64 1 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (cos.f64 x)))) (cbrt.f64 (cos.f64 x)))) (*.f64 x x))
31.8b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
31.9b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
32.4b
(/.f64 (exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
Compiler

Compiled 1774 to 899 computations (49.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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))
17.1b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64
32×add-exp-log_binary64
25×*-un-lft-identity_binary64
22×times-frac_binary64
17×add-sqr-sqrt_binary64
Counts
4 → 122
Calls

4 calls:

8.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
6.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
3.0ms
(+.f64 1 (cos.f64 x))

series56.0ms (1.1%)

Counts
4 → 40
Calls

4 calls:

29.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
20.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))

simplify112.0ms (2.2%)

Algorithm
egg-herbie
Rules
610×associate-*l/_binary64
540×associate-/r/_binary64
423×fma-def_binary64
335×fma-neg_binary64
214×cancel-sign-sub-inv_binary64
Counts
162 → 287
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02042904
15042230
217672192
346432192
449352192

prune171.0ms (3.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2834287
Fresh718
Picked101
Done000
Total2915296
Error
0b
Counts
296 → 5
Alt Table
StatusErrorProgram
17.8b
(/.f64 (/.f64 (expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) (+.f64 1 (cos.f64 x))) (*.f64 x x))
32.4b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.3b
(/.f64 1 (/.f64 x (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))))
32.3b
(-.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (*.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (cos.f64 (+.f64 x x))))
Compiler

Compiled 4371 to 1953 computations (55.3% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.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)))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
19×add-cbrt-cube_binary64
Counts
3 → 93
Calls

3 calls:

6.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
6.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
2.0ms
(/.f64 (sin.f64 x) x)

series65.0ms (1.3%)

Counts
3 → 28
Calls

3 calls:

31.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
27.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
7.0ms
(/.f64 (sin.f64 x) x)

simplify118.0ms (2.4%)

Algorithm
egg-herbie
Rules
744×fma-def_binary64
593×associate-/l/_binary64
549×associate-*l/_binary64
440×associate-*l*_binary64
391×associate-/r*_binary64
Counts
121 → 191
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01762266
14332003
213331993
340881989
447491989
551731989

prune119.0ms (2.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1901191
Fresh134
Picked011
Done000
Total1915196
Error
0b
Counts
196 → 5
Alt Table
StatusErrorProgram
17.8b
(/.f64 (/.f64 (expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) (+.f64 1 (cos.f64 x))) (*.f64 x x))
32.4b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
32.3b
(-.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (*.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (cos.f64 (+.f64 x x))))
Compiler

Compiled 2764 to 1384 computations (49.9% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
0.1b
(/.f64 x (tan.f64 (/.f64 x 2)))
0.1b
(/.f64 (sin.f64 x) x)

rewrite40.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
452×times-frac_binary64
213×*-un-lft-identity_binary64
213×add-sqr-sqrt_binary64
213×add-cube-cbrt_binary64
31×div-inv_binary64
Counts
2 → 261
Calls

2 calls:

10.0ms
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
3.0ms
(/.f64 x (tan.f64 (/.f64 x 2)))

series61.0ms (1.2%)

Counts
2 → 24
Calls

2 calls:

34.0ms
(/.f64 x (tan.f64 (/.f64 x 2)))
27.0ms
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))

simplify353.0ms (7.1%)

Algorithm
egg-herbie
Rules
575×fma-neg_binary64
437×associate-/r/_binary64
403×associate-*l/_binary64
303×*-commutative_binary64
301×associate-/r*_binary64
Counts
285 → 501
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
047510149
113009660
232309486
335979408
448119406
551979406

prune363.0ms (7.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5451546
Fresh123
Picked011
Done101
Total5474551
Error
0b
Counts
551 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
0.1b
(*.f64 (/.f64 (sin.f64 (/.f64 x 2)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (/.f64 x 2))))
32.4b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))))
32.3b
(-.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (*.f64 (/.f64 1/2 (*.f64 x (fma.f64 x (cos.f64 x) x))) (cos.f64 (+.f64 x x))))
Compiler

Compiled 11073 to 5295 computations (52.2% saved)

regimes752.0ms (15.1%)

Accuracy

Total 0.1b remaining (76.7%)

Threshold costs 0.1b (76.7%)

Compiler

Compiled 14201 to 9091 computations (36% 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)

sample2.0s (40.7%)

Algorithm
intervals
Results
955.0ms1959×body2048valid
279.0ms1094×body1024valid
233.0ms1512×body512valid
141.0ms2562×body128valid
80.0ms755×body256valid
52.0ms118×body4096valid
Compiler

Compiled 105 to 67 computations (36.2% saved)

Profiling

Loading profile data...