Details

Time bar (total: 1.8s)

analyze4.0ms (0.2%)

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
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.1s (59.7%)

Results
1.0s8256×body256valid
1.0ms18×body256invalid

preprocess16.0ms (0.9%)

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 9 to 8 computations (11.1% saved)

simplify9.0ms (0.5%)

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)))

eval1.0ms (0%)

Compiler

Compiled 15 to 13 computations (13.3% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 8 to 7 computations (12.5% saved)

localize13.0ms (0.7%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 19 computations (20.8% saved)

series1.0ms (0.1%)

Counts
1 → 3
Calls

3 calls:

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

rewrite61.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
515×pow1_binary64
503×add-sqr-sqrt_binary64
483×add-log-exp_binary64
482×log1p-expm1-u_binary64
482×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11097
214027
Stop Event
node limit
Counts
1 → 31
Calls
Call 1
Inputs
(-.f64 (/.f64 1 x) 1)
Outputs
((#(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 (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 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 expm1.f64 (neg.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))))) (#(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)) (/.f64 1 (cbrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))))

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
176
Stop Event
saturated
Counts
34 → 33
Calls
Call 1
Inputs
(/.f64 1 x)
-1
-1
Outputs
(/.f64 1 x)
-1
-1

eval108.0ms (6.1%)

Compiler

Compiled 390 to 337 computations (13.6% saved)

prune6.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New31233
Fresh000
Picked011
Done000
Total31334
Error
0b
Counts
34 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
64.0b
(neg.f64 (log.f64 -1))
0.9b
(neg.f64 (log.f64 (/.f64 1 x)))
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize4.0ms (0.2%)

Compiler

Compiled 7 to 7 computations (0% saved)

localize9.0ms (0.5%)

Local error

Found 1 expressions with local error:

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

Compiled 15 to 11 computations (26.7% saved)

series127.0ms (7.2%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
99.0ms
x
@0
(log.f64 (/.f64 1 x))
19.0ms
x
@-inf
(log.f64 (/.f64 1 x))
8.0ms
x
@inf
(log.f64 (/.f64 1 x))

rewrite111.0ms (6.3%)

Algorithm
batch-egg-rewrite
Rules
399×pow1_binary64
385×add-sqr-sqrt_binary64
377×*-un-lft-identity_binary64
368×add-log-exp_binary64
368×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify20.0ms (1.1%)

Algorithm
egg-herbie
Rules
103×fma-neg_binary64
48×fma-def_binary64
29×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
14×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0964
11364
22064
33264
45364
511364
622264
734564
841464
945564
1046064
Stop Event
saturated
Counts
50 → 44
Calls
Call 1
Inputs
(*.f64 -1 (log.f64 x))
(*.f64 -1 (log.f64 x))
(*.f64 -1 (log.f64 x))
(*.f64 -1 (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
Outputs
(*.f64 -1 (log.f64 x))
(neg.f64 (log.f64 x))
(*.f64 -1 (log.f64 x))
(neg.f64 (log.f64 x))
(*.f64 -1 (log.f64 x))
(neg.f64 (log.f64 x))
(*.f64 -1 (log.f64 x))
(neg.f64 (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(-.f64 (*.f64 (log.f64 -1) 2) (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(-.f64 (*.f64 (log.f64 -1) 2) (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(-.f64 (*.f64 (log.f64 -1) 2) (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(-.f64 (*.f64 (log.f64 -1) 2) (log.f64 x))

eval14.0ms (0.8%)

Compiler

Compiled 391 to 232 computations (40.7% saved)

prune7.0ms (0.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New43144
Fresh000
Picked011
Done022
Total43447
Error
0b
Counts
47 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
64.0b
(neg.f64 (log.f64 -1))
0.9b
(neg.f64 (log.f64 (/.f64 1 x)))
0.9b
(neg.f64 (neg.f64 (log.f64 x)))
Compiler

Compiled 23 to 20 computations (13% saved)

localize6.0ms (0.3%)

Compiler

Compiled 11 to 4 computations (63.6% 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
0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
64.0b
(neg.f64 (log.f64 -1))
0.9b
(neg.f64 (log.f64 (/.f64 1 x)))
0.9b
(neg.f64 (neg.f64 (log.f64 x)))
Compiler

Compiled 23 to 20 computations (13% saved)

regimes86.0ms (4.9%)

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

5 calls:

37.0ms
(/.f64 1 x)
28.0ms
x
7.0ms
(-.f64 (/.f64 1 x) 1)
7.0ms
(log.f64 (-.f64 (/.f64 1 x) 1))
6.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Results
ErrorSegmentsBranch
0b1x
0b1(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0b1(log.f64 (-.f64 (/.f64 1 x) 1))
0b1(-.f64 (/.f64 1 x) 1)
0b1(/.f64 1 x)
Compiler

Compiled 47 to 39 computations (17% saved)

regimes19.0ms (1.1%)

Accuracy

Total -63.1b remaining (-6863.7%)

Threshold costs -63.1b (-6863.7%)

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

3 calls:

6.0ms
(/.f64 1 x)
6.0ms
(/.f64 1 x)
5.0ms
x
Results
ErrorSegmentsBranch
0.9b1x
0.9b1(/.f64 1 x)
0.9b1(/.f64 1 x)
Compiler

Compiled 23 to 18 computations (21.7% saved)

simplify34.0ms (1.9%)

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
01319
12519
23919
34619
Stop Event
done
saturated
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (neg.f64 (log.f64 x)))
(neg.f64 (log.f64 -1))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(neg.f64 (neg.f64 (log.f64 x)))
(log.f64 x)
(neg.f64 (log.f64 -1))
Compiler

Compiled 15 to 13 computations (13.3% saved)

soundness0.0ms (0%)

end45.0ms (2.6%)

Compiler

Compiled 13 to 11 computations (15.4% saved)

Profiling

Loading profile data...