neg log

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
0%0%50%0%0%50%0%3
33.3%12.5%25%0%0%62.5%0%4
60%18.7%12.5%0%0%68.7%0%5
77.8%21.9%6.2%0%0%71.8%0%6
88.2%23.4%3.1%0%0%73.4%0%7
93.9%24.2%1.6%0%0%74.2%0%8
96.9%24.6%0.8%0%0%74.6%0%9
98.4%24.8%0.4%0%0%74.8%0%10
99.2%24.9%0.2%0%0%74.9%0%11
99.6%24.9%0.1%0%0%74.9%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.2s (57%)

Results
1.2s8256×body256valid
1.0ms17×body256invalid
Bogosity

preprocess84.0ms (3.9%)

Algorithm
egg-herbie
Rules
22×sub-neg
16×+-commutative
12×fma-def
*-commutative
associate--r+
Problems
256×No Errors
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01467
12663
23663
34163
45463
56463
67363
Stop Event
saturated
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (-.f64 (/.f64 1 (neg.f64 x)) 1)))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(neg.f64 (log.f64 (-.f64 (/.f64 1 (neg.f64 x)) 1)))
(neg.f64 (log.f64 (+.f64 (/.f64 1 (neg.f64 x)) -1)))
(neg.f64 (log.f64 (+.f64 (/.f64 -1 x) -1)))
Compiler

Compiled 33 to 27 computations (18.2% saved)

eval1.0ms (0.1%)

Compiler

Compiled 8 to 7 computations (12.5% saved)

prune3.0ms (0.2%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize139.0ms (6.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(-.f64 (/.f64 1 x) 1)
Compiler

Compiled 25 to 20 computations (20% saved)

series2.0ms (0.1%)

Counts
1 → 3
Calls

3 calls:

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

rewrite154.0ms (7.1%)

Algorithm
batch-egg-rewrite
Rules
1228×pow1
1144×add-exp-log
1142×log1p-expm1-u
1142×expm1-log1p-u
1122×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112913
2165113
Stop Event
node limit
Counts
1 → 31
Calls
Call 1
Inputs
(-.f64 (/.f64 1 x) 1)
Outputs
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(*.f64 1 (+.f64 (/.f64 1 x) -1))
(*.f64 (+.f64 (/.f64 1 x) -1) 1)
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)) (cbrt.f64 (+.f64 (/.f64 1 x) -1)))
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) (sqrt.f64 (+.f64 (/.f64 1 x) -1)))
(*.f64 (+.f64 (pow.f64 x -3) -1) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(*.f64 (+.f64 (pow.f64 x -2) -1) (/.f64 1 (+.f64 1 (/.f64 1 x))))
(*.f64 (+.f64 (pow.f64 x -1/2) 1) (-.f64 (pow.f64 x -1/2) 1))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))) (+.f64 (pow.f64 x -3) -1)))
(/.f64 1 (/.f64 (+.f64 1 (/.f64 1 x)) (+.f64 (pow.f64 x -2) -1)))
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))))
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (-.f64 1 (*.f64 (/.f64 1 x) -1))))
(/.f64 (+.f64 (pow.f64 x -2) -1) (+.f64 1 (/.f64 1 x)))
(/.f64 (+.f64 (pow.f64 x -2) -1) (-.f64 (/.f64 1 x) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 x -3) -1)) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x -2) -1)) (neg.f64 (+.f64 1 (/.f64 1 x))))
(pow.f64 (+.f64 (/.f64 1 x) -1) 1)
(pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 3)
(pow.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3) 1/3)
(pow.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) 2)
(sqrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2))
(log.f64 (exp.f64 (+.f64 (/.f64 1 x) -1)))
(cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3))
(expm1.f64 (neg.f64 (log.f64 x)))
(exp.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) -1)))
(fma.f64 1 (/.f64 1 x) -1)
(fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) -1)
(fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)

simplify158.0ms (7.3%)

