Details

Time bar (total: 6.6s)

analyze676.0ms (10.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample137.0ms (2.1%)

Algorithm
intervals
Results
14.0ms256×body128valid
1.0ms11×body128invalid
Compiler

Compiled 43 to 27 computations (37.2% saved)

simplify68.0ms (1%)

Algorithm
egg-herbie
Rules
1070×fma-neg_binary64
881×fma-def_binary64
768×times-frac_binary64
551×cancel-sign-sub-inv_binary64
514×unsub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
12520
24720
37820
414920
522820
632420
750020
869420
986720
1099920
11242220
12392020
13495020

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 69 to 33 computations (52.2% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c c (*.f64 d d))
0.5b
(-.f64 (*.f64 b c) (*.f64 a d))
27.4b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))

series111.0ms (1.7%)

Counts
3 → 120
Calls

3 calls:

95.0ms
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
9.0ms
(-.f64 (*.f64 b c) (*.f64 a d))
7.0ms
(fma.f64 c c (*.f64 d d))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 58
Calls

3 calls:

5.0ms
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
3.0ms
(-.f64 (*.f64 b c) (*.f64 a d))
0.0ms
(fma.f64 c c (*.f64 d d))

simplify121.0ms (1.8%)

Algorithm
egg-herbie
Rules
491×fma-neg_binary64
380×associate-*l*_binary64
348×fma-def_binary64
315×associate-*r*_binary64
247×associate-/l*_binary64
Counts
178 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01323054
13262877
210912830
343962830
449942830
549422830

prune87.0ms (1.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1248132
Fresh000
Picked011
Done000
Total1249133
Error
2.0b
Counts
133 → 9
Alt Table
StatusErrorProgram
18.4b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c)))
39.6b
(/.f64 b c)
28.4b
(/.f64 (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (*.f64 (cbrt.f64 (fma.f64 c c (*.f64 d d))) (cbrt.f64 (fma.f64 c c (*.f64 d d))))) (cbrt.f64 (fma.f64 c c (*.f64 d d))))
42.9b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d))) (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))) (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))))
34.7b
(neg.f64 (/.f64 a d))
17.8b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
40.7b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
27.9b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
Compiler

Compiled 3309 to 683 computations (79.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (hypot.f64 d c))
0.3b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
0.5b
(-.f64 (*.f64 c b) (*.f64 a d))
16.6b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series249.0ms (3.8%)

Counts
4 → 132
Calls

4 calls:

116.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
104.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
18.0ms
(/.f64 1 (hypot.f64 d c))
10.0ms
(-.f64 (*.f64 c b) (*.f64 a d))

rewrite31.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64
43×times-frac_binary64
36×*-un-lft-identity_binary64
34×add-cube-cbrt_binary64
32×add-exp-log_binary64
Counts
4 → 139
Calls

4 calls:

10.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
5.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
3.0ms
(-.f64 (*.f64 c b) (*.f64 a d))
2.0ms
(/.f64 1 (hypot.f64 d c))

simplify131.0ms (2%)

Algorithm
egg-herbie
Rules
874×times-frac_binary64
537×fma-def_binary64
368×cancel-sign-sub-inv_binary64
196×fma-neg_binary64
181×sub-neg_binary64
Counts
271 → 271
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02656415
17445877
225525818
350615818

prune195.0ms (3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2656271
Fresh347
Picked101
Done011
Total26911280
Error
2.0b
Counts
280 → 11
Alt Table
StatusErrorProgram
17.9b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))))
46.0b
(*.f64 (/.f64 1 (hypot.f64 d c)) b)
17.7b
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
43.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
17.9b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
40.7b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
47.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 b))
27.9b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
39.6b
(/.f64 b c)
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
34.7b
(neg.f64 (/.f64 a d))
Compiler

