Details

Time bar (total: 7.4s)

analyze796.0ms (10.7%)

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.3s (17.2%)

Results
1.1s8256×body128valid
62.0ms471×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify66.0ms (0.9%)

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
22.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
22.2b
(/.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 2 expressions with local error:

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

series112.0ms (1.5%)

Counts
2 → 96
Calls

2 calls:

102.0ms
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
10.0ms
(-.f64 (*.f64 b c) (*.f64 a d))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 48
Calls

2 calls:

4.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))

simplify86.0ms (1.2%)

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
144 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01282762
13232614
210842567
344302567
449522567

prune88.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1009109
Fresh000
Picked101
Done000
Total1019110
Error
2.6b
Counts
110 → 9
Alt Table
StatusErrorProgram
22.3b
(/.f64 1 (/.f64 (fma.f64 c c (*.f64 d d)) (-.f64 (*.f64 b c) (*.f64 a d))))
36.3b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
14.3b
(*.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)))
40.7b
(neg.f64 (/.f64 a d))
13.7b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
22.7b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (fma.f64 c c (*.f64 d d))) (cbrt.f64 (fma.f64 c c (*.f64 d d))))) (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (cbrt.f64 (fma.f64 c c (*.f64 d d)))))
35.8b
(/.f64 b c)
40.4b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
22.7b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))) (/.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (fma.f64 d d (*.f64 c c))))
Compiler

Compiled 2917 to 641 computations (78% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 c b) (*.f64 a d))
0.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
12.9b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series242.0ms (3.3%)

Counts
3 → 108
Calls

3 calls:

116.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
112.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
13.0ms
(-.f64 (*.f64 c b) (*.f64 a d))

rewrite61.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
34×times-frac_binary64
27×*-un-lft-identity_binary64
27×add-exp-log_binary64
25×add-cube-cbrt_binary64
Counts
3 → 106
Calls

3 calls:

13.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
4.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
3.0ms
(-.f64 (*.f64 c b) (*.f64 a d))

simplify226.0ms (3%)

Algorithm
egg-herbie
Rules
741×times-frac_binary64
476×fma-neg_binary64
402×fma-def_binary64
251×cancel-sign-sub-inv_binary64
230×distribute-rgt-in_binary64
Counts
214 → 207
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02165451
16034941
220974885
347524884
450414884

prune208.0ms (2.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2016207
Fresh358
Picked101
Done000
Total20511216
Error
2.6b
Counts
216 → 11
Alt Table
StatusErrorProgram
22.3b
(/.f64 1 (/.f64 (fma.f64 c c (*.f64 d d)) (-.f64 (*.f64 b c) (*.f64 a d))))
36.3b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
42.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (/.f64 (*.f64 a d) c) b))
16.0b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))))
45.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 a (/.f64 (*.f64 c b) d)))
40.4b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
46.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
22.7b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (fma.f64 c c (*.f64 d d))) (cbrt.f64 (fma.f64 c c (*.f64 d d))))) (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (cbrt.f64 (fma.f64 c c (*.f64 d d)))))
44.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) b)
13.6b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))
40.7b
(neg.f64 (/.f64 a d))
Compiler

Compiled 5824 to 1625 computations (72.1% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 c b) (*.f64 a d))
0.1b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))
12.9b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series140.0ms (1.9%)

Counts
1 → 48
Calls

1 calls:

140.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
43×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
1 → 73
Calls

1 calls:

6.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))

simplify121.0ms (1.6%)

Algorithm
egg-herbie
Rules
562×times-frac_binary64
475×associate-/l/_binary64
466×associate-/l*_binary64
465×fma-neg_binary64
359×div-sub_binary64
Counts
121 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01854368
14394066
210893872
340503805
452233805

