Details

Time bar (total: 970.0ms)

analyze101.0ms (10.4%)

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%43.7%6.3%7
59.3%34.3%6.3%8
67.1%23.4%9.5%9
72.6%18%9.5%10
76.9%12.1%11%11
79.8%9.2%11%12
82%6.1%11.8%13
83.6%4.6%11.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample682.0ms (70.3%)

Results
664.0ms8256×body128valid
4.0ms60×body128invalid
Compiler

Compiled 16 to 12 computations (25% saved)

preprocess25.0ms (2.6%)

Algorithm
egg-herbie
Rules
246×fma-def_binary64
86×fma-neg_binary64
40×distribute-rgt-in_binary64
28×sub-neg_binary64
26×unsub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11614
23514
36914
414414
521614
631314
745114
871314
972914
1075314
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 x (-.f64 1 y))
(*.f64 y (-.f64 1 x))
Outputs
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(fma.f64 x (neg.f64 y) x)
(*.f64 y (-.f64 1 x))
(-.f64 y (*.f64 x y))
(fma.f64 x (neg.f64 y) y)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify12.0ms (1.3%)

Algorithm
egg-herbie
Rules
146×fma-def_binary64
61×fma-neg_binary64
26×distribute-rgt-in_binary64
22×cancel-sign-sub-inv_binary64
20×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
1117
2217
3417
4927
51357
62017
72837
84347
94797
105117
115157
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x (-.f64 1 y))
Outputs
(*.f64 x (-.f64 1 y))
(-.f64 x (*.f64 x y))

prune2.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 1 y))
0.0b
(-.f64 x (*.f64 x y))
Compiler

Compiled 40 to 25 computations (37.5% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

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

rewrite41.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
649×pow1_binary64
604×add-log-exp_binary64
604×log1p-expm1-u_binary64
604×expm1-log1p-u_binary64
62×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify18.0ms (1.9%)

Algorithm
egg-herbie
Rules
152×fma-def_binary64
66×fma-neg_binary64
23×associate-*l*_binary64
23×distribute-rgt-in_binary64
21×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013160
133160
267160
3119160
4199160
5332160
6524160
7541160
Stop Event
saturated
Counts
63 → 46
Calls
Call 1
Inputs
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 (-.f64 1 y) x)
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 -1 (*.f64 (-.f64 y 1) x))
x
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
(*.f64 -1 (*.f64 y x))
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
(*.f64 -1 (*.f64 y x))
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
(-.f64 x (*.f64 y x))
Outputs
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 (-.f64 y 1) x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
x
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 y x))
(neg.f64 (*.f64 y x))
(*.f64 y (neg.f64 x))
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(*.f64 -1 (*.f64 y x))
(neg.f64 (*.f64 y x))
(*.f64 y (neg.f64 x))
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)
(-.f64 x (*.f64 y x))
(*.f64 (-.f64 1 y) x)
(*.f64 x (-.f64 1 y))
(fma.f64 y (neg.f64 x) x)

prune17.0ms (1.7%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New45146
Fresh101
Picked101
Done000
Total47148
Error
0b
Counts
48 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 y (neg.f64 x) x)
Compiler

Compiled 549 to 204 computations (62.8% saved)

localize3.0ms (0.3%)

prune10.0ms (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 (neg.f64 x) x)
Compiler

Compiled 7 to 4 computations (42.9% saved)

regimes21.0ms (2.2%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
5 → 1
Compiler

Compiled 45 to 27 computations (40% saved)

simplify4.0ms (0.4%)

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

end27.0ms (2.8%)

Stop Event
done
Compiler

Compiled 21 to 12 computations (42.9% saved)

Profiling

Loading profile data...