Details

Time bar (total: 9.8s)

analyze351.0ms (3.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample32.0ms (0.3%)

Algorithm
intervals
Results
11.0ms245×body128valid
9.0ms284×pre128true
1.0ms28×body128nan
1.0ms11×body256valid
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify571.0ms (5.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (472.0ms)

IterNodesCost
0183424
1183424

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
27.0b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
26.9b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite51.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_782
14×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
add-cube-cbrt_binary64_795 add-log-exp_binary64_799
sqrt-prod_binary64_776 difference-of-squares_binary64_729 associate-/l*_binary64_705 times-frac_binary64_766
pow1_binary64_821
cancel-sign-sub-inv_binary64_726 flip--_binary64_735 flip3--_binary64_764
distribute-lft-out--_binary64_712
diff-log_binary64_852 cbrt-undiv_binary64_794 associate-/l/_binary64_707 sqrt-div_binary64_777 div-exp_binary64_811 sub-neg_binary64_753
rem-sqrt-square_binary64_773 frac-2neg_binary64_771 prod-exp_binary64_809 sqrt-pow1_binary64_778 associate-/r*_binary64_704 div-inv_binary64_757 div-sub_binary64_765 cbrt-unprod_binary64_793 pow1/2_binary64_840 clear-num_binary64_759
Counts
4 → 74
Calls

4 calls:

22.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
14.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series372.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

130.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
111.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
85.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
46.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify147.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (119.0ms)

IterNodesCost
048991979
148991979

prune139.0ms (1.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New80686
Fresh000
Picked101
Done000
Total81687
Error
0.3b
Counts
87 → 6
Compiler

Compiled 2121 to 1268 computations (40.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite64.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
22×times-frac_binary64_766
20×*-un-lft-identity_binary64_760
17×cbrt-undiv_binary64_794 div-exp_binary64_811
13×prod-exp_binary64_809 cbrt-unprod_binary64_793
11×associate-/l*_binary64_705
10×add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
add-log-exp_binary64_799
associate-/r/_binary64_706
distribute-lft-out_binary64_711 associate-/r*_binary64_704
flip3-+_binary64_763 div-inv_binary64_757 flip-+_binary64_734 pow1_binary64_821
frac-2neg_binary64_771 clear-num_binary64_759
diff-log_binary64_852 associate-/l/_binary64_707 cancel-sign-sub-inv_binary64_726 +-commutative_binary64_690 sum-log_binary64_851 sub-neg_binary64_753 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 99
Calls

4 calls:

16.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
15.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series638.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

283.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
222.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
90.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
44.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify78.0ms (0.8%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049823037
149823037

prune246.0ms (2.5%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1029111
Fresh505
Picked101
Done000
Total1089117
Error
0b
Counts
117 → 9
Compiler

Compiled 3297 to 2039 computations (38.2% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.2b
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.2b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
0.3b
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))

rewrite57.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_760
24×times-frac_binary64_766
21×add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
18×add-exp-log_binary64_798 add-cbrt-cube_binary64_796 associate-*r*_binary64_700
pow1_binary64_821
distribute-lft-out_binary64_711 add-log-exp_binary64_799
prod-exp_binary64_809 cbrt-unprod_binary64_793
associate-/r/_binary64_706 associate-/r*_binary64_704
cbrt-undiv_binary64_794 flip3-+_binary64_763 flip-+_binary64_734 associate-/l*_binary64_705 div-exp_binary64_811 pow-prod-down_binary64_831
div-inv_binary64_757
diff-log_binary64_852 frac-2neg_binary64_771 cancel-sign-sub-inv_binary64_726 +-commutative_binary64_690 sum-log_binary64_851 associate-*l*_binary64_701 associate-*r/_binary64_702 clear-num_binary64_759 sub-neg_binary64_753 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 95
Calls

4 calls:

14.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
11.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
9.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series581.0ms (6%)

Counts
4 → 12
Calls

4 calls:

271.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
179.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
80.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
51.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify99.0ms (1%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049612612
149612612

prune217.0ms (2.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh088
Picked011
Done000
Total1079116
Error
0b
Counts
116 → 9
Compiler

Compiled 3001 to 1918 computations (36.1% saved)

localize50.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) (*.f64 a 2))
0.3b
(*.f64 c (*.f64 (*.f64 a a) 16))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
0.4b
(/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))

rewrite158.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
56×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
31×times-frac_binary64_766
27×*-un-lft-identity_binary64_760
19×prod-exp_binary64_809 add-cube-cbrt_binary64_795 cbrt-unprod_binary64_793 add-sqr-sqrt_binary64_782
18×cbrt-undiv_binary64_794 div-exp_binary64_811
14×associate-/l*_binary64_705
13×pow1_binary64_821
associate-/r/_binary64_706 associate-/r*_binary64_704
pow-prod-down_binary64_831
div-inv_binary64_757
distribute-lft-out_binary64_711 flip3-+_binary64_763 add-log-exp_binary64_799 flip-+_binary64_734
frac-2neg_binary64_771 associate-/l/_binary64_707 associate-*l*_binary64_701 clear-num_binary64_759
associate-*r*_binary64_700 div-sub_binary64_765 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 128
Calls

4 calls:

42.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) (*.f64 a 2))
35.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
21.0ms
(/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
15.0ms
(*.f64 c (*.f64 (*.f64 a a) 16))

series1.0s (10.3%)

Counts
4 → 12
Calls

4 calls:

568.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
283.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) (*.f64 a 2))
118.0ms
(/.f64 (-.f64 (pow.f64 b 4) (*.f64 c (*.f64 c (*.f64 (*.f64 a a) 16)))) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
34.0ms
(*.f64 c (*.f64 (*.f64 a a) 16))

simplify182.0ms (1.9%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (117.0ms)

IterNodesCost
049486159
149486159

prune305.0ms (3.1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh077
Picked011
Done011
Total1409149
Error
0b
Counts
149 → 9
Compiler

Compiled 6437 to 3820 computations (40.7% saved)

regimes701.0ms (7.2%)

Accuracy

Total 0.3b remaining (99.9%)

Threshold costs 0.3b (99.9%)

Compiler

Compiled 6996 to 5230 computations (25.2% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample3.7s (37.4%)

Algorithm
intervals
Results
613.0ms7673×body128valid
427.0ms8805×pre128true
65.0ms805×body128nan
50.0ms327×body256valid
Compiler

Compiled 1785 to 1336 computations (25.2% saved)

Profiling

Loading profile data...