Algorithm
egg-herbie
Rules
1592×fma-def
1090×associate-/r*
608×associate-*r*
552×associate-*l*
526×div-sub
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
079608
1174578
2553576
33433576
Stop Event
node limit
Counts
34 → 38
Calls
Call 1
Inputs
(/.f64 1 x)
-1
-1
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(*.f64 1 (+.f64 (/.f64 1 x) -1))
(*.f64 (+.f64 (/.f64 1 x) -1) 1)
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)) (cbrt.f64 (+.f64 (/.f64 1 x) -1)))
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) (sqrt.f64 (+.f64 (/.f64 1 x) -1)))
(*.f64 (+.f64 (pow.f64 x -3) -1) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(*.f64 (+.f64 (pow.f64 x -2) -1) (/.f64 1 (+.f64 1 (/.f64 1 x))))
(*.f64 (+.f64 (pow.f64 x -1/2) 1) (-.f64 (pow.f64 x -1/2) 1))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))) (+.f64 (pow.f64 x -3) -1)))
(/.f64 1 (/.f64 (+.f64 1 (/.f64 1 x)) (+.f64 (pow.f64 x -2) -1)))
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))))
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (-.f64 1 (*.f64 (/.f64 1 x) -1))))
(/.f64 (+.f64 (pow.f64 x -2) -1) (+.f64 1 (/.f64 1 x)))
(/.f64 (+.f64 (pow.f64 x -2) -1) (-.f64 (/.f64 1 x) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 x -3) -1)) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x -2) -1)) (neg.f64 (+.f64 1 (/.f64 1 x))))
(pow.f64 (+.f64 (/.f64 1 x) -1) 1)
(pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 3)
(pow.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3) 1/3)
(pow.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) 2)
(sqrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2))
(log.f64 (exp.f64 (+.f64 (/.f64 1 x) -1)))
(cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3))
(expm1.f64 (neg.f64 (log.f64 x)))
(exp.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) -1)))
(fma.f64 1 (/.f64 1 x) -1)
(fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) -1)
(fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)
Outputs
(/.f64 1 x)
-1
-1
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(+.f64 (/.f64 1 x) -1)
(*.f64 1 (+.f64 (/.f64 1 x) -1))
(+.f64 (/.f64 1 x) -1)
(*.f64 (+.f64 (/.f64 1 x) -1) 1)
(+.f64 (/.f64 1 x) -1)
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)))
(+.f64 (/.f64 1 x) -1)
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2)) (cbrt.f64 (+.f64 (/.f64 1 x) -1)))
(+.f64 (/.f64 1 x) -1)
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) (sqrt.f64 (+.f64 (/.f64 1 x) -1)))
(+.f64 (/.f64 1 x) -1)
(*.f64 (+.f64 (pow.f64 x -3) -1) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(*.f64 (+.f64 -1 (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (/.f64 1 x) (-.f64 -1 (pow.f64 x -2))))
(/.f64 (-.f64 1 (pow.f64 x -3)) (+.f64 -1 (-.f64 (/.f64 -1 x) (pow.f64 x -2))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (pow.f64 x -2) (+.f64 -1 (/.f64 -1 x))))
(*.f64 (+.f64 (pow.f64 x -2) -1) (/.f64 1 (+.f64 1 (/.f64 1 x))))
(+.f64 (/.f64 1 x) -1)
(*.f64 (+.f64 (pow.f64 x -1/2) 1) (-.f64 (pow.f64 x -1/2) 1))
(+.f64 (/.f64 1 x) -1)
(/.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))) (+.f64 (pow.f64 x -3) -1)))
(*.f64 (+.f64 -1 (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (/.f64 1 x) (-.f64 -1 (pow.f64 x -2))))
(/.f64 (-.f64 1 (pow.f64 x -3)) (+.f64 -1 (-.f64 (/.f64 -1 x) (pow.f64 x -2))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (pow.f64 x -2) (+.f64 -1 (/.f64 -1 x))))
(/.f64 1 (/.f64 (+.f64 1 (/.f64 1 x)) (+.f64 (pow.f64 x -2) -1)))
(+.f64 (/.f64 1 x) -1)
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))))
(*.f64 (+.f64 -1 (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (/.f64 1 x) (-.f64 -1 (pow.f64 x -2))))
(/.f64 (-.f64 1 (pow.f64 x -3)) (+.f64 -1 (-.f64 (/.f64 -1 x) (pow.f64 x -2))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (pow.f64 x -2) (+.f64 -1 (/.f64 -1 x))))
(/.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (-.f64 1 (*.f64 (/.f64 1 x) -1))))
(*.f64 (+.f64 -1 (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (/.f64 1 x) (-.f64 -1 (pow.f64 x -2))))
(/.f64 (-.f64 1 (pow.f64 x -3)) (+.f64 -1 (-.f64 (/.f64 -1 x) (pow.f64 x -2))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (pow.f64 x -2) (+.f64 -1 (/.f64 -1 x))))
(/.f64 (+.f64 (pow.f64 x -2) -1) (+.f64 1 (/.f64 1 x)))
(+.f64 (/.f64 1 x) -1)
(/.f64 (+.f64 (pow.f64 x -2) -1) (-.f64 (/.f64 1 x) -1))
(+.f64 (/.f64 1 x) -1)
(/.f64 (neg.f64 (+.f64 (pow.f64 x -3) -1)) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(*.f64 (+.f64 -1 (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (/.f64 1 x) (-.f64 -1 (pow.f64 x -2))))
(/.f64 (-.f64 1 (pow.f64 x -3)) (+.f64 -1 (-.f64 (/.f64 -1 x) (pow.f64 x -2))))
(/.f64 (+.f64 -1 (pow.f64 x -3)) (-.f64 (pow.f64 x -2) (+.f64 -1 (/.f64 -1 x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x -2) -1)) (neg.f64 (+.f64 1 (/.f64 1 x))))
(+.f64 (/.f64 1 x) -1)
(pow.f64 (+.f64 (/.f64 1 x) -1) 1)
(+.f64 (/.f64 1 x) -1)
(pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 3)
(+.f64 (/.f64 1 x) -1)
(pow.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3) 1/3)
(+.f64 (/.f64 1 x) -1)
(pow.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) 2)
(+.f64 (/.f64 1 x) -1)
(sqrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2))
(+.f64 (/.f64 1 x) -1)
(log.f64 (exp.f64 (+.f64 (/.f64 1 x) -1)))
(+.f64 (/.f64 1 x) -1)
(cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3))
(+.f64 (/.f64 1 x) -1)
(expm1.f64 (neg.f64 (log.f64 x)))
(exp.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))
(+.f64 (/.f64 1 x) -1)
(log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) -1)))
(+.f64 (/.f64 1 x) -1)
(fma.f64 1 (/.f64 1 x) -1)
(+.f64 (/.f64 1 x) -1)
(fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) -1)
(+.f64 -1 (/.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 x)))
(fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)
(+.f64 (/.f64 1 x) -1)

