Details

Time bar (total: 1.1s)

analyze52.0ms (4.9%)

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
50%50%0.1%4
50%50%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
87.4%12.5%0.1%8
87.4%12.5%0.1%9
93.7%6.2%0.1%10
93.7%6.2%0.1%11
96.8%3.1%0.1%12
96.8%3.1%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample839.0ms (78.8%)

Results
678.0ms7704×body128valid
60.0ms172×body2048valid
46.0ms188×body1024valid
29.0ms117×body512valid
10.0ms75×body256valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess22.0ms (2.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
12314
24110
36810
49410
514210
620810
731710
837510
938910
1039110
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(-.f64 x (*.f64 (/.f64 3 8) y))
(-.f64 y (*.f64 (/.f64 3 8) x))
Outputs
(-.f64 x (*.f64 (/.f64 3 8) y))
(+.f64 x (*.f64 -3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 y (*.f64 (/.f64 3 8) x))
(-.f64 y (*.f64 x 3/8))
(+.f64 y (*.f64 x -3/8))
(fma.f64 x -3/8 y)
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify14.0ms (1.3%)

Algorithm
egg-herbie
Rules
65×fma-def_binary64
50×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
15×sub-neg_binary64
11×neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
097
1167
2265
3405
4555
5795
61275
71725
82165
92735
103155
113195
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 3 8) y))
Outputs
(-.f64 x (*.f64 (/.f64 3 8) y))
(+.f64 x (*.f64 -3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 y -3/8 x)
Compiler

Compiled 25 to 17 computations (32% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 y -3/8 x)

series3.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
(fma.f64 y -3/8 x)
1.0ms
y
@inf
(fma.f64 y -3/8 x)
1.0ms
y
@0
(fma.f64 y -3/8 x)
0.0ms
x
@0
(fma.f64 y -3/8 x)
0.0ms
x
@-inf
(fma.f64 y -3/8 x)

rewrite44.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
450×pow1_binary64
417×add-log-exp_binary64
417×log1p-expm1-u_binary64
417×expm1-log1p-u_binary64
409×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify16.0ms (1.5%)

Algorithm
egg-herbie
Rules
65×fma-def_binary64
50×fma-neg_binary64
26×cancel-sign-sub-inv_binary64
15×sub-neg_binary64
11×neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
08141
114141
223105
337105
452105
576105
6124105
7168105
8214105
9271105
10313105
11317105
Stop Event
saturated
Counts
45 → 26
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(*.f64 -3/8 y)
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(*.f64 -3/8 y)
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(*.f64 -3/8 y)
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
x
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
x
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
(-.f64 x (*.f64 3/8 y))
Outputs
x
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(*.f64 -3/8 y)
(*.f64 y -3/8)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(*.f64 -3/8 y)
(*.f64 y -3/8)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(*.f64 -3/8 y)
(*.f64 y -3/8)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
x
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
x
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)
(-.f64 x (*.f64 3/8 y))
(+.f64 x (*.f64 y -3/8))
(fma.f64 y -3/8 x)

prune12.0ms (1.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh000
Picked011
Done000
Total26127
Error
0b
Counts
27 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 y -3/8 x)
Compiler

Compiled 208 to 140 computations (32.7% saved)

regimes27.0ms (2.5%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
5 → 1
Compiler

Compiled 49 to 36 computations (26.5% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y -3/8 x)
Outputs
(fma.f64 y -3/8 x)

end28.0ms (2.6%)

Stop Event
done
Compiler

Compiled 18 to 12 computations (33.3% saved)

Profiling

Loading profile data...