ln(1 + x)

Time bar (total: 2.0s)

analyze2.0ms (0.1%)

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
33.3%25%50%0%0%25%0%3
66.7%50%25%0%0%25%0%4
83.3%62.5%12.5%0%0%25%0%5
91.7%68.7%6.2%0%0%25%0%6
95.8%71.8%3.1%0%0%25%0%7
97.9%73.4%1.6%0%0%25%0%8
99%74.2%0.8%0%0%25%0%9
99.5%74.6%0.4%0%0%25%0%10
99.7%74.8%0.2%0%0%25%0%11
99.9%74.9%0.1%0%0%25%0%12
Compiler

Compiled 6 to 5 computations (16.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
ival-add: 0.0ms (0% of total)
ival-log: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample1.8s (88.2%)

Results
887.0ms4027×1valid
127.0ms2916×0valid
495.0ms1313×2valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 1.2s
ival-log: 863.0ms (72.8% of total)
ival-add: 176.0ms (14.8% of total)
backward-pass: 128.0ms (10.8% of total)
const: 20.0ms (1.7% of total)
Bogosity

preprocess40.0ms (2%)

Algorithm
egg-herbie
Rules
10×sub-neg
fma-define
+-commutative
associate-+l-
associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12844
23744
34644
46044
57444
69144
79544
Stop Event
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 #s(literal 1 binary64) x))
(log.f64 (+.f64 #s(literal 1 binary64) x))
(log.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)))
(neg.f64 (log.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))))
Outputs
(log.f64 (+.f64 #s(literal 1 binary64) x))
(log1p.f64 x)
(log.f64 (+.f64 #s(literal 1 binary64) x))
(log1p.f64 x)
(log.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)))
(log1p.f64 (neg.f64 x))
(neg.f64 (log.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))))
(neg.f64 (log1p.f64 (neg.f64 x)))

explain135.0ms (6.8%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1810-0-(log.f64 (+.f64 #s(literal 1 binary64) x))
00-0-x
00-0-#s(literal 1 binary64)
00-0-(+.f64 #s(literal 1 binary64) x)
Results
57.0ms244×1valid
12.0ms160×0valid
40.0ms108×2valid
Compiler

Compiled 27 to 20 computations (25.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 80.0ms
ival-log: 51.0ms (63.6% of total)
ival-add: 13.0ms (16.2% of total)
backward-pass: 13.0ms (16.2% of total)
const: 2.0ms (2.5% of total)

eval0.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

localize12.0ms (0.6%)

Results
8.0ms256×0valid
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-log1p: 3.0ms (84.7% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
Compiler

Compiled 10 to 7 computations (30% saved)

regimes3.0ms (0.1%)

Accuracy

Total -42.0b remaining (-∞%)

Threshold costs -42b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(log1p.f64 x)
(log.f64 (+.f64 #s(literal 1 binary64) x))
Outputs
(log1p.f64 x)
Calls

3 calls:

1.0ms
x
1.0ms
(+.f64 #s(literal 1 binary64) x)
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(log.f64 (+.f64 #s(literal 1 binary64) x))
100.0%1(+.f64 #s(literal 1 binary64) x)
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
Stop Event
saturated
Calls
Call 1
Inputs
(log1p.f64 x)
Outputs
(log1p.f64 x)

soundness12.0ms (0.6%)

Rules
10×sub-neg
fma-define
+-commutative
associate-+l-
associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12844
23744
34644
46044
57444
69144
79544
Stop Event
done
saturated
Compiler

Compiled 10 to 7 computations (30% saved)

preprocess26.0ms (1.3%)

Compiler

Compiled 56 to 42 computations (25% saved)

end0.0ms (0%)

Profiling

Loading profile data...