Details

Time bar (total: 1.8s)

analyze70.0ms (3.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
37.5%62.4%0.1%5
59.3%40.6%0.1%6
76.5%23.4%0.1%7
82%18%0.1%8
87.8%12.1%0.1%9
90.7%9.2%0.1%10
93.8%6.1%0.1%11
95.3%4.6%0.1%12
96.8%3.1%0.1%13
97.6%2.3%0.1%14
Compiler

Compiled 10 to 6 computations (40% saved)

sample832.0ms (46.3%)

Results
717.0ms8256×body128valid
Compiler

Compiled 29 to 17 computations (41.4% saved)

simplify80.0ms (4.4%)

Algorithm
egg-herbie
Rules
801×fma-def_binary64
511×fma-neg_binary64
365×times-frac_binary64
331×div-sub_binary64
156×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11210
21910
33010
45210
58110
612410
719110
830010
964110
1082210
11129910
12132810
13134310
14135710
15137710
16137710
17127610

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
Compiler

Compiled 27 to 15 computations (44.4% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))

series8.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(/.f64 (-.f64 x y) (+.f64 x y))

rewrite111.0ms (6.2%)

Algorithm
batch-egg-rewrite
Rules
233×egg-rr
Counts
1 → 233
Calls

2 calls:

100.0ms
((/.f64 (-.f64 x y) (+.f64 x y)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
114310
2218010
3540910
000
100

simplify54.0ms (3%)

Algorithm
egg-herbie
Rules
827×associate-/l*_binary64
533×fma-def_binary64
454×cancel-sign-sub-inv_binary64
411×associate-/r/_binary64
334×fma-neg_binary64
Counts
257 → 247
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033414
1107408
2329366
31344324
44841324
55073324

prune144.0ms (8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2452247
Fresh000
Picked011
Done000
Total2453248
Error
0b
Counts
248 → 3
Alt Table
StatusErrorProgram
35.8b
(fma.f64 2 (*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1)) 1)
28.1b
(+.f64 -1 (*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y)))))
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
Compiler

Compiled 11899 to 2654 computations (77.7% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (/.f64 x y))
0.1b
(*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y))))

series28.0ms (1.5%)

Counts
2 → 24
Calls

2 calls:

16.0ms
(*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y))))
12.0ms
(*.f64 2 (/.f64 x y))

rewrite59.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
106×egg-rr
Counts
2 → 106
Calls

2 calls:

57.0ms
((*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y)))) (*.f64 2 (/.f64 x y)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0823
118523
2250721
3494321
000
100

simplify58.0ms (3.2%)

Algorithm
egg-herbie
Rules
800×associate-/r*_binary64
790×div-sub_binary64
593×associate-/l/_binary64
471×associate-/r/_binary64
366×fma-def_binary64
Counts
130 → 111
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
013402
137402
279402
3247348
41243312
54449312
64860312
75642312

prune70.0ms (3.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh011
Picked011
Done011
Total1113114
Error
0b
Counts
114 → 3
Alt Table
StatusErrorProgram
35.8b
(fma.f64 2 (*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1)) 1)
28.1b
(+.f64 -1 (*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y)))))
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
Compiler

Compiled 2144 to 1199 computations (44.1% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1))

series16.0ms (0.9%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1))

rewrite54.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
47×egg-rr
Counts
1 → 47
Calls

2 calls:

53.0ms
((*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
115513
2210813
3552413
000
100

simplify43.0ms (2.4%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
650×unswap-sqr_binary64
608×fma-def_binary64
395×cancel-sign-sub-inv_binary64
331×associate-/l*_binary64
Counts
71 → 53
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
011336
124336
242282
3117282
4429282
52577282
65408282

prune28.0ms (1.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New53053
Fresh000
Picked011
Done022
Total53356
Error
0b
Counts
56 → 3
Alt Table
StatusErrorProgram
35.8b
(fma.f64 2 (*.f64 (/.f64 y x) (+.f64 (/.f64 y x) -1)) 1)
28.1b
(+.f64 -1 (*.f64 (/.f64 x y) (-.f64 2 (*.f64 2 (/.f64 x y)))))
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
Compiler

Compiled 999 to 558 computations (44.1% saved)

regimes75.0ms (4.2%)

Accuracy

Total 0.0b remaining (56.8%)

Threshold costs 0.0b (56.8%)

Counts
29 → 1
Compiler

Compiled 1109 to 752 computations (32.2% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
11016
21716
32116
42416
52516
62516

end47.0ms (2.6%)

Compiler

Compiled 64 to 36 computations (43.8% saved)

Profiling

Loading profile data...