Details

Time bar (total: 12.2s)

analyze644.0ms (5.3%)

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.8s (22.8%)

Results
928.0ms5362×body128valid
596.0ms1236×body2048valid
317.0ms714×body1024valid
235.0ms407×body4096valid
132.0ms164×body256valid
130.0ms1082×body128invalid
115.0ms373×body512valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify82.0ms (0.7%)

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
31.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.2b
(/.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)

localize8.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)
0.4b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
0.7b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
21.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series191.0ms (1.6%)

Counts
4 → 96
Calls

4 calls:

102.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
54.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
27.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
8.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite45.0ms (0.4%)

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))))
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
3.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify194.0ms (1.6%)

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
03178791
17796792
226825750
345845750
449745750

prune259.0ms (2.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New28210292
Fresh000
Picked101
Done000
Total28310293
Error
6.6b
Counts
293 → 10
Alt Table
StatusErrorProgram
45.1b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
48.5b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
44.8b
(/.f64 (*.f64 -2 b_2) a)
31.3b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
37.6b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
57.3b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
31.3b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a))
32.9b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 a)))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
36.6b
(/.f64 (-.f64 (neg.f64 b_2) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) a)
Compiler

Compiled 9072 to 1994 computations (78% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a)
0.4b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
4.7b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a))
21.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series92.0ms (0.8%)

Counts
2 → 40
Calls

2 calls:

49.0ms
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a))
43.0ms
(/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a)

rewrite378.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
1357×times-frac_binary64
955×add-sqr-sqrt_binary64
950×*-un-lft-identity_binary64
936×add-cube-cbrt_binary64
748×prod-diff_binary64
Counts
2 → 877
Calls

2 calls:

48.0ms
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a))
5.0ms
(/.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) a)

simplify1.4s (11.1%)

Algorithm
egg-herbie
Rules
473×unsub-neg_binary64
420×fma-udef_binary64
363×fma-neg_binary64
338×associate-+r-_binary64
275×sub-neg_binary64
Counts
917 → 893
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
074169731
1163445707
2341532198
3447532198
4482332198
5481532198

prune520.0ms (4.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9704974
Fresh279
Picked101
Done000
Total97311984
Error
6.6b
Counts
984 → 11
Alt Table
StatusErrorProgram
37.6b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
31.3b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
57.3b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
36.6b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
43.5b
(-.f64 (/.f64 (neg.f64 b_2) a) (expm1.f64 (log1p.f64 (/.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) a))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
45.1b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
48.5b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
44.8b
(/.f64 (*.f64 -2 b_2) a)
31.3b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
32.0b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 a (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))))
Compiler

Compiled 63152 to 7916 computations (87.5% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a)
0.5b
(fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))
4.7b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
21.6b
(sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a))))

series130.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

53.0ms
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
41.0ms
(/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a)
27.0ms
(sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a))))
8.0ms
(fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))

rewrite323.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
1357×times-frac_binary64
959×add-sqr-sqrt_binary64
953×*-un-lft-identity_binary64
939×add-cube-cbrt_binary64
748×prod-diff_binary64
Counts
4 → 900
Calls

4 calls:

47.0ms
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
3.0ms
(/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a)
1.0ms
(sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a))))
0.0ms
(fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))

simplify1.4s (11.5%)

Algorithm
egg-herbie
Rules
491×unsub-neg_binary64
421×fma-udef_binary64
400×sub-neg_binary64
400×fma-neg_binary64
341×associate-+r-_binary64
Counts
996 → 955
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
077070922
1170346864
2372533340
3442833340
4490433340
5499333340
6484833340

prune459.0ms (3.8%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New9550955
Fresh01010
Picked011
Done000
Total95511966
Error
6.6b
Counts
966 → 11
Alt Table
StatusErrorProgram
37.6b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
31.3b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
57.3b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
36.6b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
43.5b
(-.f64 (/.f64 (neg.f64 b_2) a) (expm1.f64 (log1p.f64 (/.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) a))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
45.1b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
48.5b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
44.8b
(/.f64 (*.f64 -2 b_2) a)
31.3b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
32.0b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 a (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))))
Compiler

Compiled 62611 to 7763 computations (87.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
0.4b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
0.7b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
21.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series51.0ms (0.4%)

Counts
1 → 20
Calls

1 calls:

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

rewrite16.0ms (0.1%)

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:

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

simplify90.0ms (0.7%)

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

prune166.0ms (1.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2963299
Fresh369
Picked101
Done011
Total30010310
Error
6.6b
Counts
310 → 10
Alt Table
StatusErrorProgram
57.3b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
36.6b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
43.5b
(-.f64 (/.f64 (neg.f64 b_2) a) (expm1.f64 (log1p.f64 (/.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) a))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
45.1b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
48.5b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
31.3b
(-.f64 (/.f64 (neg.f64 b_2) a) (/.f64 (sqrt.f64 (fma.f64 b_2 b_2 (neg.f64 (*.f64 c a)))) a))
44.8b
(*.f64 (*.f64 b_2 -2) (/.f64 1 a))
34.0b
(/.f64 (/.f64 (*.f64 c a) a) (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
41.0b
(/.f64 (*.f64 c a) (*.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
Compiler

Compiled 9386 to 2527 computations (73.1% saved)

regimes2.7s (21.8%)

Accuracy

Total 4.0b remaining (41.2%)

Threshold costs 0b (0%)

Counts
152 → 5
Compiler

Compiled 16551 to 8593 computations (48.1% saved)

bsearch168.0ms (1.4%)

Steps
ItersRangePoint
10
8.706791209674724e+40
1.0718853353162449e+52
1.0611311445557777e+52
2
-1.7063633921354645e-73
-1.4791265736148994e-73
-1.677958789820394e-73
10
-1.5814650309630123e-33
-4.0696904308218766e-45
-2.583305902750818e-39
10
-1.539049726447568e+63
-6.3647163022481495e+50
-3.566979873129798e+56
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
040101
15999
27899
39499
410299
510499
610499

end146.0ms (1.2%)

Compiler

Compiled 292 to 178 computations (39% saved)

Profiling

Loading profile data...