ln(1 + x)

Time bar (total: 3.9s)

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)

sample3.3s (83.1%)

Results
159.0ms3596×0valid
463.0ms2322×1valid
979.0ms1649×5exit
612.0ms1493×2valid
97.0ms286×4valid
451.0ms284×5valid
96.0ms275×3valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 2.4s
ival-log: 1.5s (65.1% of total)
ival-add: 607.0ms (25.8% of total)
backward-pass: 183.0ms (7.8% of total)
const: 32.0ms (1.4% of total)
Bogosity

preprocess51.0ms (1.3%)

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

explain548.0ms (14%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1510-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
13.0ms222×0valid
28.0ms144×1valid
42.0ms100×2valid
9.0ms18×5valid
6.0ms14×4valid
4.0ms14×3valid
Compiler

Compiled 27 to 20 computations (25.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 71.0ms
ival-log: 46.0ms (65.1% of total)
ival-add: 12.0ms (17% of total)
backward-pass: 11.0ms (15.6% of total)
const: 2.0ms (2.8% 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)

localize13.0ms (0.3%)

Results
10.0ms256×0valid
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-log1p: 4.0ms (92% 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%)

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 -35.0b remaining (-∞%)

Threshold costs -35b (-∞%)

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)

soundness11.0ms (0.3%)

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)

preprocess29.0ms (0.7%)

Compiler

Compiled 56 to 42 computations (25% saved)

end0.0ms (0%)

Profiling

Loading profile data...