Details

Time bar (total: 1.1s)

analyze114.0ms (10.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
25%74.9%0.1%5
37.5%62.4%0.1%6
50%46.8%3.2%7
59.3%35.9%4.8%8
67.1%25.8%7.1%9
72.6%19.1%8.3%10
76.9%13.5%9.7%11
79.8%9.9%10.3%12
82%6.9%11.1%13
83.6%5%11.4%14
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample773.0ms (69.3%)

Results
747.0ms8256×body128valid
14.0ms124×body128invalid

preprocess27.0ms (2.4%)

Algorithm
egg-herbie
Rules
215×fma-def_binary64
140×fma-neg_binary64
51×cancel-sign-sub-inv_binary64
26×distribute-rgt-in_binary64
26×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11514
22514
34614
47314
511414
625114
748814
872814
977114
1077514
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(-.f64 (*.f64 x y) x)
(-.f64 (*.f64 y x) y)
Outputs
(-.f64 (*.f64 x y) x)
(-.f64 (*.f64 y x) y)
(-.f64 (*.f64 x y) y)
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify11.0ms (1%)

Algorithm
egg-herbie
Rules
123×fma-def_binary64
78×fma-neg_binary64
28×cancel-sign-sub-inv_binary64
16×distribute-rgt-neg-in_binary64
16×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2157
3267
4447
5727
61557
72987
84427
94767
104787
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
Outputs
(-.f64 (*.f64 x y) x)

eval0.0ms (0%)

Compiler

Compiled 7 to 4 computations (42.9% saved)

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
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x y) x)
Compiler

Compiled 14 to 8 computations (42.9% saved)

localize15.0ms (1.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x y) x)

series4.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (*.f64 x y) x)
1.0ms
y
@inf
(-.f64 (*.f64 x y) x)
1.0ms
x
@0
(-.f64 (*.f64 x y) x)
0.0ms
x
@-inf
(-.f64 (*.f64 x y) x)
0.0ms
y
@0
(-.f64 (*.f64 x y) x)

rewrite37.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
628×pow1_binary64
584×add-log-exp_binary64
584×log1p-expm1-u_binary64
584×expm1-log1p-u_binary64
60×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify43.0ms (3.9%)

Algorithm
egg-herbie
Rules
85×fma-def_binary64
53×fma-neg_binary64
18×distribute-rgt-in_binary64
17×unsub-neg_binary64
16×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014158
132158
266158
3125158
4244158
5356158
6414158
7418158
Stop Event
saturated
Counts
63 → 45
Calls
Call 1
Inputs
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
Outputs
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 (+.f64 y -1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))

eval8.0ms (0.7%)

Compiler

Compiled 496 to 180 computations (63.7% saved)

prune48.0ms (4.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New44145
Fresh000
Picked101
Done000
Total45146
Error
0b
Counts
46 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x y (neg.f64 x))
Compiler

Compiled 14 to 8 computations (42.9% saved)

localize3.0ms (0.3%)

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
(fma.f64 x y (neg.f64 x))
Compiler

Compiled 7 to 4 computations (42.9% saved)

regimes11.0ms (1%)

Accuracy

Total -0.0b remaining (-∞%)

Threshold costs -0.0b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(fma.f64 x y (neg.f64 x))
(-.f64 (*.f64 x y) x)
Outputs
(fma.f64 x y (neg.f64 x))
Results
TimeErrorSegmentsBranch
3.0ms0b1x
3.0ms0b1y
5.0ms0b1(-.f64 (*.f64 x y) x)
Compiler

Compiled 25 to 14 computations (44% saved)

simplify2.0ms (0.2%)

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
057
197
2117
3127
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x y (neg.f64 x))
Outputs
(fma.f64 x y (neg.f64 x))

end17.0ms (1.5%)

Stop Event
done
Compiler

Compiled 14 to 8 computations (42.9% saved)

Profiling

Loading profile data...