Numeric.Log:$clog1p from log-domain-0.10.2.1, A

Time bar (total: 1.5s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample853.0ms (55.9%)

Results
480.0ms4620×body256valid
360.0ms3636×body256infinite
Bogosity

preprocess104.0ms (6.8%)

Algorithm
egg-herbie
Rules
1866×fma-def
384×fma-neg
204×sub-neg
182×unsub-neg
134×distribute-rgt-in
Problems
256×No Errors
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022131
164107
2190105
3528105
41256105
52038105
62449105
72485105
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 (neg.f64 x) 2) (*.f64 (neg.f64 x) (neg.f64 x))) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 (neg.f64 y) (neg.f64 y)))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(fma.f64 x (+.f64 x 2) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(fma.f64 x (+.f64 x 2) (*.f64 y y))
(+.f64 (+.f64 (*.f64 (neg.f64 x) 2) (*.f64 (neg.f64 x) (neg.f64 x))) (*.f64 y y))
(+.f64 (*.f64 y y) (fma.f64 (neg.f64 x) 2 (*.f64 x x)))
(fma.f64 y y (fma.f64 x x (*.f64 x -2)))
(fma.f64 y y (*.f64 x (+.f64 x -2)))
(fma.f64 x (+.f64 x -2) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 (neg.f64 y) (neg.f64 y)))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(fma.f64 x (+.f64 x 2) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y (+.f64 2 y)))
(fma.f64 x x (*.f64 y (+.f64 2 y)))
(fma.f64 y (+.f64 2 y) (*.f64 x x))
Symmetry

(abs y)

Compiler

Compiled 46 to 23 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 19 to 10 computations (47.4% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
100.0%
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
Compiler

Compiled 22 to 14 computations (36.4% saved)

localize35.0ms (2.3%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 x (+.f64 2 x))
Compiler

Compiled 26 to 14 computations (46.2% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite56.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
1398×pow1
1306×add-exp-log
1304×log1p-expm1-u
1304×expm1-log1p-u
1286×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113413
2174313
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(*.f64 x (+.f64 2 x))
Outputs
(+.f64 (*.f64 x x) (*.f64 x 2))
(+.f64 (*.f64 x 2) (*.f64 x x))
(+.f64 (*.f64 (*.f64 x 2) 1) (*.f64 (*.f64 x x) 1))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x 2) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x 2) (*.f64 x x)))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 x (-.f64 4 (*.f64 x x))) (-.f64 2 x))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 (-.f64 4 (*.f64 x x)) x) (-.f64 2 x))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x 2 (*.f64 x x))
(fma.f64 2 x (*.f64 x x))

simplify53.0ms (3.5%)

Algorithm
egg-herbie
Rules
1148×associate-*r/
766×associate-*l/
698×times-frac
552×fma-def
540×associate-+r+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
073556
1213516
2786508
33545508
Stop Event
node limit
Counts
34 → 32
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 x 2))
(+.f64 (*.f64 x 2) (*.f64 x x))
(+.f64 (*.f64 (*.f64 x 2) 1) (*.f64 (*.f64 x x) 1))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x 2) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x 2) (*.f64 x x)))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 x (-.f64 4 (*.f64 x x))) (-.f64 2 x))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 (-.f64 4 (*.f64 x x)) x) (-.f64 2 x))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x 2 (*.f64 x x))
(fma.f64 2 x (*.f64 x x))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x 2) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 (*.f64 x 2) 1) (*.f64 (*.f64 x x) 1))
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (pow.f64 (*.f64 x 2) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x x)))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) (*.f64 2 x)))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (*.f64 (*.f64 x x) (fma.f64 x (+.f64 x -2) 4)))
(/.f64 (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x 2) (*.f64 x x)))
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (+.f64 4 (*.f64 x (+.f64 x -2))))
(/.f64 (+.f64 (pow.f64 x 4) (*.f64 x 8)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (*.f64 x (-.f64 4 (*.f64 x x))) (-.f64 2 x))
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (+.f64 4 (*.f64 x (-.f64 x 2))))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (+.f64 4 (*.f64 x (+.f64 x -2))))
(/.f64 (+.f64 (pow.f64 x 4) (*.f64 x 8)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (*.f64 (-.f64 4 (*.f64 x x)) x) (-.f64 2 x))
(*.f64 x (+.f64 2 x))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.f64 x (+.f64 2 x))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(*.f64 x (+.f64 2 x))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(fma.f64 x 2 (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))

