Details

Time bar (total: 6.7s)

analyze826.0ms (12.4%)

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 (19.5%)

Results
1.1s8256×body128valid
81.0ms505×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify65.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
26.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
26.1b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (+.f64 (*.f64 c c) (*.f64 d d)))
Compiler

Compiled 71 to 35 computations (50.7% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(-.f64 (*.f64 b c) (*.f64 a d))
25.6b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (+.f64 (*.f64 c c) (*.f64 d d)))

series103.0ms (1.5%)

Counts
2 → 96
Calls

2 calls:

94.0ms
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (+.f64 (*.f64 c c) (*.f64 d d)))
9.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 → 50
Calls

2 calls:

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

simplify93.0ms (1.4%)

Algorithm
egg-herbie
Rules
443×fma-def_binary64
380×times-frac_binary64
343×associate-/l*_binary64
339×fma-neg_binary64
229×associate-*l/_binary64
Counts
146 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01372770
13732658
212992612
346682596
449412596

prune78.0ms (1.2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1049113
Fresh000
Picked011
Done000
Total10410114
Error
1.2b
Counts
114 → 10
Alt Table
StatusErrorProgram
41.3b
(*.f64 (/.f64 (sqrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c)) (/.f64 (sqrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (hypot.f64 d c)))
46.2b
(exp.f64 (-.f64 (log.f64 (-.f64 (*.f64 b c) (*.f64 a d))) (log.f64 (+.f64 (*.f64 c c) (*.f64 d d)))))
35.4b
(neg.f64 (/.f64 a d))
26.1b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (+.f64 (*.f64 c c) (*.f64 d d)))
26.2b
(/.f64 1 (/.f64 (fma.f64 d d (*.f64 c c)) (-.f64 (*.f64 c b) (*.f64 a d))))
39.1b
(/.f64 b c)
18.1b
(*.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)))
42.0b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
31.3b
(-.f64 (fma.f64 (/.f64 c (/.f64 (pow.f64 d 3) c)) a (*.f64 (/.f64 b d) (-.f64 (/.f64 c d) (pow.f64 (/.f64 c d) 3)))) (/.f64 a d))
17.5b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
Compiler

Compiled 3118 to 680 computations (78.2% saved)

localize10.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 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
0.5b
(-.f64 (*.f64 c b) (*.f64 a d))
16.5b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series236.0ms (3.5%)

Counts
4 → 132
Calls

4 calls:

108.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
99.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
20.0ms
(/.f64 1 (hypot.f64 d c))
9.0ms
(-.f64 (*.f64 c b) (*.f64 a d))

rewrite32.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:

11.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))
2.0ms
(/.f64 1 (hypot.f64 d c))

simplify137.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

prune200.0ms (3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2665271
Fresh358
Picked101
Done101
Total27110281
Error
1.2b
Counts
281 → 10
Alt Table
StatusErrorProgram
42.0b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
17.4b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))
26.2b
(/.f64 1 (/.f64 (fma.f64 d d (*.f64 c c)) (-.f64 (*.f64 c b) (*.f64 a d))))
39.1b
(/.f64 b c)
42.3b
(*.f64 (/.f64 1 (hypot.f64 d c)) (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))))
35.4b
(neg.f64 (/.f64 a d))
44.7b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
20.9b
(*.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))))
31.3b
(-.f64 (fma.f64 (/.f64 c (/.f64 (pow.f64 d 3) c)) a (*.f64 (/.f64 b d) (-.f64 (/.f64 c d) (pow.f64 (/.f64 c d) 3)))) (/.f64 a d))
17.6b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))
Compiler

Compiled 7491 to 2252 computations (69.9% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series127.0ms (1.9%)

Counts
2 → 72
Calls

2 calls:

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

rewrite19.0ms (0.3%)

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

2 calls:

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

simplify131.0ms (2%)

Algorithm
egg-herbie
Rules
694×times-frac_binary64
567×associate-/l*_binary64
475×associate-/l/_binary64
441×fma-neg_binary64
291×div-sub_binary64
Counts
155 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02304858
15694613
214904399
345484352
454674352

prune195.0ms (2.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3022304
Fresh279
Picked011
Done000
Total30410314
Error
1.2b
Counts
314 → 10
Alt Table
StatusErrorProgram
42.0b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
17.4b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))
26.2b
(/.f64 1 (/.f64 (fma.f64 d d (*.f64 c c)) (-.f64 (*.f64 c b) (*.f64 a d))))
39.1b
(/.f64 b c)
42.3b
(/.f64 (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))) (hypot.f64 d c))
17.6b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))
35.4b
(neg.f64 (/.f64 a d))
44.7b
(/.f64 (neg.f64 a) (hypot.f64 d c))
20.9b
(*.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))))
31.3b
(-.f64 (fma.f64 (/.f64 c (/.f64 (pow.f64 d 3) c)) a (*.f64 (/.f64 b d) (-.f64 (/.f64 c d) (pow.f64 (/.f64 c d) 3)))) (/.f64 a d))
Compiler

Compiled 8182 to 2003 computations (75.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series349.0ms (5.2%)

Counts
2 → 80
Calls

2 calls:

237.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c)))
112.0ms
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))

rewrite105.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
341×times-frac_binary64
251×add-sqr-sqrt_binary64
171×*-un-lft-identity_binary64
161×add-cube-cbrt_binary64
110×sqrt-prod_binary64
Counts
2 → 276
Calls

2 calls:

39.0ms
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))
7.0ms
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c)))

simplify325.0ms (4.9%)

Algorithm
egg-herbie
Rules
793×fma-def_binary64
310×associate-/l*_binary64
292×associate-*l/_binary64
274×associate-/l/_binary64
270×associate-*r/_binary64
Counts
356 → 428
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038015206
1105613331
2340513258
3465213257
4511313257

prune319.0ms (4.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New5220522
Fresh088
Picked011
Done011
Total52210532
Error
1.2b
Counts
532 → 10
Alt Table
StatusErrorProgram
42.0b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
17.4b
(/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (hypot.f64 d c))
26.2b
(/.f64 1 (/.f64 (fma.f64 d d (*.f64 c c)) (-.f64 (*.f64 c b) (*.f64 a d))))
39.1b
(/.f64 b c)
42.3b
(/.f64 (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))) (hypot.f64 d c))
17.6b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))
35.4b
(neg.f64 (/.f64 a d))
44.7b
(/.f64 (neg.f64 a) (hypot.f64 d c))
20.9b
(*.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))))
31.3b
(-.f64 (fma.f64 (/.f64 c (/.f64 (pow.f64 d 3) c)) a (*.f64 (/.f64 b d) (-.f64 (/.f64 c d) (pow.f64 (/.f64 c d) 3)))) (/.f64 a d))
Compiler

Compiled 19854 to 3961 computations (80% saved)

regimes1.8s (27.3%)

Accuracy

Total 10.0b remaining (90.4%)

Threshold costs 0b (0%)

Counts
160 → 3
Compiler

Compiled 18096 to 10174 computations (43.8% saved)

bsearch37.0ms (0.6%)

Steps
ItersRangePoint
7
7.701988703942152e+111
1.3399370062922863e+113
1.2030428421309446e+113
6
-7.996387323058804e+159
-1.5169987728952464e+159
-1.6659650814561475e+159
Compiler

Compiled 5 to 4 computations (20% saved)

simplify4.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
03074
14574
26274
37274
47874
57974
67974

end122.0ms (1.8%)

Compiler

Compiled 301 to 171 computations (43.2% saved)

Profiling

Loading profile data...