Details

Time bar (total: 4.6s)

analyze218.0ms (4.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
15.6%84.3%0.1%6
37.5%62.4%0.1%7
46.8%53.1%0.1%8
57.8%39.8%2.4%9
64.6%30.4%5%10
71.8%20.3%7.9%11
74.1%16.2%9.7%12
77.4%10.7%12%13
78.6%8.4%13%14
Compiler

Compiled 22 to 18 computations (18.2% saved)

sample22.0ms (0.5%)

Algorithm
intervals
Results
14.0ms256×body128valid
1.0ms10×body128invalid
Compiler

Compiled 43 to 37 computations (14% saved)

simplify144.0ms (3.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0524129

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 59 to 47 computations (20.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 a) (/.f64 1 b))
0.7b
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
3.7b
(-.f64 (*.f64 b b) (*.f64 a a))
7.6b
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))

rewrite115.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
251×times-frac_binary64_766
178×add-sqr-sqrt_binary64_782
153×*-un-lft-identity_binary64_760
121×add-cube-cbrt_binary64_795
58×associate-*l*_binary64_701
46×difference-of-squares_binary64_729
40×cancel-sign-sub-inv_binary64_726
22×div-inv_binary64_757
19×associate-*r*_binary64_700
18×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
14×distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 distribute-lft-out--_binary64_712
13×associate-/l*_binary64_705
add-log-exp_binary64_799
cbrt-undiv_binary64_794 div-exp_binary64_811 pow1_binary64_821 flip--_binary64_735 flip3--_binary64_764
associate-/r/_binary64_706 associate-/r*_binary64_704 sub-neg_binary64_753
unswap-sqr_binary64_728 prod-exp_binary64_809 frac-times_binary64_770 frac-sub_binary64_769 associate-*r/_binary64_702 cbrt-unprod_binary64_793
diff-log_binary64_852
frac-2neg_binary64_771 associate-*l/_binary64_703 associate-/l/_binary64_707 clear-num_binary64_759 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
4 → 270
Calls

4 calls:

51.0ms
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
15.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))
9.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
4.0ms
(-.f64 (*.f64 b b) (*.f64 a a))

series114.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

47.0ms
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
34.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
22.0ms
(-.f64 (*.f64 b b) (*.f64 a a))
11.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))

simplify120.0ms (2.6%)

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
051547997

prune391.0ms (8.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New27210282
Fresh101
Picked101
Done000
Total27410284
Error
0.0b
Counts
284 → 10
Compiler

Compiled 8387 to 4016 computations (52.1% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.2b
(/.f64 (*.f64 (/.f64 (/.f64 PI.f64 2) (+.f64 b a)) 1) (*.f64 a b))
0.3b
(/.f64 (/.f64 PI.f64 2) (+.f64 b a))

rewrite38.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
98×times-frac_binary64_766
79×*-un-lft-identity_binary64_760
60×add-exp-log_binary64_798
51×add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
39×add-cbrt-cube_binary64_796
29×div-exp_binary64_811
19×prod-exp_binary64_809
17×cbrt-undiv_binary64_794
14×distribute-lft-out_binary64_711 associate-/l*_binary64_705
10×cbrt-unprod_binary64_793
div-inv_binary64_757
1-exp_binary64_804
associate-/r*_binary64_704
frac-2neg_binary64_771 associate-/r/_binary64_706 associate-/l/_binary64_707 add-log-exp_binary64_799 pow1_binary64_821 clear-num_binary64_759
associate-*l/_binary64_703 flip3-+_binary64_763 flip-+_binary64_734
Counts
2 → 122
Calls

2 calls:

14.0ms
(/.f64 (*.f64 (/.f64 (/.f64 PI.f64 2) (+.f64 b a)) 1) (*.f64 a b))
9.0ms
(/.f64 (/.f64 PI.f64 2) (+.f64 b a))

series81.0ms (1.7%)

Counts
2 → 6
Calls

2 calls:

51.0ms
(/.f64 (*.f64 (/.f64 (/.f64 PI.f64 2) (+.f64 b a)) 1) (*.f64 a b))
30.0ms
(/.f64 (/.f64 PI.f64 2) (+.f64 b a))

simplify65.0ms (1.4%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051892615

prune127.0ms (2.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1253128
Fresh639
Picked011
Done000
Total1317138
Error
0b
Counts
138 → 7
Compiler

Compiled 2554 to 1263 computations (50.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1/2 (-.f64 b a))
0.2b
(*.f64 (/.f64 PI.f64 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))))
0.3b
(/.f64 PI.f64 (+.f64 b a))
0.5b
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))