Compiled 7465 to 2248 computations (69.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (hypot.f64 d c))
0.1b
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
0.5b
(-.f64 (*.f64 c b) (*.f64 a d))
16.7b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d)))

series217.0ms (3.3%)

Counts
2 → 96
Calls

2 calls:

113.0ms
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
104.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d)))

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×add-exp-log_binary64
19×add-sqr-sqrt_binary64
16×add-cbrt-cube_binary64
14×times-frac_binary64
13×associate-*l*_binary64
Counts
2 → 79
Calls

2 calls:

9.0ms
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
8.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d)))

simplify127.0ms (1.9%)

Algorithm
egg-herbie
Rules
508×fma-def_binary64
441×associate-/l/_binary64
315×fma-neg_binary64
248×cancel-sign-sub-inv_binary64
228×distribute-rgt-in_binary64
Counts
175 → 183
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02024543
15694060
221243990
347673988
449883988

prune196.0ms (3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2674271
Fresh549
Picked011
Done101
Total2739282
Error
2.0b
Counts
282 → 9
Alt Table
StatusErrorProgram
17.8b
(/.f64 (/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
43.1b
(/.f64 (neg.f64 a) (hypot.f64 d c))
17.9b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))))
46.0b
(/.f64 b (hypot.f64 d c))
17.7b
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
40.7b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
47.2b
(/.f64 (neg.f64 b) (hypot.f64 d c))
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
34.7b
(neg.f64 (/.f64 a d))
Compiler

Compiled 7057 to 2321 computations (67.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c)))
0.2b
(/.f64 (/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
0.5b
(-.f64 (*.f64 c b) (*.f64 a d))
16.7b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d)))

series336.0ms (5.1%)

Counts
2 → 80
Calls

2 calls:

225.0ms
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c)))
110.0ms
(/.f64 (/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))

rewrite39.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
60×sqrt-prod_binary64
49×*-un-lft-identity_binary64
49×add-sqr-sqrt_binary64
49×add-cube-cbrt_binary64
Counts
2 → 137
Calls

2 calls:

11.0ms
(/.f64 (/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
8.0ms
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c)))

simplify228.0ms (3.4%)

Algorithm
egg-herbie
Rules
490×fma-def_binary64
289×fma-neg_binary64
258×cancel-sign-sub-inv_binary64
238×distribute-rgt-in_binary64
227×distribute-lft-in_binary64
Counts
217 → 230
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02758475
17487200
224266998
347546956
449776956
549526956

prune233.0ms (3.5%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New3622364
Fresh077
Picked011
Done011
Total36211373
Error
2.0b
Counts
373 → 11
Alt Table
StatusErrorProgram
46.5b
(/.f64 (/.f64 (-.f64 (/.f64 (*.f64 a d) c) b) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
34.7b
(neg.f64 (/.f64 a d))
17.8b
(/.f64 (/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
43.1b
(/.f64 (neg.f64 a) (hypot.f64 d c))
17.9b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))))
46.0b
(/.f64 b (hypot.f64 d c))
17.7b
(/.f64 (*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c))
46.0b
(/.f64 (/.f64 b (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
40.7b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
47.2b
(/.f64 (neg.f64 b) (hypot.f64 d c))
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
Compiler

Compiled 11888 to 3259 computations (72.6% saved)

regimes2.4s (37%)

Accuracy

Total 9.2b remaining (85.6%)

Threshold costs 0b (0%)

Counts
195 → 3
Compiler

Compiled 21068 to 12159 computations (42.3% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 19 to 11 computations (42.1% saved)

simplify9.0ms (0.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
03094
14294
25492
36392
46992
57192
67192

end1.0ms (0%)

Compiler

Compiled 66 to 25 computations (62.1% saved)

sample889.0ms (13.4%)

Algorithm
intervals
Results
451.0ms8000×body128valid
23.0ms462×body128invalid
Compiler

Compiled 288 to 157 computations (45.5% saved)

Profiling

Loading profile data...