Details

Time bar (total: 7.6s)

analyze692.0ms (9.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)

sample1.1s (14%)

Results
968.0ms8256×body128valid
61.0ms489×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11818
22218
32218

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 66 to 32 computations (51.5% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c c (*.f64 d d))
0.2b
(fma.f64 a c (*.f64 b d))
26.3b
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))

series95.0ms (1.3%)

Counts
3 → 120
Calls

3 calls:

80.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
8.0ms
(fma.f64 a c (*.f64 b d))
6.0ms
(fma.f64 c c (*.f64 d d))

rewrite5.0ms (0.1%)

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 → 49
Calls

3 calls:

2.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
0.0ms
(fma.f64 c c (*.f64 d d))
0.0ms
(fma.f64 a c (*.f64 b d))

simplify85.0ms (1.1%)

Algorithm
egg-herbie
Rules
686×fma-def_binary64
410×associate-/l/_binary64
377×fma-neg_binary64
252×distribute-rgt-neg-in_binary64
251×distribute-lft-neg-in_binary64
Counts
169 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01022836
12052674
26112590
321632542
450542542

prune94.0ms (1.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118
Error
2.1b
Counts
118 → 10
Alt Table
StatusErrorProgram
18.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
37.4b
(-.f64 (fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d)) (*.f64 (/.f64 (*.f64 c c) (pow.f64 d 3)) (+.f64 b (/.f64 a (/.f64 d c)))))
19.5b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
26.0b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
38.5b
(/.f64 a c)
34.0b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
37.4b
(/.f64 b d)
26.6b
(/.f64 (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)) (sqrt.f64 (fma.f64 c c (*.f64 d d))))
27.1b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 a c (*.f64 b d))) (cbrt.f64 (fma.f64 a c (*.f64 b d)))) (/.f64 (fma.f64 c c (*.f64 d d)) (cbrt.f64 (fma.f64 a c (*.f64 b d)))))
26.9b
(*.f64 (fma.f64 a c (*.f64 b d)) (/.f64 1 (fma.f64 c c (*.f64 d d))))
Compiler

Compiled 2769 to 610 computations (78% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (hypot.f64 d c))
0.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
0.5b
(fma.f64 d b (*.f64 c a))
17.8b
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))

series225.0ms (3%)

Counts
4 → 168
Calls

4 calls:

101.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
97.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
19.0ms
(/.f64 1 (hypot.f64 d c))
9.0ms
(fma.f64 d b (*.f64 c a))

rewrite22.0ms (0.3%)

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 → 130
Calls

4 calls:

8.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
2.0ms
(/.f64 1 (hypot.f64 d c))
2.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
0.0ms
(fma.f64 d b (*.f64 c a))

simplify155.0ms (2.1%)

Algorithm
egg-herbie
Rules
845×times-frac_binary64
428×fma-neg_binary64
410×fma-def_binary64
335×cancel-sign-sub-inv_binary64
274×distribute-rgt-in_binary64
Counts
298 → 286
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02336205
16315720
221255547
348415539
450795539

prune203.0ms (2.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2797286
Fresh729
Picked101
Done000
Total2879296
Error
0.0b
Counts
296 → 9
Alt Table
StatusErrorProgram
38.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (*.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (/.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (hypot.f64 d c))))
24.9b
(fma.f64 (/.f64 c (fma.f64 d d (*.f64 c c))) a (/.f64 (*.f64 d b) (fma.f64 d d (*.f64 c c))))
44.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (fma.f64 (/.f64 d c) b a))
19.1b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))
31.2b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
19.5b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
26.0b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
31.9b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
Compiler

Compiled 7471 to 2241 computations (70% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
0.3b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))
0.5b
(fma.f64 d b (*.f64 c a))
17.8b
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))

series312.0ms (4.1%)

Counts
2 → 80
Calls

2 calls:

205.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
106.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))

rewrite33.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64
35×times-frac_binary64
32×sqrt-prod_binary64
32×associate-*l*_binary64
27×*-un-lft-identity_binary64
Counts
2 → 97
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))
10.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))

simplify139.0ms (1.8%)

Algorithm
egg-herbie
Rules
709×times-frac_binary64
310×fma-def_binary64
306×cancel-sign-sub-inv_binary64
228×distribute-rgt-in_binary64
223×associate-*r*_binary64
Counts
177 → 197
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02055443
15224883
218654772
346254772
449844772

prune264.0ms (3.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3060306
Fresh088
Picked011
Done000
Total3069315
Error
0.0b
Counts
315 → 9
Alt Table
StatusErrorProgram
38.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (*.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (/.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (hypot.f64 d c))))
24.9b
(fma.f64 (/.f64 c (fma.f64 d d (*.f64 c c))) a (/.f64 (*.f64 d b) (fma.f64 d d (*.f64 c c))))
44.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (fma.f64 (/.f64 d c) b a))
19.1b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))
31.2b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
19.5b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
26.0b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
31.9b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
Compiler

Compiled 10132 to 3902 computations (61.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a))))
0.5b
(fma.f64 d b (*.f64 c a))
5.8b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c))
18.3b
(cbrt.f64 (fma.f64 d b (*.f64 c a)))

series349.0ms (4.6%)

Counts
3 → 144
Calls

3 calls:

159.0ms
(/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c))
115.0ms
(*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a))))
74.0ms
(cbrt.f64 (fma.f64 d b (*.f64 c a)))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
10×add-exp-log_binary64
Counts
3 → 78
Calls

3 calls:

6.0ms
(/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c))
4.0ms
(*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a))))
1.0ms
(cbrt.f64 (fma.f64 d b (*.f64 c a)))

simplify193.0ms (2.6%)

Algorithm
egg-herbie
Rules
919×associate-/l*_binary64
460×fma-def_binary64
341×*-commutative_binary64
286×cancel-sign-sub-inv_binary64
181×sub-neg_binary64
Counts
222 → 342
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
084114036
1293512685
2578712685

prune546.0ms (7.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5880588
Fresh077
Picked011
Done011
Total5889597
Error
0.0b
Counts
597 → 9
Alt Table
StatusErrorProgram
38.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (*.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (/.f64 (sqrt.f64 (fma.f64 a c (*.f64 d b))) (hypot.f64 d c))))
24.9b
(fma.f64 (/.f64 c (fma.f64 d d (*.f64 c c))) a (/.f64 (*.f64 d b) (fma.f64 d d (*.f64 c c))))
44.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (fma.f64 (/.f64 d c) b a))
19.1b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))))
31.2b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
19.5b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
26.0b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
31.9b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
Compiler

Compiled 35987 to 14871 computations (58.7% saved)

regimes2.8s (36.7%)

Accuracy

Total 10.0b remaining (98.6%)

Threshold costs 0b (0%)

Counts
187 → 5
Compiler

Compiled 20343 to 11244 computations (44.7% saved)

bsearch95.0ms (1.3%)

Steps
ItersRangePoint
9
7.060439802304055e+93
7.718541126311962e+98
5.388057696506973e+98
7
1.2640662547794736e-100
1.6017282220243597e-98
1.544901258368836e-100
10
-1.7678441460080387e-125
-1.5461171796053897e-136
-1.0098211784491114e-135
9
-6.481809507013464e+133
-6.924095184360179e+127
-2.558733259505715e+128
Compiler

Compiled 5 to 4 computations (20% saved)

simplify5.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
040114
151114
258112
366112
469112
570112
668112

end143.0ms (1.9%)

Compiler

Compiled 365 to 176 computations (51.8% saved)

Profiling

Loading profile data...