Details

Time bar (total: 8.2s)

analyze279.0ms (3.4%)

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
25%74.9%0.1%4
37.4%62.4%0.1%5
37.4%62.4%0.1%6
40.6%54.6%4.8%7
48.4%46%5.6%8
53.8%37.8%8.3%9
56.2%32.6%11.3%10
60.8%26%13.1%11
63.8%21%15.2%12
65.1%17.8%17%13
67.7%13.9%18.4%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample2.2s (26.4%)

Results
561.0ms5626×body128valid
403.0ms1043×body2048valid
214.0ms679×body1024valid
187.0ms391×body4096valid
114.0ms717×body128invalid
80.0ms340×body512valid
29.0ms177×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify84.0ms (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
30.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.6b
(/.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)
0.8b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.1b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
23.9b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series193.0ms (2.4%)

Counts
4 → 96
Calls

4 calls:

80.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
60.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
44.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
9.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite105.0ms (1.3%)

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

simplify191.0ms (2.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
03178791
17796792
226825750
345845750
449745750

prune279.0ms (3.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New28210292
Fresh000
Picked011
Done000
Total28211293
Error
4.9b
Counts
293 → 11
Alt Table
StatusErrorProgram
41.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
41.8b
(/.f64 (*.f64 -2 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))))
31.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)) (cbrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a))) (cbrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
30.6b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
49.6b
(*.f64 (+.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 (neg.f64 b_2))) (/.f64 (-.f64 (sqrt.f64 (neg.f64 b_2)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
33.2b
(/.f64 (-.f64 (neg.f64 b_2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))) a)
31.4b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (cbrt.f64 a)))
33.8b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
54.2b
(log.f64 (exp.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 9134 to 2022 computations (77.9% saved)

localize13.0ms (0.2%)

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.2b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
11.8b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series1.1s (13%)

Counts
4 → 42
Calls

4 calls:

527.0ms
(/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))
326.0ms
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
195.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
18.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite54.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
172×*-un-lft-identity_binary64
162×times-frac_binary64
139×add-sqr-sqrt_binary64
104×add-cube-cbrt_binary64
34×distribute-lft-out--_binary64
Counts
4 → 244
Calls

4 calls:

11.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)))
5.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)))

simplify255.0ms (3.1%)

Algorithm
egg-herbie
Rules
715×fma-def_binary64
401×fma-neg_binary64
316×cancel-sign-sub-inv_binary64
186×sub-neg_binary64
154×distribute-frac-neg_binary64
Counts
286 → 331
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03499712
17948164
227057612
347987608
449067608

prune226.0ms (2.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3274331
Fresh639
Picked101
Done011
Total3348342
Error
0.1b
Counts
342 → 8
Alt Table
StatusErrorProgram
30.6b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2))))
41.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
46.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2))))
42.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (/.f64 2 (*.f64 (/.f64 c b_2) -1))))
31.4b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (cbrt.f64 a)))
45.4b
(*.f64 (/.f64 1 (/.f64 a (-.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 1 (+.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 10449 to 2660 computations (74.5% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series88.0ms (1.1%)

Counts
2 → 24
Calls

2 calls:

46.0ms
(cbrt.f64 a)
42.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 55
Calls

2 calls:

5.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
1.0ms
(cbrt.f64 a)

simplify69.0ms (0.8%)

Algorithm
egg-herbie
Rules
577×distribute-rgt-in_binary64
561×log-prod_binary64
538×distribute-lft-in_binary64
525×unswap-sqr_binary64
384×fma-def_binary64
Counts
79 → 74
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
058610
198554
2296516
3769502
41799410
54642410
64805410

prune136.0ms (1.7%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2122214
Fresh066
Picked011
Done011
Total21210222
Error
0.1b
Counts
222 → 10
Alt Table
StatusErrorProgram
46.3b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) (cbrt.f64 a)))
30.6b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2))))
47.3b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) (cbrt.f64 a)))
46.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2))))
41.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
42.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (/.f64 2 (*.f64 (/.f64 c b_2) -1))))
31.4b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (cbrt.f64 a)))
45.4b
(*.f64 (/.f64 1 (/.f64 a (-.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 1 (+.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 7378 to 1885 computations (74.5% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))

series17.0ms (0.2%)

Counts
1 → 36
Calls

1 calls:

17.0ms
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))

simplify40.0ms (0.5%)

Algorithm
egg-herbie
Rules
873×fma-def_binary64
760×distribute-rgt-in_binary64
722×distribute-lft-in_binary64
150×associate-*l*_binary64
141×distribute-lft-neg-out_binary64
Counts
46 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023640
138611
274611
3250611
41127611
55040611

prune23.0ms (0.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New21021
Fresh077
Picked011
Done022
Total211031
Error
0.1b
Counts
31 → 10
Alt Table
StatusErrorProgram
46.3b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) (cbrt.f64 a)))
30.6b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
47.0b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2))))
47.3b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) (cbrt.f64 a)))
46.1b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2))))
41.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
42.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (/.f64 2 (*.f64 (/.f64 c b_2) -1))))
31.4b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (cbrt.f64 a)))
45.4b
(*.f64 (/.f64 1 (/.f64 a (-.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 1 (+.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))))
42.3b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 532 to 290 computations (45.5% saved)

regimes2.6s (31.3%)

Accuracy

Total 9.1b remaining (98.8%)

Threshold costs 0b (0%)

Counts
142 → 4
Compiler

Compiled 13963 to 8133 computations (41.8% saved)

bsearch91.0ms (1.1%)

Steps
ItersRangePoint
6
2.2662785546022415e+101
2.240354704277509e+104
2.671050891722767e+102
9
-9.671766587169522e-132
-1.5906101622129874e-137
-4.848180454524789e-132
8
-1776253143368416000.0
-67071046155825.555
-1183068598468963.8
Compiler

Compiled 4 to 3 computations (25% saved)

simplify15.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03682
15482
26982
38382
49082
59382
69482
79482

end196.0ms (2.4%)

Compiler

Compiled 321 to 195 computations (39.3% saved)

Profiling

Loading profile data...