Details

Time bar (total: 2.2s)

analyze6.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
83.3%62.5%12.5%0%25%0%0%5
91.7%68.7%6.2%0%25%0%0%6
95.8%71.8%3.1%0%25%0%0%7
97.9%73.4%1.6%0%25%0%0%8
99%74.2%0.8%0%25%0%0%9
99.5%74.6%0.4%0%25%0%0%10
99.7%74.8%0.2%0%25%0%0%11
99.9%74.9%0.1%0%25%0%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample1.5s (67.3%)

Results
1.4s8256×body256valid
0.0msbody256infinite
Bogosity

preprocess110.0ms (5.1%)

Algorithm
egg-herbie
Rules
92×fma-def_binary64
68×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
16×distribute-rgt-in_binary64
12×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2177
3227
4267
5317
6427
7647
81357
92577
103677
113897
123917
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify25.0ms (1.2%)

Algorithm
egg-herbie
Rules
92×fma-def_binary64
68×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
16×distribute-rgt-in_binary64
12×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2177
3227
4267
5317
6427
7647
81357
92577
103677
113897
123917
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)

eval1.0ms (0%)

Compiler

Compiled 11 to 6 computations (45.5% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 12 to 7 computations (41.7% saved)

localize8.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite68.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
507×pow1_binary64
492×add-sqr-sqrt_binary64
473×add-log-exp_binary64
472×log1p-expm1-u_binary64
472×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify72.0ms (3.3%)

Algorithm
egg-herbie
Rules
679×fma-neg_binary64
553×associate-*l*_binary64
441×associate-*r*_binary64
434×unswap-sqr_binary64
355×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0783
11674
23274
37074
419374
571674
6355674
7766974
Stop Event
node limit
Counts
29 → 23
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 10 to 3 computations (70% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
497×pow1_binary64
483×add-sqr-sqrt_binary64
468×add-log-exp_binary64
468×log1p-expm1-u_binary64
468×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1917
213237
Stop Event
node limit
Counts
1 → 36
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) x) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) 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 x) 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 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (*.f64 x x) x)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) x)) 2) (cbrt.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 x x) x)) (sqrt.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x (fma.f64 x x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (/.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 x)) (-.f64 x (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 x (fma.f64 x x x))) (-.f64 (pow.f64 x 6) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x x) (-.f64 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (*.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 x (fma.f64 x x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 x x))) (neg.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x x) (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (*.f64 x x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (*.f64 x x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (neg.f64 x))))))

simplify76.0ms (3.5%)

Algorithm
egg-herbie
Rules
679×fma-neg_binary64
553×associate-*l*_binary64
441×associate-*r*_binary64
434×unswap-sqr_binary64
355×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0783
11674
23274
37074
419374
571674
6355674
7766974
Stop Event
node limit
Counts
48 → 42
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(fma.f64 -1 x (*.f64 x x))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x x) x)

eval12.0ms (0.6%)

Compiler

Compiled 596 to 274 computations (54% saved)

prune123.0ms (5.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New63265
Fresh000
Picked011
Done011
Total63467
Error
0b
Counts
67 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
20.5b
(neg.f64 x)
0.0b
(-.f64 (*.f64 x x) x)
41.8b
(*.f64 x x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 19 to 11 computations (42.1% saved)

localize2.0ms (0.1%)

Compiler

Compiled 4 to 2 computations (50% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 2 computations (60% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
20.5b
(neg.f64 x)
0.0b
(-.f64 (*.f64 x x) x)
41.8b
(*.f64 x x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 19 to 11 computations (42.1% saved)

regimes9.0ms (0.4%)

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

2 calls:

4.0ms
(*.f64 x (-.f64 x 1))
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(*.f64 x (-.f64 x 1))
Compiler

Compiled 24 to 12 computations (50% saved)

regimes5.0ms (0.2%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
Compiler

Compiled 13 to 5 computations (61.5% saved)

regimes33.0ms (1.5%)

Accuracy

Total -58.9b remaining (-3431.9%)

Threshold costs -58.9b (-3431.9%)

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

1 calls:

32.0ms
x
Results
ErrorSegmentsBranch
1.7b3x
Compiler

Compiled 8 to 4 computations (50% saved)

bsearch63.0ms (2.9%)

Algorithm
binary-search
Steps
TimeLeftRight
44.0ms
7.135383061402566e-9
13.819111861801696
19.0ms
-41.09187112638979
-0.0016795478457470757
Compiler

Compiled 10 to 7 computations (30% saved)

simplify6.0ms (0.3%)

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
01540
12440
22840
32940
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
(-.f64 (*.f64 x x) x)
(if (<=.f64 x -2891583367074461/70368744177664) (*.f64 x x) (if (<=.f64 x 8626148815770439/1208925819614629174706176) (neg.f64 x) (*.f64 x x)))
(neg.f64 x)
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)
(if (<=.f64 x -2891583367074461/70368744177664) (*.f64 x x) (if (<=.f64 x 8626148815770439/1208925819614629174706176) (neg.f64 x) (*.f64 x x)))
(neg.f64 x)
Compiler

Compiled 32 to 18 computations (43.8% saved)

soundness0.0ms (0%)

end28.0ms (1.3%)

Compiler

Compiled 29 to 13 computations (55.2% saved)

Profiling

Loading profile data...