eval21.0ms (1%)

Compiler

Compiled 471 to 403 computations (14.4% saved)

prune45.0ms (2.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New36238
Fresh000
Picked011
Done000
Total36339
Accuracy
100.0%
Counts
39 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(neg.f64 (log.f64 (/.f64 1 x)))
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0.0%
(neg.f64 (log.f64 -1))
99.1%
(neg.f64 (log.f64 (/.f64 1 x)))
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0.0%
(neg.f64 (log.f64 -1))
Compiler

Compiled 36 to 32 computations (11.1% saved)

localize187.0ms (8.6%)

Compiler

Compiled 22 to 18 computations (18.2% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune4.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done011
Total033
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(neg.f64 (log.f64 (/.f64 1 x)))
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0.0%
(neg.f64 (log.f64 -1))
Compiler

Compiled 34 to 30 computations (11.8% saved)

regimes41.0ms (1.9%)

Counts
3 → 1
Calls
Call 1
Inputs
(neg.f64 (log.f64 -1))
(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:

12.0ms
(-.f64 (/.f64 1 x) 1)
8.0ms
(log.f64 (-.f64 (/.f64 1 x) 1))
7.0ms
(/.f64 1 x)
6.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
6.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
100.0%1(log.f64 (-.f64 (/.f64 1 x) 1))
100.0%1(-.f64 (/.f64 1 x) 1)
100.0%1(/.f64 1 x)
Compiler

Compiled 43 to 36 computations (16.3% saved)

regimes14.0ms (0.6%)

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

2 calls:

7.0ms
(/.f64 1 x)
6.0ms
x
Results
AccuracySegmentsBranch
99.1%1x
99.1%1(/.f64 1 x)
Compiler

Compiled 15 to 12 computations (20% saved)

regimes6.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

1 calls:

5.0ms
x
Results
AccuracySegmentsBranch
0.0%1x
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify9.0ms (0.4%)

Algorithm
egg-herbie
Rules
10×sub-neg
10×+-commutative
neg-mul-1
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01445
12445
23345
34145
Stop Event
done
saturated
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
(neg.f64 (log.f64 (/.f64 1 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 (log.f64 (/.f64 1 x)))
(neg.f64 (log.f64 -1))
Compiler

Compiled 18 to 16 computations (11.1% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess56.0ms (2.6%)

Compiler

Compiled 48 to 42 computations (12.5% saved)

Profiling

Loading profile data...