Details

Time bar (total: 8.2s)

analyze643.0ms (7.8%)

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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
35.1%55%9.9%9
36.3%50.9%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample2.5s (30.3%)

Results
668.0ms5362×body128valid
661.0ms1168×body2048valid
292.0ms742×body1024valid
259.0ms447×body4096valid
122.0ms1033×body128invalid
112.0ms354×body512valid
38.0ms183×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify88.0ms (1.1%)

Algorithm
egg-herbie
Rules
518×div-sub_binary64
428×fma-neg_binary64
246×associate-/l*_binary64
205×fma-def_binary64
183×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
12720
25420
311520
417920
529120
641720
752820
860220
985420
10180220
11104320
12102720
13103520
14104320
15104320
16110120
17113720
18113920
19115120
20104620

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
34.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
34.0b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
Compiler

Compiled 48 to 30 computations (37.5% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
1.0b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
1.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
22.9b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series505.0ms (6.2%)

Counts
4 → 96
Calls

4 calls:

308.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
113.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
74.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
9.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite46.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt_binary64
80×*-un-lft-identity_binary64
61×prod-diff_binary64
60×add-cube-cbrt_binary64
41×sqrt-prod_binary64
Counts
4 → 176
Calls

4 calls:

11.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
9.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
3.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify267.0ms (3.3%)

Algorithm
egg-herbie
Rules
819×fma-neg_binary64
295×cancel-sign-sub-inv_binary64
181×unswap-sqr_binary64
169×sub-neg_binary64
135×associate-*r*_binary64
Counts
272 → 292
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03177693
17796304
226825750
345845750
449745750

prune278.0ms (3.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New28111292
Fresh000
Picked101
Done000
Total28211293
Error
5.0b
Counts
293 → 11
Alt Table
StatusErrorProgram
36.4b
(/.f64 (-.f64 (neg.f64 b_2) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) a)
48.2b
(/.f64 (-.f64 (*.f64 (neg.f64 b_2) (neg.f64 b_2)) (*.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) (*.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
41.9b
(*.f64 -1/2 (/.f64 c b_2))
34.1b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
46.5b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
43.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
31.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
43.5b
(/.f64 (*.f64 -2 b_2) a)
33.7b
(/.f64 (-.f64 (neg.f64 b_2) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) a)
31.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
35.3b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
Compiler

Compiled 9112 to 2032 computations (77.7% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
0.5b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
12.0b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series419.0ms (5.1%)

Counts
3 → 28
Calls

3 calls:

230.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
167.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
22.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64
49×add-sqr-sqrt_binary64
38×add-cube-cbrt_binary64
30×prod-diff_binary64
18×times-frac_binary64
Counts
3 → 123
Calls

3 calls:

7.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
7.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
2.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

simplify139.0ms (1.7%)

Algorithm
egg-herbie
Rules
526×fma-def_binary64
451×fma-neg_binary64
296×div-sub_binary64
232×cancel-sign-sub-inv_binary64
159×distribute-rgt-in_binary64
Counts
151 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02604852
15993789
219233346
343163342
448973342

prune100.0ms (1.2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1684172
Fresh5510
Picked011
Done000
Total17310183
Error
0.0b
Counts
183 → 10
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 c b_2))
34.1b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
35.3b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
31.1b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (sqrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (sqrt.f64 (neg.f64 (*.f64 c a))))) b_2)) a)
31.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
45.7b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
46.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
31.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
43.5b
(/.f64 (*.f64 -2 b_2) a)
48.2b
(/.f64 (-.f64 (*.f64 (neg.f64 b_2) (neg.f64 b_2)) (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (*.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
Compiler

Compiled 5426 to 1292 computations (76.2% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))
0.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
0.5b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
12.0b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series626.0ms (7.6%)

Counts
2 → 28
Calls

2 calls:

392.0ms
(/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))
234.0ms
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))

rewrite80.0ms (1%)

Algorithm
rewrite-expression-head
Rules
162×times-frac_binary64
142×*-un-lft-identity_binary64
110×add-sqr-sqrt_binary64
78×add-cube-cbrt_binary64
32×distribute-lft-out--_binary64
Counts
2 → 165
Calls

2 calls:

9.0ms
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
6.0ms
(/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))

simplify151.0ms (1.8%)

Algorithm
egg-herbie
Rules
784×associate-/l*_binary64
391×fma-def_binary64
349×associate-/r/_binary64
175×cancel-sign-sub-inv_binary64
164×distribute-rgt-in_binary64
Counts
193 → 250
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02376783
15966192
219346082
352676082

prune192.0ms (2.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New3513354
Fresh268
Picked011
Done011
Total35311364
Error
0.0b
Counts
364 → 11
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 c b_2))
34.1b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
43.5b
(/.f64 (*.f64 -2 b_2) a)
45.8b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2))))
31.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
45.7b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
46.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
31.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
35.3b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2))))
44.8b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 a c))) b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 a c))) b_2))) a) (+.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))
Compiler

Compiled 11231 to 2786 computations (75.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
1.0b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
1.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
22.9b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series89.0ms (1.1%)

Counts
1 → 20
Calls

1 calls:

89.0ms
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
14×*-un-lft-identity_binary64
13×associate-*r*_binary64
11×times-frac_binary64
10×add-exp-log_binary64
Counts
1 → 46
Calls

1 calls:

15.0ms
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))

simplify83.0ms (1%)

Algorithm
egg-herbie
Rules
740×times-frac_binary64
400×fma-neg_binary64
392×associate-/l*_binary64
309×fma-def_binary64
212×distribute-rgt-in_binary64
Counts
66 → 94
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481869
13981694
213271613
349871613
452151613

prune150.0ms (1.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2981299
Fresh268
Picked011
Done112
Total3019310
Error
0.0b
Counts
310 → 9
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 c b_2))
34.1b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
43.5b
(/.f64 (*.f64 -2 b_2) a)
45.8b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2))))
45.7b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
46.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
31.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
35.3b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
32.0b
(/.f64 (/.f64 (*.f64 c a) a) (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
Compiler

Compiled 9373 to 2520 computations (73.1% saved)

regimes1.6s (19.4%)

Accuracy

Total 9.5b remaining (98.7%)

Threshold costs 0b (0%)

Counts
113 → 3
Compiler

Compiled 8896 to 5294 computations (40.5% saved)

bsearch52.0ms (0.6%)

Steps
ItersRangePoint
1
4.823441316663133e+140
5.111513057074458e+140
5.039495121971627e+140
8
-6.220919689581843e-33
-3.0714808753382253e-37
-1.5343846642293365e-36
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×+-commutative_binary64
10×*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02953
14853
26453
37853
48753
59153
69253
78953

end114.0ms (1.4%)

Compiler

Compiled 217 to 141 computations (35% saved)

Profiling

Loading profile data...