ln(1 + x)

Time bar (total: 2.1s)

analyze7.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
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: 5.0ms
ival-add: 5.0ms (96.1% of total)
ival-log: 1.0ms (19.2% of total)
const: 0.0ms (0% of total)

sample1.7s (81.3%)

Results
1.3s5243×1valid
205.0ms3013×0valid
Precisions
Click to see histograms. Total time spent on operations: 912.0ms
ival-log: 675.0ms (74% of total)
ival-add: 118.0ms (12.9% of total)
backward-pass: 100.0ms (11% of total)
const: 19.0ms (2.1% of total)
Bogosity

preprocess39.0ms (1.9%)

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

explain155.0ms (7.4%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1730-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
20.0ms230×256valid
68.0ms162×1024valid
18.0ms88×512valid
17.0ms32×2048valid
Compiler

Compiled 27 to 20 computations (25.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 84.0ms
ival-log: 68.0ms (81.3% of total)
ival-add: 13.0ms (15.5% of total)
const: 2.0ms (2.4% 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)

localize139.0ms (6.7%)

Results
14.0ms115×256valid
29.0ms81×1024valid
13.0ms44×512valid
8.0ms16×2048valid
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 82.0ms
composed: 42.0ms (51.3% of total)
ival-log: 36.0ms (44% of total)
ival-add: 3.0ms (3.7% of total)
const: 1.0ms (1.2% 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.2%)

Accuracy

Total -39.1b remaining (-∞%)

Threshold costs -39.1b (-∞%)

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)

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

soundness11.0ms (0.5%)

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)

preprocess32.0ms (1.5%)

Compiler

Compiled 56 to 42 computations (25% saved)

end0.0ms (0%)

Profiling

Loading profile data...