Details

Time bar (total: 1.3s)

analyze80.0ms (6%)

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
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.1s (84.3%)

Results
1.1s8256×body256valid

preprocess39.0ms (3%)

Algorithm
egg-herbie
Rules
36×fma-neg_binary64
16×sub-neg_binary64
16×fma-def_binary64
14×cancel-sign-sub-inv_binary64
10×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
22218
33418
46418
512118
615518
719918
821418
921718
1021918
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 a b)))
(*.f64 (fabs.f64 (-.f64 a b)) 1/2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 a b)))
(*.f64 (fabs.f64 (-.f64 a b)) 1/2)
Symmetry

(sort a b)

Compiler

Compiled 10 to 8 computations (20% saved)

simplify19.0ms (1.4%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
16×sub-neg_binary64
fabs-sub_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1119
2189
3279
4489
51029
61549
71959
82259
92339
102359
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)

eval1.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
Compiler

Compiled 8 to 6 computations (25% saved)

localize7.0ms (0.5%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Error
0b
Counts
1 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
Compiler

Compiled 8 to 6 computations (25% saved)

regimes31.0ms (2.4%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
(/.f64 (fabs.f64 (-.f64 a b)) 2)
Outputs
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
Calls

5 calls:

7.0ms
(-.f64 a b)
6.0ms
(fabs.f64 (-.f64 a b))
6.0ms
(/.f64 (fabs.f64 (-.f64 a b)) 2)
5.0ms
a
5.0ms
b
Results
ErrorSegmentsBranch
0b1a
0b1b
0b1(/.f64 (fabs.f64 (-.f64 a b)) 2)
0b1(fabs.f64 (-.f64 a b))
0b1(-.f64 a b)
Compiler

Compiled 39 to 27 computations (30.8% saved)

simplify4.0ms (0.3%)

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
079
1129
2199
3249
4279
5289
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
Outputs
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)

end24.0ms (1.8%)

Stop Event
done
Remove

(sort a b)

Compiler

Compiled 32 to 24 computations (25% saved)

Profiling

Loading profile data...