Details

Time bar (total: 10.9s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%49.7%50.3%0
0%49.7%50.3%1
0%49.7%50.3%2
24.8%24.8%50.3%3
37.3%12.4%50.3%4
43.5%6.2%50.3%5
46.6%3.1%50.3%6
48.1%1.6%50.3%7
48.9%0.8%50.3%8
49.3%0.4%50.3%9
49.5%0.2%50.3%10
49.6%0.1%50.3%11
49.6%0%50.3%12
49.7%0%50.3%13
49.7%0%50.3%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample9.2s (85%)

Results
7.2s4110×body2048valid
1.3s2134×body1024valid
343.0ms1020×body512valid
195.0ms215×body4096valid
122.0ms509×body256valid
39.0ms268×body128valid
Compiler

Compiled 41 to 31 computations (24.4% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21712
32512
43312
55112
67612
79312
811012
912012
1012412
1112612
1211212

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series24.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite54.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
288×times-frac_binary64
239×add-sqr-sqrt_binary64
231×*-un-lft-identity_binary64
215×add-cube-cbrt_binary64
182×prod-diff_binary64
Counts
2 → 273
Calls

2 calls:

17.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
2.0ms
(/.f64 1 (tan.f64 x))

simplify239.0ms (2.2%)

Algorithm
egg-herbie
Rules
770×fma-neg_binary64
466×fma-def_binary64
354×distribute-rgt-in_binary64
331×cancel-sign-sub-inv_binary64
277×associate-*l*_binary64
Counts
297 → 302
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01718645
13646130
29114575
328034281
442384246
549404246
647684246

prune192.0ms (1.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New3011302
Fresh000
Picked101
Done000
Total3021303
Error
0.3b
Counts
303 → 1
Alt Table
StatusErrorProgram
0.3b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))
Compiler

Compiled 10348 to 6497 computations (37.2% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x))
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.3b
(*.f64 1/3 x)

series13.0ms (0.1%)

Counts
4 → 9
Calls

4 calls:

5.0ms
(+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x))
3.0ms
(*.f64 2/945 (pow.f64 x 5))
3.0ms
(*.f64 1/45 (pow.f64 x 3))
1.0ms
(*.f64 1/3 x)

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
22×associate-*r*_binary64
16×add-exp-log_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 94
Calls

4 calls:

4.0ms
(*.f64 1/45 (pow.f64 x 3))
4.0ms
(*.f64 2/945 (pow.f64 x 5))
4.0ms
(+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x))
3.0ms
(*.f64 1/3 x)

simplify88.0ms (0.8%)

Algorithm
egg-herbie
Rules
520×fma-neg_binary64
481×unswap-sqr_binary64
431×*-commutative_binary64
235×fma-def_binary64
234×sqr-pow_binary64
Counts
103 → 120
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01521094
13181020
28501004
318781004
43929968
54727965
64861965

prune120.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1128120
Fresh000
Picked011
Done000
Total1129121
Error
0.1b
Counts
121 → 9
Alt Table
StatusErrorProgram
39.4b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (cbrt.f64 (*.f64 (*.f64 (*.f64 1/3 1/3) 1/3) (*.f64 (*.f64 x x) x)))))
1.6b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (*.f64 1/3 x)))))
27.1b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (/.f64 (*.f64 (*.f64 x x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (*.f64 x (fma.f64 x (*.f64 x 1/45) -1/3))))
35.0b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (exp.f64 (log.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))))))
32.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))))
1.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 1/3 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))
0.6b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 1/3) x))))
0.3b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))
32.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)))))
Compiler

Compiled 2863 to 2290 computations (20% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.3b
(*.f64 (sqrt.f64 1/3) x)
0.3b
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 1/3) x))

series11.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

7.0ms
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 1/3) x))
3.0ms
(*.f64 (sqrt.f64 1/3) x)

rewrite15.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×associate-*l*_binary64
11×add-sqr-sqrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
Counts
2 → 47
Calls

2 calls:

9.0ms
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 1/3) x))
4.0ms
(*.f64 (sqrt.f64 1/3) x)

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Rules
981×fma-def_binary64
342×associate-*l*_binary64
332×unswap-sqr_binary64
263×associate-*r/_binary64
234×associate-*l/_binary64
Counts
59 → 59
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057459
1121420
2338419
3628411
4824411
51265411
63215411
74671411
84933411

prune142.0ms (1.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1273130
Fresh167
Picked101
Done011
Total12910139
Error
0.0b
Counts
139 → 10
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 1/3) x)))))
1.6b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 (cbrt.f64 (*.f64 1/3 x)) (cbrt.f64 (*.f64 1/3 x))) (cbrt.f64 (*.f64 1/3 x)))))
39.4b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (cbrt.f64 (*.f64 (*.f64 (*.f64 1/3 1/3) 1/3) (*.f64 (*.f64 x x) x)))))
0.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x)))))
32.6b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 x))))))
27.1b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (/.f64 (*.f64 (*.f64 x x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (*.f64 x (fma.f64 x (*.f64 x 1/45) -1/3))))
32.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))))
1.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (*.f64 1/3 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))
0.3b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))
32.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)))))
Compiler

Compiled 3600 to 3008 computations (16.4% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x))
0.3b
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x)))

series11.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x)))
3.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
15×associate-*l*_binary64
12×sqrt-prod_binary64
Counts
2 → 52
Calls

2 calls:

10.0ms
(*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x)))
9.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x))

simplify104.0ms (1%)

Algorithm
egg-herbie
Rules
1052×fma-def_binary64
581×unswap-sqr_binary64
359×times-frac_binary64
328×*-commutative_binary64
284×sqr-pow_binary64
Counts
76 → 74
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
069771
1160550
2493550
3720543
41043528
51963528
63517528
74654528
84886528
94994528

prune152.0ms (1.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh628
Picked011
Done011
Total1496155
Error
0.0b
Counts
155 → 6
Alt Table
StatusErrorProgram
1.0b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 x (pow.f64 (pow.f64 (sqrt.f64 1/3) 1/4) 3))))))
0.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 1/3) x)))))
0.4b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x))))))
0.5b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 (sqrt.f64 1/3) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) x)))))
27.1b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (/.f64 (*.f64 (*.f64 x x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (*.f64 x (fma.f64 x (*.f64 x 1/45) -1/3))))
0.3b
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/3 x)))
Compiler

Compiled 4351 to 3784 computations (13% saved)

regimes164.0ms (1.5%)

Accuracy

Total 0.3b remaining (87.9%)

Threshold costs 0.3b (87.9%)

Counts
82 → 1
Compiler

Compiled 3648 to 3082 computations (15.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
11620
21620

end134.0ms (1.2%)

Compiler

Compiled 182 to 154 computations (15.4% saved)

Profiling

Loading profile data...