prune156.0ms (2.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2265231
Fresh6410
Picked101
Done000
Total2339242
Error
2.6b
Counts
242 → 9
Alt Table
StatusErrorProgram
13.8b
(/.f64 (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
22.3b
(/.f64 1 (/.f64 (fma.f64 c c (*.f64 d d)) (-.f64 (*.f64 b c) (*.f64 a d))))
36.3b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
42.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (/.f64 (*.f64 a d) c) b))
40.4b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
47.1b
(/.f64 (-.f64 (/.f64 (*.f64 c b) d) a) (hypot.f64 d c))
42.3b
(/.f64 (-.f64 b (/.f64 (*.f64 a d) c)) (hypot.f64 d c))
14.3b
(/.f64 1 (/.f64 (hypot.f64 d c) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))))
45.1b
(/.f64 (-.f64 a (/.f64 (*.f64 c b) d)) (hypot.f64 d c))
Compiler

Compiled 6327 to 1341 computations (78.8% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 c b) (*.f64 a d))
0.1b
(/.f64 (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
4.2b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
8.7b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c)))

series372.0ms (5%)

Counts
3 → 128
Calls

3 calls:

153.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c)))
115.0ms
(/.f64 (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
104.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))

rewrite328.0ms (4.4%)

Algorithm
rewrite-expression-head
Rules
1644×times-frac_binary64
784×*-un-lft-identity_binary64
784×add-sqr-sqrt_binary64
784×add-cube-cbrt_binary64
624×sqrt-prod_binary64
Counts
3 → 789
Calls

3 calls:

76.0ms
(/.f64 (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
11.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
5.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c)))

simplify873.0ms (11.7%)

Algorithm
egg-herbie
Rules
538×fma-def_binary64
517×associate-/r*_binary64
466×div-sub_binary64
445×associate-/l/_binary64
273×associate-/l*_binary64
Counts
917 → 959
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
079947433
1186344983
2401542572
3542742572

prune553.0ms (7.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New9812983
Fresh088
Picked011
Done000
Total98111992
Error
2.5b
Counts
992 → 11
Alt Table
StatusErrorProgram
13.8b
(/.f64 (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
22.3b
(/.f64 1 (/.f64 (fma.f64 c c (*.f64 d d)) (-.f64 (*.f64 b c) (*.f64 a d))))
36.3b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
48.2b
(/.f64 (/.f64 (*.f64 (sqrt.f64 c) b) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
45.1b
(/.f64 (-.f64 a (/.f64 (*.f64 c b) d)) (hypot.f64 d c))
42.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (-.f64 (/.f64 (*.f64 a d) c) b))
40.4b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
47.1b
(/.f64 (-.f64 (/.f64 (*.f64 c b) d) a) (hypot.f64 d c))
42.3b
(/.f64 (-.f64 b (/.f64 (*.f64 a d) c)) (hypot.f64 d c))
51.0b
(/.f64 (/.f64 (neg.f64 (*.f64 a (sqrt.f64 d))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
14.3b
(/.f64 1 (/.f64 (hypot.f64 d c) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))))
Compiler

Compiled 41138 to 5293 computations (87.1% saved)

regimes1.4s (18.9%)

Accuracy

Total 12.1b remaining (85.3%)

Threshold costs 0b (0%)

Counts
178 → 5
Compiler

Compiled 18998 to 10844 computations (42.9% saved)

bsearch106.0ms (1.4%)

Steps
ItersRangePoint
9
1.2062456310266416e+30
3.152343568014545e+36
3.0970906241597073e+36
7
-1.4070828750648742e-192
-7.862765862347215e-195
-9.658402922807776e-195
10
-4.167357273759762e-132
-4.963514388699338e-144
-1.9738142544677371e-143
10
-1.5928261157303677e+235
-4.3180897455970947e+223
-5.124136587792355e+226
Compiler

Compiled 5 to 4 computations (20% saved)

simplify6.0ms (0.1%)

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
042129
158129
276129
386129
492129
593129
692129

end153.0ms (2.1%)

Compiler

Compiled 395 to 199 computations (49.6% saved)

Profiling

Loading profile data...