Details

Time bar (total: 10.0s)

analyze686.0ms (6.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0485324
1485324
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14
Symmetry
Compiler

Compiled 16 to 9 computations (43.8% saved)

sample30.0ms (0.3%)

Algorithm
intervals
Results
10.0ms62×body1024valid
6.0ms149×body128valid
3.0ms28×body512valid
1.0ms17×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
0485324
1485324

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 1
Compiler

Compiled 30 to 16 computations (46.7% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite184.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
31×add-sqr-sqrt_binary64_782
27×*-un-lft-identity_binary64_760
22×add-cube-cbrt_binary64_795
18×pow1_binary64_821
15×times-frac_binary64_766
10×add-exp-log_binary64_798 add-cbrt-cube_binary64_796 difference-of-squares_binary64_729
tan-quot_binary64_919
add-log-exp_binary64_799 swap-sqr_binary64_727 associate-*l*_binary64_701 associate-*r*_binary64_700
associate-/l*_binary64_705
associate-/r*_binary64_704
pow2_binary64_841 pow-prod-down_binary64_831 pow-prod-up_binary64_830 pow-plus_binary64_823 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-times_binary64_770 pow-sqr_binary64_733 unswap-sqr_binary64_728 associate-*l/_binary64_703 associate-*r/_binary64_702 *-commutative_binary64_691 flip3--_binary64_764 associate-/l/_binary64_707 flip--_binary64_735 associate-/r/_binary64_706
div-exp_binary64_811 cbrt-undiv_binary64_794 frac-2neg_binary64_771 div-sub_binary64_765 clear-num_binary64_759 div-inv_binary64_757 flip3-+_binary64_763 flip-+_binary64_734 diff-log_binary64_852 sub-neg_binary64_753 cancel-sign-sub-inv_binary64_726
Counts
4 → 110
Calls

4 calls:

10.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
Compiler

Compiled 2625 to 1007 computations (61.6% saved)

series383.0ms (3.8%)

Error
0.2b
Counts
4 → 18
Calls

4 calls:

186.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
65.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
59.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
52.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 826 to 606 computations (26.6% saved)

simplify96.0ms (1%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049082014
149082014

prune175.0ms (1.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1199128
Fresh000
Picked101
Done000
Total1209129
Error
0.0b
Counts
129 → 9
Compiler

Compiled 2690 to 1552 computations (42.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 1 (tan.f64 x))
0.2b
(/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x)))
0.2b
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x))))
0.2b
(pow.f64 (tan.f64 x) 2)

rewrite565.0ms (5.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
317×*-un-lft-identity_binary64_760
264×times-frac_binary64_766
179×add-sqr-sqrt_binary64_782
104×add-cube-cbrt_binary64_795
69×distribute-lft-out_binary64_711
50×difference-of-squares_binary64_729
36×associate-/r*_binary64_704
25×distribute-lft-out--_binary64_712
13×associate-/r/_binary64_706
12×add-exp-log_binary64_798
11×add-cbrt-cube_binary64_796
associate-/l*_binary64_705
div-inv_binary64_757
add-log-exp_binary64_799 flip3--_binary64_764 flip--_binary64_735
pow1_binary64_821
div-exp_binary64_811 cbrt-undiv_binary64_794 associate-/l/_binary64_707
unpow-prod-down_binary64_839 pow-unpow_binary64_837 flip3-+_binary64_763 flip-+_binary64_734
frac-2neg_binary64_771 clear-num_binary64_759
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 sum-log_binary64_851 +-commutative_binary64_690
Counts
4 → 251
Calls

4 calls:

17.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x))))
9.0ms
(/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x)))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(+.f64 1 (tan.f64 x))
Compiler

Compiled 7790 to 5246 computations (32.7% saved)

series436.0ms (4.3%)

Error
0.0b
Counts
4 → 20
Calls

4 calls:

204.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x))))
124.0ms
(/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (tan.f64 x)))
52.0ms
(pow.f64 (tan.f64 x) 2)
36.0ms
(+.f64 1 (tan.f64 x))
Compiler

Compiled 927 to 675 computations (27.2% saved)

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049959393
149959393