rewrite91.0ms (2%)

Algorithm
rewrite-expression-head
Rules
87×*-un-lft-identity_binary64_760
86×add-sqr-sqrt_binary64_782
73×times-frac_binary64_766
43×add-cube-cbrt_binary64_795
37×associate-*l*_binary64_701
34×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
22×associate-*r*_binary64_700
16×difference-of-squares_binary64_729 frac-times_binary64_770
14×distribute-lft-out--_binary64_712
12×prod-exp_binary64_809 cbrt-unprod_binary64_793
11×pow1_binary64_821
10×associate-*l/_binary64_703 associate-*r/_binary64_702
associate-/r*_binary64_704
cbrt-undiv_binary64_794 associate-/r/_binary64_706 div-inv_binary64_757 div-exp_binary64_811 flip--_binary64_735 flip3--_binary64_764
distribute-lft-out_binary64_711
associate-/l*_binary64_705 frac-sub_binary64_769
add-log-exp_binary64_799 pow-prod-down_binary64_831
unswap-sqr_binary64_728 frac-2neg_binary64_771 flip3-+_binary64_763 flip-+_binary64_734 clear-num_binary64_759 *-commutative_binary64_691
Counts
4 → 188
Calls

4 calls:

32.0ms
(*.f64 (/.f64 PI.f64 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))))
30.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))
6.0ms
(/.f64 1/2 (-.f64 b a))
5.0ms
(/.f64 PI.f64 (+.f64 b a))

series135.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(*.f64 (/.f64 PI.f64 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))))
27.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))
27.0ms
(/.f64 PI.f64 (+.f64 b a))
26.0ms
(/.f64 1/2 (-.f64 b a))

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050274131

prune222.0ms (4.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1982200
Fresh235
Picked011
Done011
Total2007207
Error
0b
Counts
207 → 7
Compiler

Compiled 5150 to 2614 computations (49.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1/2 (-.f64 b a))
0.2b
(/.f64 (*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64) (+.f64 b a))
0.3b
(*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64)
0.5b
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))

rewrite109.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64_782
63×*-un-lft-identity_binary64_760
53×times-frac_binary64_766
34×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
29×add-cube-cbrt_binary64_795
24×associate-*r*_binary64_700
23×associate-*l/_binary64_703
20×associate-*l*_binary64_701
16×difference-of-squares_binary64_729
14×distribute-lft-out--_binary64_712
12×prod-exp_binary64_809 cbrt-unprod_binary64_793
11×pow1_binary64_821
associate-/r*_binary64_704 frac-times_binary64_770
cbrt-undiv_binary64_794 div-exp_binary64_811 flip--_binary64_735 flip3--_binary64_764
associate-/l/_binary64_707 div-inv_binary64_757
associate-/r/_binary64_706 frac-sub_binary64_769
add-log-exp_binary64_799 associate-/l*_binary64_705 pow-prod-down_binary64_831
associate-*r/_binary64_702
unswap-sqr_binary64_728 frac-2neg_binary64_771 distribute-lft-out_binary64_711 clear-num_binary64_759 *-commutative_binary64_691
flip3-+_binary64_763 flip-+_binary64_734
Counts
4 → 162
Calls

4 calls:

31.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))
28.0ms
(/.f64 (*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64) (+.f64 b a))
27.0ms
(*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64)
5.0ms
(/.f64 1/2 (-.f64 b a))

series142.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

55.0ms
(/.f64 (*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64) (+.f64 b a))
35.0ms
(*.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a))) PI.f64)
28.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 1/2 (-.f64 b a)))
24.0ms
(/.f64 1/2 (-.f64 b a))

simplify63.0ms (1.4%)

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
056813628

prune185.0ms (4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1740174
Fresh044
Picked011
Done022
Total1747181
Error
0b
Counts
181 → 7
Compiler

Compiled 4366 to 2406 computations (44.9% saved)

regimes355.0ms (7.7%)

Accuracy

Total 0.2b remaining (98.6%)

Threshold costs 0.2b (98.6%)

Compiler

Compiled 4700 to 3384 computations (28% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01617
11617

end0.0ms (0%)

sample1.8s (38.3%)

Algorithm
intervals
Results
444.0ms8000×body128valid
18.0ms341×body128invalid
Compiler

Compiled 1563 to 1125 computations (28% saved)

Profiling

Loading profile data...