Details

Time bar (total: 8.7s)

analyze610.0ms (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
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
34.7%55.4%9.9%9
36.1%51.1%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.4s (27.9%)

Results
738.0ms5326×body128valid
516.0ms1128×body2048valid
302.0ms802×body1024valid
230.0ms425×body4096valid
144.0ms1114×body128invalid
116.0ms416×body512valid
33.0ms159×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify86.0ms (1%)

Algorithm
egg-herbie
Rules
808×fma-neg_binary64
379×associate-/l*_binary64
361×div-sub_binary64
341×fma-def_binary64
224×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01120
12318
23918
36918
410718
517818
627918
738218
854718
958718
1085518
11124718
12111718
13103518
14104318
15105118
16107718
17109318
18112918
19113118
20114318
21105018

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
34.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
Compiler

Compiled 58 to 30 computations (48.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
0.8b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series171.0ms (2%)

Counts
4 → 96
Calls

4 calls:

70.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
50.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
39.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
12.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
31×add-cube-cbrt_binary64
20×sqrt-prod_binary64
19×prod-diff_binary64
Counts
4 → 120
Calls

4 calls:

9.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
6.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
3.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
3.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify266.0ms (3.1%)

Algorithm
egg-herbie
Rules
682×fma-neg_binary64
364×cancel-sign-sub-inv_binary64
248×distribute-rgt-neg-in_binary64
220×distribute-lft-neg-in_binary64
172×distribute-rgt-in_binary64
Counts
216 → 237
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02725568
16834769
224844515
345214514
449154514
549904514
650004514
749994514
849324514

prune255.0ms (2.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New22512237
Fresh000
Picked101
Done000
Total22612238
Error
4.1b
Counts
238 → 12
Alt Table
StatusErrorProgram
31.7b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
35.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) (cbrt.f64 a)))
39.5b
(*.f64 -1/2 (/.f64 c b_2))
56.3b
(/.f64 (-.f64 b_2 b_2) a)
31.8b
(*.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a))
44.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
43.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 c a (*.f64 b_2 b_2))) (+.f64 b_2 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a)
46.1b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
31.7b
(/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)
44.7b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
46.0b
(/.f64 (*.f64 -2 b_2) a)
32.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a))) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
Compiler

Compiled 6047 to 1720 computations (71.6% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series367.0ms (4.2%)

Counts
3 → 24
Calls

3 calls:

203.0ms
(/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)
144.0ms
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
19.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
15×times-frac_binary64
prod-diff_binary64
Counts
3 → 88
Calls

3 calls:

5.0ms
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
4.0ms
(/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)
1.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

simplify96.0ms (1.1%)

Algorithm
egg-herbie
Rules
515×fma-def_binary64
428×fma-neg_binary64
291×cancel-sign-sub-inv_binary64
277×div-sub_binary64
219×associate-/r/_binary64
Counts
112 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02283125
15302608
217832484
343762480
450492480

prune132.0ms (1.5%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1393142
Fresh4711
Picked011
Done000
Total14311154
Error
0.1b
Counts
154 → 11
Alt Table
StatusErrorProgram
31.7b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
35.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) (cbrt.f64 a)))
31.8b
(*.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a))
44.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
32.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a))) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
45.4b
(/.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2) a)
47.0b
(/.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2) a)
46.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
39.5b
(*.f64 -1/2 (/.f64 c b_2))
31.7b
(/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)
44.7b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
Compiler

Compiled 3862 to 1140 computations (70.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series619.0ms (7.1%)

Counts
2 → 24
Calls

2 calls:

407.0ms
(/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
211.0ms
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
138×times-frac_binary64
102×*-un-lft-identity_binary64
102×add-sqr-sqrt_binary64
70×add-cube-cbrt_binary64
26×associate-/r*_binary64
Counts
2 → 149
Calls

2 calls:

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

simplify132.0ms (1.5%)

Algorithm
egg-herbie
Rules
683×associate-/l*_binary64
605×associate-/r*_binary64
347×fma-def_binary64
338×associate-/r/_binary64
162×associate-/l/_binary64
Counts
173 → 221
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02305993
15615467
217685322
351665322

prune168.0ms (1.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2934297
Fresh369
Picked011
Done101
Total29711308
Error
0.0b
Counts
308 → 11
Alt Table
StatusErrorProgram
39.5b
(*.f64 -1/2 (/.f64 c b_2))
44.9b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (*.f64 2 (/.f64 (*.f64 a b_2) (neg.f64 (*.f64 c a))))))
31.8b
(*.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a))
44.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2)))
31.7b
(*.f64 (/.f64 1 a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
47.0b
(/.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2) a)
31.8b
(/.f64 1 (*.f64 a (/.f64 1 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))))
46.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
31.7b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
45.4b
(/.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2) a)
Compiler

Compiled 8417 to 2424 computations (71.2% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 1 a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
0.2b
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
11.8b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series206.0ms (2.4%)

Counts
1 → 12
Calls

1 calls:

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

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt_binary64
26×*-un-lft-identity_binary64
23×add-cube-cbrt_binary64
18×prod-diff_binary64
13×associate-*l*_binary64
Counts
1 → 69
Calls

1 calls:

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

simplify82.0ms (0.9%)

Algorithm
egg-herbie
Rules
502×associate-/l*_binary64
489×associate-/r*_binary64
447×fma-def_binary64
216×associate-*l/_binary64
191×distribute-rgt-in_binary64
Counts
81 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02052317
14692032
214621897
346811895
449621895

prune115.0ms (1.3%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1932195
Fresh189
Picked011
Done011
Total19412206
Error
0.0b
Counts
206 → 12
Alt Table
StatusErrorProgram
39.5b
(*.f64 -1/2 (/.f64 c b_2))
44.9b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (*.f64 2 (/.f64 (*.f64 a b_2) (neg.f64 (*.f64 c a))))))
31.8b
(*.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a))
44.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2)))
31.7b
(*.f64 (/.f64 1 a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
31.8b
(/.f64 1 (*.f64 a (/.f64 1 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))))
46.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
31.7b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
47.0b
(*.f64 (/.f64 1 a) (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2))
42.9b
(-.f64 (/.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) a) (/.f64 b_2 a))
45.4b
(/.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2) a)
Compiler

Compiled 5341 to 1726 computations (67.7% saved)

regimes2.6s (30.1%)

Accuracy

Total 9.5b remaining (97.7%)

Threshold costs 0b (0%)

Counts
158 → 3
Compiler

Compiled 13936 to 7778 computations (44.2% saved)

bsearch73.0ms (0.8%)

Steps
ItersRangePoint
9
1.3254205640108585e-89
1.0528149194740619e-82
4.1451903108450355e-85
8
-6.049269811617561e+72
-2.8564673789894883e+69
-5.667728209619793e+72
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02854
14254
25454
36254
46754
56854
66754

end142.0ms (1.6%)

Compiler

Compiled 274 to 175 computations (36.1% saved)

Profiling

Loading profile data...