prune480.0ms (4.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2683271
Fresh268
Picked011
Done000
Total27010280
Error
0b
Counts
280 → 10
Compiler

Compiled 7717 to 5090 computations (34% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (tan.f64 x) 2)
0.2b
(pow.f64 (tan.f64 x) 2)
0.2b
(pow.f64 (tan.f64 x) 2)
0.3b
(-.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (/.f64 (pow.f64 (tan.f64 x) 2) (+.f64 1 (pow.f64 (tan.f64 x) 2))))

rewrite296.0ms (3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
81×*-un-lft-identity_binary64_760
70×add-sqr-sqrt_binary64_782
68×times-frac_binary64_766
38×cancel-sign-sub-inv_binary64_726
29×add-cube-cbrt_binary64_795
24×unpow-prod-down_binary64_839
15×difference-of-squares_binary64_729
13×distribute-lft-out_binary64_711
10×unpow2_binary64_825 sqr-pow_binary64_732
pow-unpow_binary64_837
distribute-lft-out--_binary64_712
pow1_binary64_821 add-exp-log_binary64_798 div-inv_binary64_757
add-log-exp_binary64_799 associate-/r/_binary64_706 distribute-rgt-out--_binary64_714
add-cbrt-cube_binary64_796
flip3-+_binary64_763 flip-+_binary64_734 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828
diff-log_binary64_852 frac-sub_binary64_769 sub-div_binary64_767 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735
Counts
4 → 134
Calls

4 calls:

45.0ms
(-.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (/.f64 (pow.f64 (tan.f64 x) 2) (+.f64 1 (pow.f64 (tan.f64 x) 2))))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 4250 to 3040 computations (28.5% saved)

series446.0ms (4.4%)

Error
0b
Counts
4 → 16
Calls

4 calls:

280.0ms
(-.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (/.f64 (pow.f64 (tan.f64 x) 2) (+.f64 1 (pow.f64 (tan.f64 x) 2))))
53.0ms
(pow.f64 (tan.f64 x) 2)
48.0ms
(pow.f64 (tan.f64 x) 2)
47.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 1022 to 807 computations (21% saved)

simplify117.0ms (1.2%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
048713142
148713142

prune223.0ms (2.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1491150
Fresh178
Picked011
Done011
Total15010160
Error
0b
Counts
160 → 10
Compiler

Compiled 3915 to 2760 computations (29.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2)))
0.2b
(*.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
0.2b
(pow.f64 (tan.f64 x) 2)
0.2b
(pow.f64 (tan.f64 x) 2)

rewrite244.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
51×*-un-lft-identity_binary64_760
45×add-sqr-sqrt_binary64_782
30×add-cube-cbrt_binary64_795
26×times-frac_binary64_766
19×add-exp-log_binary64_798
18×associate-*l*_binary64_701
16×cancel-sign-sub-inv_binary64_726
14×unpow-prod-down_binary64_839
12×associate-*r*_binary64_700
11×add-cbrt-cube_binary64_796
pow1_binary64_821 distribute-rgt-in_binary64_710 distribute-lft-in_binary64_709
difference-of-squares_binary64_729
distribute-lft-out_binary64_711
pow-unpow_binary64_837 unpow2_binary64_825 sqr-pow_binary64_732
add-log-exp_binary64_799 div-exp_binary64_811 prod-exp_binary64_809 associate-/r/_binary64_706 associate-/r*_binary64_704
unswap-sqr_binary64_728 associate-/l*_binary64_705
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 1-exp_binary64_804 rec-exp_binary64_810 cbrt-unprod_binary64_793 cbrt-undiv_binary64_794 flip3--_binary64_764 frac-times_binary64_770 flip--_binary64_735 sub-neg_binary64_753 associate-*r/_binary64_702 div-inv_binary64_757 flip3-+_binary64_763 flip-+_binary64_734
pow-prod-down_binary64_831 associate-*l/_binary64_703 distribute-lft-out--_binary64_712 *-commutative_binary64_691 inv-pow_binary64_845 pow-flip_binary64_834 frac-2neg_binary64_771 clear-num_binary64_759
Counts
4 → 144
Calls

4 calls:

19.0ms
(*.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
6.0ms
(/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2)))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 3576 to 2691 computations (24.7% saved)

series426.0ms (4.2%)

Error
0b
Counts
4 → 18
Calls

4 calls:

189.0ms
(*.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
111.0ms
(/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2)))
57.0ms
(pow.f64 (tan.f64 x) 2)
54.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 847 to 709 computations (16.3% saved)

simplify108.0ms (1.1%)

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
048592875
148592875

prune180.0ms (1.8%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1620162
Fresh077
Picked011
Done022
Total16210172
Error
0b
Counts
172 → 10
Compiler

Compiled 3248 to 2369 computations (27.1% saved)

regimes1.2s (11.8%)

Accuracy

Total 0.3b remaining (88.9%)

Threshold costs 0.3b (88.9%)

Compiler

Compiled 13409 to 8643 computations (35.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02120
12120
Removed

()

end0.0ms (0%)

sample3.5s (35.1%)

Algorithm
intervals
Results
351.0ms2038×body1024valid
198.0ms4521×body128valid
118.0ms962×body512valid
41.0ms475×body256valid
1.0msbody2048valid
Compiler

Compiled 3101 to 2041 computations (34.2% saved)

Profiling

Loading profile data...