Details

Time bar (total: 1.6s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.4s (84.2%)

Results
644.0ms2780×body1024valid
309.0ms3139×body128valid
242.0ms1358×body512valid
88.0ms699×body256valid
76.0ms280×body2048valid
0.0msbody128invalid
Compiler

Compiled 22 to 18 computations (18.2% saved)

preprocess28.0ms (1.7%)

Algorithm
egg-herbie
Rules
848×fma-def_binary64
569×distribute-rgt-in_binary64
541×associate--r-_binary64
489×distribute-lft-in_binary64
372×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
12210
2557
31347
45717
519367
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
Outputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify16.0ms (1%)

Algorithm
egg-herbie
Rules
848×fma-def_binary64
569×distribute-rgt-in_binary64
541×associate--r-_binary64
489×distribute-lft-in_binary64
372×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0611
12210
2557
31347
45717
519367
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
Outputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (+.f64 x 2))
Compiler

Compiled 27 to 19 computations (29.6% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 x 2))

series6.0ms (0.4%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
5.0ms
x
@0
(*.f64 x (+.f64 x 2))
1.0ms
x
@-inf
(*.f64 x (+.f64 x 2))
1.0ms
x
@inf
(*.f64 x (+.f64 x 2))

rewrite31.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
593×pow1_binary64
557×add-log-exp_binary64
556×log1p-expm1-u_binary64
556×expm1-log1p-u_binary64
58×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify56.0ms (3.4%)

Algorithm
egg-herbie
Rules
471×fma-def_binary64
464×sqr-pow_binary64
434×unswap-sqr_binary64
281×cube-prod_binary64
273×fabs-mul_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06102
11375
22875
35075
411075
529775
698775
7213775
8248475
9267675
10288675
11318275
12359175
13407175
14463875
Stop Event
node limit
Counts
36 → 29
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
Outputs
(*.f64 2 x)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (*.f64 x x))
(*.f64 x (+.f64 2 x))

prune20.0ms (1.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New28129
Fresh000
Picked101
Done000
Total29130
Error
0b
Counts
30 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 x x (*.f64 x 2))
Compiler

Compiled 291 to 187 computations (35.7% saved)

localize3.0ms (0.2%)

prune1.0ms (0%)

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 x x (*.f64 x 2))
Compiler

Compiled 7 to 4 computations (42.9% saved)

regimes59.0ms (3.6%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
21 → 1
Compiler

Compiled 772 to 568 computations (26.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
168
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 x 2))
Outputs
(fma.f64 x x (*.f64 x 2))

end27.0ms (1.7%)

Stop Event
done
Compiler

Compiled 21 to 12 computations (42.9% saved)

Profiling

Loading profile data...