Details

Time bar (total: 1.4s)

analyze4.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample940.0ms (65%)

Results
928.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 18 to 16 computations (11.1% saved)

preprocess14.0ms (1%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
+-commutative_binary64
fma-def_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11411
21711
31911
42311
52711
63211
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify33.0ms (2.3%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
+-commutative_binary64
fma-def_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11411
21711
31911
42311
52711
63211
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))

prune2.0ms (0.1%)

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
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 31 to 27 computations (12.9% saved)

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.2%)

Counts
2 → 15
Calls

6 calls:

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

rewrite50.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
583×pow1_binary64
544×add-log-exp_binary64
543×log1p-expm1-u_binary64
543×expm1-log1p-u_binary64
533×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify39.0ms (2.7%)

Algorithm
egg-herbie
Rules
411×fma-def_binary64
337×sub-neg_binary64
280×distribute-rgt-neg-in_binary64
246×distribute-lft-neg-in_binary64
193×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035172
196170
2273170
3924165
43092165
Stop Event
node limit
Counts
70 → 72
Calls
Call 1
Inputs
(*.f64 -1 (log.f64 x))
(neg.f64 (+.f64 (log.f64 x) x))
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 x (*.f64 1/3 (pow.f64 x 3))))))
(log.f64 -1)
(-.f64 (log.f64 -1) (/.f64 1 x))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))))
(log.f64 -1)
(-.f64 (log.f64 -1) (/.f64 1 x))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))))
(/.f64 1 x)
-1
-1
Outputs
(*.f64 -1 (log.f64 x))
(neg.f64 (log.f64 x))
(neg.f64 (+.f64 (log.f64 x) x))
(neg.f64 (+.f64 x (log.f64 x)))
(-.f64 (neg.f64 (log.f64 x)) x)
(-.f64 (neg.f64 x) (log.f64 x))
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(neg.f64 (+.f64 (log.f64 x) (fma.f64 1/2 (*.f64 x x) x)))
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 1/2 (*.f64 x x) x))
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 x (*.f64 x 1/2) x))
(neg.f64 (fma.f64 (fma.f64 x 1/2 1) x (log.f64 x)))
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 x (*.f64 1/3 (pow.f64 x 3))))))
(neg.f64 (+.f64 (log.f64 x) (+.f64 (fma.f64 1/2 (*.f64 x x) x) (*.f64 1/3 (pow.f64 x 3)))))
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) x)))
(-.f64 (neg.f64 (fma.f64 x (*.f64 x 1/2) x)) (fma.f64 1/3 (pow.f64 x 3) (log.f64 x)))
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 x (*.f64 x (fma.f64 x 1/3 1/2)) x))
(log.f64 -1)
(-.f64 (log.f64 -1) (/.f64 1 x))
(+.f64 (log.f64 -1) (/.f64 -1 x))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (/.f64 1/2 (*.f64 x x))))
(+.f64 (/.f64 -1 x) (-.f64 (log.f64 -1) (/.f64 1/2 (*.f64 x x))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (/.f64 -1/2 (*.f64 x x)))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))
(+.f64 (log.f64 -1) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1/2 (*.f64 x x))) (/.f64 -1/3 (pow.f64 x 3))))
(log.f64 -1)
(-.f64 (log.f64 -1) (/.f64 1 x))
(+.f64 (log.f64 -1) (/.f64 -1 x))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (/.f64 1/2 (*.f64 x x))))
(+.f64 (/.f64 -1 x) (-.f64 (log.f64 -1) (/.f64 1/2 (*.f64 x x))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (/.f64 -1/2 (*.f64 x x)))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))))
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))
(+.f64 (log.f64 -1) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1/2 (*.f64 x x))) (/.f64 -1/3 (pow.f64 x 3))))
(/.f64 1 x)
-1
-1

prune42.0ms (2.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh000
Picked011
Done000
Total71273
Error
0b
Counts
73 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
0.0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 874 to 738 computations (15.6% saved)

localize12.0ms (0.9%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
5.6b
(expm1.f64 (neg.f64 (log.f64 x)))

series139.0ms (9.6%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
43.0ms
x
@-inf
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
34.0ms
x
@-inf
(expm1.f64 (neg.f64 (log.f64 x)))
26.0ms
x
@0
(expm1.f64 (neg.f64 (log.f64 x)))
14.0ms
x
@0
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
14.0ms
x
@inf
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))

rewrite32.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
420×pow1_binary64
385×add-log-exp_binary64
384×log1p-expm1-u_binary64
384×expm1-log1p-u_binary64
377×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
111610
2133510
Stop Event
node limit
Counts
2 → 40
Calls
Call 1
Inputs
(expm1.f64 (neg.f64 (log.f64 x)))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (+.f64 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1)) (pow.f64 (cbrt.f64 (+.f64 x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2) (cbrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) 1) (+.f64 (*.f64 x x) (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) 1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x -1)))) (sqrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2))) (cbrt.f64 (log.f64 (+.f64 x -1))))))) (#(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 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2)) (log.f64 (cbrt.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x -1))) (log.f64 (sqrt.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x -1))) (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2)) (cbrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x -1))) (sqrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x -1))))))))

simplify31.0ms (2.2%)

Algorithm
egg-herbie
Rules
296×fma-neg_binary64
213×associate-*l*_binary64
213×associate-/l*_binary64
206×fma-def_binary64
190×associate-/r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019192
137192
257192
3109192
4225192
5557192
61279192
Stop Event
node limit
Counts
64 → 48
Calls
Call 1
Inputs
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
Outputs
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (/.f64 1 x) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (/.f64 1 x) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (/.f64 1 x) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (/.f64 1 x) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)
(expm1.f64 (neg.f64 (log.f64 x)))
(+.f64 (/.f64 1 x) -1)
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (/.f64 1 x) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(log.f64 (+.f64 (/.f64 1 x) -1))

prune16.0ms (1.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New48048
Fresh000
Picked011
Done011
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
0.0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 453 to 384 computations (15.2% saved)

regimes26.0ms (1.8%)

Accuracy

Total 0.0b remaining (6.7%)

Threshold costs 0.0b (6.7%)

Counts
6 → 1
Compiler

Compiled 61 to 45 computations (26.2% saved)

simplify2.0ms (0.1%)

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
0711
11411
21711
31811
Stop Event
saturated
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))

end56.0ms (3.9%)

Stop Event
done
Compiler

Compiled 31 to 27 computations (12.9% saved)

Profiling

Loading profile data...