Details

Time bar (total: 1.2s)

analyze154.0ms (12.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
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)

sample812.0ms (66.2%)

Results
777.0ms8256×body128valid
9.0ms122×body128invalid

preprocess24.0ms (2%)

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)

simplify14.0ms (1.2%)

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)

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) x)
Compiler

Compiled 21 to 12 computations (42.9% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series39.0ms (3.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
36.0ms
y
@inf
(-.f64 (*.f64 x y) x)
1.0ms
x
@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)

rewrite36.0ms (2.9%)

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 log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) x)))))) (#(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 expm1.f64 (log1p.f64 (-.f64 (*.f64 x y) x)))))))

simplify17.0ms (1.4%)

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))

prune44.0ms (3.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 510 to 188 computations (63.1% saved)

localize4.0ms (0.3%)

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

Compiled 9 to 6 computations (33.3% saved)

regimes17.0ms (1.4%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
6 → 1
Compiler

Compiled 38 to 20 computations (47.4% 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 y x (neg.f64 x))
Outputs
(fma.f64 y x (neg.f64 x))

end57.0ms (4.7%)

Stop Event
done
Compiler

Compiled 19 to 8 computations (57.9% saved)

Profiling

Loading profile data...