eval7.0ms (0.5%)

Compiler

Compiled 473 to 248 computations (47.6% saved)

prune7.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New30232
Fresh000
Picked011
Done000
Total30333
Accuracy
100.0%
Counts
33 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
81.1%
(+.f64 (*.f64 x x) (*.f64 y y))
69.0%
(+.f64 (*.f64 2 x) (*.f64 y y))
100.0%
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
81.1%
(+.f64 (*.f64 x x) (*.f64 y y))
69.0%
(+.f64 (*.f64 2 x) (*.f64 y y))
Compiler

Compiled 58 to 36 computations (37.9% saved)

localize37.0ms (2.4%)

Compiler

Compiled 34 to 12 computations (64.7% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

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
100.0%
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
81.1%
(+.f64 (*.f64 x x) (*.f64 y y))
69.0%
(+.f64 (*.f64 2 x) (*.f64 y y))
Compiler

Compiled 65 to 34 computations (47.7% saved)

regimes64.0ms (4.2%)

Counts
4 → 1
Calls
Call 1
Inputs
(+.f64 (*.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
Calls

5 calls:

48.0ms
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
4.0ms
y
4.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
4.0ms
x
3.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
100.0%1(+.f64 (*.f64 x 2) (*.f64 x x))
100.0%1(*.f64 y y)
Compiler

Compiled 69 to 37 computations (46.4% saved)

regimes35.0ms (2.3%)

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

3 calls:

16.0ms
y
10.0ms
x
8.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
99.1%3x
87.4%4y
84.9%2(*.f64 y y)
Compiler

Compiled 27 to 15 computations (44.4% saved)

regimes8.0ms (0.5%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(+.f64 (*.f64 2 x) (*.f64 y y))
Outputs
(+.f64 (*.f64 2 x) (*.f64 y y))
Calls

3 calls:

3.0ms
x
3.0ms
y
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
69.0%1y
69.0%1(*.f64 y y)
69.0%1x
Compiler

Compiled 20 to 13 computations (35% saved)

bsearch37.0ms (2.4%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
17.0ms
5.52512764307029e-8
1658616.773985308
19.0ms
-22.6895152260013
-4.42323295450344e-5
Results
25.0ms224×body256valid
7.0ms80×body256infinite
Compiler

Compiled 398 to 259 computations (34.9% saved)

simplify5.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative
*-commutative
if-if-or-not
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021107
132107
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(if (<=.f64 x -2) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 2) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y))))
(+.f64 (*.f64 2 x) (*.f64 y y))
Outputs
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
(if (<=.f64 x -2) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 2) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y))))
(if (or (<=.f64 x -2) (not (<=.f64 x 2))) (+.f64 (*.f64 y y) (*.f64 x x)) (+.f64 (*.f64 y y) (*.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x 2))
Compiler

Compiled 45 to 28 computations (37.8% saved)

soundness172.0ms (11.3%)

Rules
1866×fma-def
1148×associate-*r/
766×associate-*l/
698×times-frac
552×fma-def
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022131
164107
2190105
3528105
41256105
52038105
62449105
72485105
073556
1213516
2786508
33545508
Stop Event
node limit
saturated
Compiler

Compiled 38 to 20 computations (47.4% saved)

end0.0ms (0%)

preprocess46.0ms (3%)

Remove

(abs y)

Compiler

Compiled 156 to 90 computations (42.3% saved)

Profiling

Loading profile data...