Details

Time bar (total: 1.1s)

analyze171.0ms (16.2%)

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
0%99.9%0.1%5
0%99.9%0.1%6
40.6%59.3%0.1%7
45.3%53.1%1.7%8
63.2%33.6%3.2%9
66%28.9%5.2%10
75.1%17.8%7.1%11
76.6%15%8.4%12
81.2%9.1%9.7%13
82%7.7%10.4%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample731.0ms (69.5%)

Results
704.0ms8256×body128valid
16.0ms204×body128invalid
Compiler

Compiled 20 to 14 computations (30% saved)

preprocess20.0ms (1.9%)

Algorithm
egg-herbie
Rules
36×fma-neg_binary64
18×associate-/l*_binary64
16×sub-neg_binary64
16×times-frac_binary64
16×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
11622
22422
33622
46622
511922
615522
720722
825622
929522
1029522
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(/.f64 (fabs.f64 (-.f64 y x)) (fabs.f64 x))
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(/.f64 (fabs.f64 (-.f64 y x)) (fabs.f64 x))
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 x))
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify13.0ms (1.3%)

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
0711
11111
21811
32711
44811
510211
615411
719611
823011
925711
1027111
1127111
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Outputs
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
(/.f64 (fabs.f64 (-.f64 y x)) (fabs.f64 y))

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 34 to 21 computations (38.2% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.4%)

Counts
1 → 0
Calls

6 calls:

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

rewrite35.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
728×log1p-expm1-u_binary64
728×expm1-log1p-u_binary64
87×add-sqr-sqrt_binary64
86×*-un-lft-identity_binary64
86×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify6.0ms (0.6%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
40 → 40
Calls
Call 1
Inputs
Outputs

prune14.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh000
Picked011
Done000
Total39241
Error
0.0b
Counts
41 → 2
Alt Table
StatusErrorProgram
50.6b
(-.f64 (/.f64 x y) (/.f64 y y))
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 415 to 152 computations (63.4% saved)

localize4.0ms (0.4%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0.0b
Counts
2 → 2
Alt Table
StatusErrorProgram
50.6b
(-.f64 (/.f64 x y) (/.f64 y y))
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 18 to 11 computations (38.9% saved)

regimes12.0ms (1.1%)

Accuracy

Total 0.0b remaining (20.3%)

Threshold costs 0.0b (20.3%)

Counts
4 → 1
Compiler

Compiled 43 to 24 computations (44.2% 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
069
1119
2189
3229
4269
5289
6299
Stop Event
saturated
Calls
Call 1
Inputs
(fabs.f64 (/.f64 (-.f64 y x) y))
Outputs
(fabs.f64 (/.f64 (-.f64 y x) y))

end35.0ms (3.3%)

Stop Event
done
Compiler

Compiled 34 to 21 computations (38.2% saved)

Profiling

Loading profile data...