Details

Time bar (total: 1.7s)

analyze57.0ms (3.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%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
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample1.0s (61.9%)

Results
1.0s8256×body256valid
17.0ms202×body256invalid

preprocess30.0ms (1.8%)

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 9 to 6 computations (33.3% saved)

simplify126.0ms (7.5%)

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

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 7 to 4 computations (42.9% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 12 to 4 computations (66.7% saved)

series4.0ms (0.2%)

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)

rewrite49.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
571×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11117
215677
Stop Event
node limit
Counts
1 → 38
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)) (pow.f64 (cbrt.f64 x) 2) 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)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 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 log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) 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)))))))

simplify18.0ms (1%)

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
62 → 44
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))

eval9.0ms (0.5%)

Compiler

Compiled 487 to 176 computations (63.9% saved)

prune15.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New41344
Fresh000
Picked101
Done000
Total42345
Error
0b
Counts
45 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
25.0b
(neg.f64 x)
37.5b
(*.f64 y x)
0b
(*.f64 x (-.f64 y 1))
Compiler

Compiled 16 to 11 computations (31.3% saved)

localize6.0ms (0.4%)

Compiler

Compiled 13 to 8 computations (38.5% saved)

localize4.0ms (0.2%)

Compiler

Compiled 7 to 3 computations (57.1% saved)

localize3.0ms (0.2%)

Compiler

Compiled 5 to 3 computations (40% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
25.0b
(neg.f64 x)
37.5b
(*.f64 y x)
0b
(*.f64 x (-.f64 y 1))
Compiler

Compiled 16 to 11 computations (31.3% saved)

regimes122.0ms (7.3%)

Counts
3 → 1
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 y x)
(*.f64 x (-.f64 y 1))
Outputs
(*.f64 x (-.f64 y 1))
Calls

2 calls:

4.0ms
y
4.0ms
x
Results
ErrorSegmentsBranch
0b1x
0b1y
Compiler

Compiled 18 to 11 computations (38.9% saved)

regimes53.0ms (3.1%)

Accuracy

Total -59.8b remaining (-4464.1%)

Threshold costs -59.8b (-4464.1%)

Counts
2 → 3
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 y x)
Outputs
(*.f64 y x)
(neg.f64 x)
(*.f64 y x)
Calls

2 calls:

42.0ms
x
10.0ms
y
Results
ErrorSegmentsBranch
20.8b5x
1.3b3y
Compiler

Compiled 13 to 8 computations (38.5% saved)

bsearch50.0ms (3%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
2.3583391504686918e-9
8554.911339230988
35.0ms
-6.343413215155137
-0.00014762719529759393
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify5.0ms (0.3%)

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
01533
12433
22733
32833
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 y 1))
(if (<=.f64 y -7142048348007439/1125899906842624) (*.f64 y x) (if (<=.f64 y 5702114180819263/2417851639229258349412352) (neg.f64 x) (*.f64 y x)))
(neg.f64 x)
Outputs
(*.f64 x (-.f64 y 1))
(*.f64 x (+.f64 y -1))
(if (<=.f64 y -7142048348007439/1125899906842624) (*.f64 y x) (if (<=.f64 y 5702114180819263/2417851639229258349412352) (neg.f64 x) (*.f64 y x)))
(if (<=.f64 y -7142048348007439/1125899906842624) (*.f64 x y) (if (<=.f64 y 5702114180819263/2417851639229258349412352) (neg.f64 x) (*.f64 x y)))
(neg.f64 x)

end83.0ms (4.9%)

Stop Event
done
Compiler

Compiled 54 to 31 computations (42.6% saved)

Profiling

Loading profile data...