Details

Time bar (total: 7.8s)

analyze776.0ms (10%)

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.2s (16%)

Results
1.0s8256×body128valid
61.0ms521×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify76.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
24.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
24.6b
(/.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.9b
(-.f64 (*.f64 b c) (*.f64 a d))
24.2b
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))

series101.0ms (1.3%)

Counts
2 → 96
Calls

2 calls:

88.0ms
(/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))
13.0ms
(-.f64 (*.f64 b c) (*.f64 a d))

rewrite9.0ms (0.1%)

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.1%)

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

prune82.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1009109
Fresh000
Picked101
Done000
Total1019110
Error
2.3b
Counts
110 → 9
Alt Table
StatusErrorProgram
41.9b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
40.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))
18.5b
(*.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)))
35.7b
(neg.f64 (/.f64 a d))
25.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 b c) (*.f64 a d))) (cbrt.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))))) (/.f64 (cbrt.f64 (-.f64 (*.f64 b c) (*.f64 a d))) (cbrt.f64 (fma.f64 c c (*.f64 d d)))))
25.1b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))) (cbrt.f64 (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d))))) (cbrt.f64 (/.f64 (-.f64 (*.f64 b c) (*.f64 a d)) (fma.f64 c c (*.f64 d d)))))
24.9b
(/.f64 1 (/.f64 (fma.f64 c c (*.f64 d d)) (-.f64 (*.f64 b c) (*.f64 a d))))
18.0b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
Compiler

Compiled 2979 to 643 computations (78.4% saved)

localize10.0ms (0.1%)

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.9b
(-.f64 (*.f64 c b) (*.f64 a d))
16.9b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series238.0ms (3.1%)

Counts
4 → 132
Calls

4 calls:

112.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
97.0ms
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))
18.0ms
(/.f64 1 (hypot.f64 d c))
11.0ms
(-.f64 (*.f64 c b) (*.f64 a d))

rewrite31.0ms (0.4%)

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))
4.0ms
(-.f64 (*.f64 c b) (*.f64 a d))
3.0ms
(/.f64 1 (hypot.f64 d c))

simplify118.0ms (1.5%)

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

prune198.0ms (2.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2656271
Fresh358
Picked101
Done000
Total26911280
Error
2.3b
Counts
280 → 11
Alt Table
StatusErrorProgram
40.6b
(/.f64 b c)
24.6b
(*.f64 1 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (*.f64 (hypot.f64 d c) (hypot.f64 d c))))
35.7b
(neg.f64 (/.f64 a d))
42.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
18.1b
(*.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))))
41.9b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
44.5b
(*.f64 (/.f64 1 (hypot.f64 d c)) a)
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
46.4b
(*.f64 (/.f64 1 (hypot.f64 d c)) b)
18.5b
(*.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)))
21.4b
(*.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))))
Compiler

Compiled 7521 to 2262 computations (69.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.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))))
0.3b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
0.9b
(-.f64 (*.f64 c b) (*.f64 a d))
16.9b
(/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c))

series314.0ms (4%)

Counts
2 → 80
Calls

2 calls:

211.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))
102.0ms
(*.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))))

rewrite34.0ms (0.4%)

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

2 calls:

13.0ms
(*.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))))
11.0ms
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (hypot.f64 d c)))

simplify142.0ms (1.8%)

Algorithm
egg-herbie
Rules
722×times-frac_binary64
325×fma-neg_binary64
302×fma-def_binary64
267×distribute-rgt-in_binary64
257×distribute-lft-in_binary64
Counts
177 → 175
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02145705
15515165
219065099
349725097
451115097

prune201.0ms (2.6%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2681269
Fresh01010
Picked011
Done000
Total26812280
Error
2.3b
Counts
280 → 12
Alt Table
StatusErrorProgram
44.5b
(*.f64 (/.f64 1 (hypot.f64 d c)) a)
42.2b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (neg.f64 a)))
40.6b
(/.f64 b c)
24.6b
(*.f64 1 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (*.f64 (hypot.f64 d c) (hypot.f64 d c))))
35.7b
(neg.f64 (/.f64 a d))
42.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
18.1b
(*.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))))
41.9b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
46.4b
(*.f64 (/.f64 1 (hypot.f64 d c)) b)
18.5b
(*.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)))
21.4b
(*.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))))
Compiler

Compiled 9310 to 3634 computations (61% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))))
0.9b
(-.f64 (*.f64 c b) (*.f64 a d))
4.6b
(/.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))) (hypot.f64 d c))
17.4b
(cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))

series402.0ms (5.2%)

Counts
3 → 144
Calls

3 calls:

201.0ms
(/.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))) (hypot.f64 d c))
114.0ms
(*.f64 (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))) (cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d))))
87.0ms
(cbrt.f64 (-.f64 (*.f64 c b) (*.f64 a d)))

rewrite31.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×cbrt-div_binary64
22×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
Counts
3 → 96
Calls

3 calls:

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

simplify254.0ms (3.3%)

Algorithm
egg-herbie
Rules
541×fma-def_binary64
372×*-commutative_binary64
240×cancel-sign-sub-inv_binary64
234×sub-neg_binary64
184×fma-neg_binary64
Counts
240 → 376
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
090915372
1313814597
2499214597
3501114597

prune584.0ms (7.5%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New6420642
Fresh01010
Picked011
Done011
Total64212654
Error
2.3b
Counts
654 → 12
Alt Table
StatusErrorProgram
44.5b
(*.f64 (/.f64 1 (hypot.f64 d c)) a)
42.2b
(*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 d c))) (neg.f64 a)))
40.6b
(/.f64 b c)
24.6b
(*.f64 1 (/.f64 (-.f64 (*.f64 c b) (*.f64 a d)) (*.f64 (hypot.f64 d c) (hypot.f64 d c))))
35.7b
(neg.f64 (/.f64 a d))
42.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 a))
18.1b
(*.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))))
41.9b
(-.f64 (/.f64 b c) (fma.f64 (/.f64 a c) (/.f64 d c) (/.f64 (*.f64 (*.f64 d d) b) (pow.f64 c 3))))
37.0b
(-.f64 (fma.f64 (/.f64 c d) (/.f64 b d) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 d 3))) (/.f64 a d))
46.4b
(*.f64 (/.f64 1 (hypot.f64 d c)) b)
18.5b
(*.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)))
21.4b
(*.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))))
Compiler

Compiled 41771 to 16812 computations (59.8% saved)

regimes2.7s (34.2%)

Accuracy

Total 9.0b remaining (86.6%)

Threshold costs 0b (0%)

Counts
206 → 3
Compiler

Compiled 27423 to 14664 computations (46.5% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 19 to 11 computations (42.1% 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
02786
13886
24886
35586
45986
56086
66086

end135.0ms (1.7%)

Compiler

Compiled 356 to 180 computations (49.4% saved)

Profiling

Loading profile data...