Details

Time bar (total: 940.0ms)

analyze7.0ms (0.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 13 to 10 computations (23.1% saved)

sample751.0ms (79.9%)

Results
740.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

preprocess18.0ms (1.9%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify6.0ms (0.6%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 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 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 35 computations (25.5% saved)

localize15.0ms (1.6%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
518×pow1_binary64
485×add-log-exp_binary64
484×log1p-expm1-u_binary64
484×expm1-log1p-u_binary64
475×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify23.0ms (2.4%)

Algorithm
egg-herbie
Rules
901×fma-neg_binary64
578×cancel-sign-sub-inv_binary64
554×associate-*l*_binary64
243×fma-def_binary64
198×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027177
173167
2200167
3549164
41629164
Stop Event
node limit
Counts
34 → 36
Calls
Call 1
Inputs
-1
(neg.f64 (+.f64 1 x))
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) x)))
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 x (pow.f64 x 3)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
Outputs
-1
(neg.f64 (+.f64 1 x))
(+.f64 -1 (neg.f64 x))
(-.f64 -1 x)
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) x)))
(+.f64 -1 (neg.f64 (+.f64 x (*.f64 x x))))
(-.f64 -1 (fma.f64 x x x))
(fma.f64 x (-.f64 -1 x) -1)
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 x (pow.f64 x 3)))))
(+.f64 -1 (neg.f64 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3)))))
(-.f64 -1 (fma.f64 x x (+.f64 x (pow.f64 x 3))))
(-.f64 (-.f64 -1 x) (fma.f64 x x (pow.f64 x 3)))
(*.f64 (fma.f64 x x 1) (-.f64 -1 x))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))

prune22.0ms (2.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh000
Picked011
Done000
Total35237
Error
0b
Counts
37 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
30.9b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 581 to 434 computations (25.3% saved)

localize5.0ms (0.5%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
30.9b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes8.0ms (0.9%)

Accuracy

Total 0.0b remaining (16.8%)

Threshold costs 0.0b (16.8%)

Counts
5 → 1
Compiler

Compiled 61 to 43 computations (29.5% saved)

simplify6.0ms (0.7%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))

end43.0ms (4.6%)

Stop Event
done
Compiler

Compiled 46 to 34 computations (26.1% saved)

Profiling

Loading profile data...