Details

Time bar (total: 989.0ms)

analyze113.0ms (11.5%)

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 8 to 6 computations (25% saved)

sample688.0ms (69.6%)

Results
670.0ms8251×body128valid
1.0msbody1024valid
0.0msbody256valid
Compiler

Compiled 16 to 12 computations (25% saved)

preprocess28.0ms (2.8%)

Algorithm
egg-herbie
Rules
106×fma-neg_binary64
47×cancel-sign-sub-inv_binary64
32×sub-neg_binary64
32×fma-def_binary64
19×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
12014
24514
39414
415914
529314
637514
741914
843114
943214
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(-.f64 (-.f64 1 x) y)
(-.f64 (-.f64 1 y) x)
Outputs
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 x y))
(-.f64 (-.f64 1 y) x)
(-.f64 1 (+.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify12.0ms (1.3%)

Algorithm
egg-herbie
Rules
101×fma-neg_binary64
42×cancel-sign-sub-inv_binary64
38×fma-def_binary64
35×sub-neg_binary64
18×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
1147
2307
3687
41397
52677
63567
74387
84677
94687
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (-.f64 1 x) y)
Outputs
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 x y))
(-.f64 (-.f64 1 y) x)

prune2.0ms (0.2%)

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

Compiled 26 to 18 computations (30.8% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite37.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
798×pow1_binary64
745×log1p-expm1-u_binary64
745×expm1-log1p-u_binary64
72×add-sqr-sqrt_binary64
70×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify20.0ms (2%)

Algorithm
egg-herbie
Rules
99×fma-neg_binary64
49×sub-neg_binary64
41×cancel-sign-sub-inv_binary64
38×fma-def_binary64
20×associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011146
123146
236146
371146
4150146
5231146
6367146
7434146
8463146
9466146
Stop Event
saturated
Counts
66 → 50
Calls
Call 1
Inputs
(-.f64 1 y)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(*.f64 -1 x)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(*.f64 -1 x)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 x)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(*.f64 -1 y)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(*.f64 -1 y)
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
(-.f64 1 (+.f64 y x))
Outputs
(-.f64 1 y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(*.f64 -1 x)
(neg.f64 x)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(*.f64 -1 x)
(neg.f64 x)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 x)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(*.f64 -1 y)
(neg.f64 y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(*.f64 -1 y)
(neg.f64 y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)
(-.f64 1 (+.f64 y x))
(-.f64 (-.f64 1 y) x)
(-.f64 (-.f64 1 x) y)

prune21.0ms (2.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New49150
Fresh000
Picked101
Done000
Total50151
Error
0b
Counts
51 → 1
Alt Table
StatusErrorProgram
0b
(-.f64 1 (+.f64 y x))
Compiler

Compiled 564 to 346 computations (38.7% saved)

localize3.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
(-.f64 1 (+.f64 y x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

regimes28.0ms (2.8%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
8 → 1
Compiler

Compiled 51 to 35 computations (31.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
067
1117
2197
3277
4327
5347
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 1 (+.f64 y x))
Outputs
(-.f64 1 (+.f64 y x))

end28.0ms (2.8%)

Stop Event
done
Remove

(sort x y)

Compiler

Compiled 35 to 25 computations (28.6% saved)

Profiling

Loading profile data...