Details

Time bar (total: 1.2s)

analyze120.0ms (10%)

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
93.8%6.1%0.1%13
95.3%4.6%0.1%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample870.0ms (72.6%)

Results
767.0ms7963×body128valid
34.0ms84×body2048valid
33.0ms97×body1024valid
17.0ms76×body512valid
5.0ms36×body256valid
0.0msbody128invalid

preprocess25.0ms (2.1%)

Algorithm
egg-herbie
Rules
128×fma-neg_binary64
44×fma-def_binary64
40×cancel-sign-sub-inv_binary64
35×sub-neg_binary64
19×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01224
12024
22824
34024
47024
513424
618124
728524
835020
941320
1048520
1153020
1254320
1354820
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
(+.f64 y (/.f64 (fabs.f64 (-.f64 x y)) 2))
Outputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
(+.f64 x (*.f64 1/2 (fabs.f64 (-.f64 y x))))
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
(+.f64 y (/.f64 (fabs.f64 (-.f64 x y)) 2))
(+.f64 y (/.f64 (fabs.f64 (-.f64 y x)) 2))
(+.f64 y (*.f64 1/2 (fabs.f64 (-.f64 y x))))
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) y)
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 y)
Compiler

Compiled 10 to 7 computations (30% saved)

simplify15.0ms (1.2%)

Algorithm
egg-herbie
Rules
97×fma-neg_binary64
34×fma-def_binary64
32×cancel-sign-sub-inv_binary64
27×sub-neg_binary64
17×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0812
11312
22012
32912
45012
510412
616012
720812
827210
931710
1037610
1142110
1244410
1345210
1445710
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
Outputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
(+.f64 x (/.f64 (fabs.f64 (-.f64 x y)) 2))
(+.f64 x (*.f64 1/2 (fabs.f64 (-.f64 y x))))
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

eval1.0ms (0%)

Compiler

Compiled 17 to 9 computations (47.1% saved)

prune2.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 18 to 12 computations (33.3% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

series3.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@0
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
1.0ms
x
@-inf
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
1.0ms
y
@-inf
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
1.0ms
y
@inf
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
1.0ms
x
@inf
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

rewrite36.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
777×pow1_binary64
725×log1p-expm1-u_binary64
725×expm1-log1p-u_binary64
82×add-sqr-sqrt_binary64
79×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
11558
221168
Stop Event
node limit
Counts
1 → 23
Calls
Call 1
Inputs
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y x) 1/2) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) 1/2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))))

simplify23.0ms (1.9%)

Algorithm
egg-herbie
Rules
84×fma-neg_binary64
62×fma-def_binary64
29×cancel-sign-sub-inv_binary64
23×sub-neg_binary64
21×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020221
145221
269221
3116221
4182221
5215221
6287221
7339221
8388221
9416221
10423221
11428221
Stop Event
saturated
Counts
47 → 29
Calls
Call 1
Inputs
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(*.f64 1/2 (fabs.f64 (-.f64 y x)))
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
x
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
x
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
Outputs
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(*.f64 1/2 (fabs.f64 (-.f64 y x)))
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
x
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
x
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x)
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)

eval7.0ms (0.6%)

Compiler

Compiled 307 to 163 computations (46.9% saved)

prune12.0ms (1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done000
Total29130
Error
0.1b
Counts
30 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes13.0ms (1.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
Outputs
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
Results
TimeErrorSegmentsBranch
3.0ms0.1b1x
6.0ms0.1b1y
3.0ms0.1b1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2))
Compiler

Compiled 33 to 20 computations (39.4% saved)

simplify2.0ms (0.2%)

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
0710
11110
21810
32310
42610
52710
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
Outputs
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

end66.0ms (5.5%)

Stop Event
done
Compiler

Compiled 18 to 12 computations (33.3% saved)

Profiling

Loading profile data...