# Library status
Each routine, at each level. *pass*: checked and agrees; *open*: the prover could not finish every obligation (nothing is wrong, nothing is proved); *skipped*: the tool is not available here, or it declines the construct; *unverified*: no stored answer for this exact text yet.
## Sequence alignment (`align`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `align.AffineGapPenalty` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `align.LinearGapPenalty` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `align.MatchScore` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `align.NeedlemanWunschScore` | pass | pass | pass | pass | python/plain: cpython pass
python/two-rows: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | · |
## Molecular simulation (`md`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `md.LennardJones` | pass | pass | pass | pass | python/multiply: cpython pass
python/powers: cpython pass
c/multiply: cc -O0 pass, cc -O2 pass
mojo/multiply: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `md.LennardJonesForce` | pass | pass | pass | pass | python/multiply: cpython pass
mojo/multiply: interpreter pass, compiler pass, godbolt pass | · |
| `md.MinimumImage` | pass | pass | pass | pass | python/plain: cpython pass
c/plain: cc -O0 pass, cc -O2 pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `md.PairDistance` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | · |
## Numerics (`numerics`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `numerics.KahanSum` | pass | pass | pass | pass | python/plain: cpython pass
c/plain: cc -O0 pass, cc -O2 pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `numerics.LinearInterp` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | · |
| `numerics.Trapezoid` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | · |
## Sequences (`seq`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `seq.GCContent` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `seq.HammingDistance` | pass | pass | pass | pass | python/plain: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | dafny pass |
## Special functions (`special`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `special.ErfApprox` | pass | open | pass | pass | python/plain: cpython pass
python/libm: cpython pass
mojo/plain: interpreter skipped, compiler pass, godbolt pass | · |
## Statistics (`stats`)
| Routine | Cases | Prover | Fuzz | Generated Mojo | References | Proof |
| --- | --- | --- | --- | --- | --- | --- |
| `stats.Mean` | pass | pass | pass | pass | python/plain: cpython pass
python/fsum: cpython pass
c/plain: cc -O0 pass, cc -O2 pass
mojo/plain: interpreter pass, compiler pass, godbolt pass
mojo/unrolled: interpreter pass, compiler pass, godbolt pass | dafny pass |
| `stats.Variance` | pass | pass | pass | pass | python/plain: cpython pass
python/statistics: cpython pass
mojo/plain: interpreter pass, compiler pass, godbolt pass | · |
## Details
### align.AffineGapPenalty
- structure: pass. defines FUNCTION AffineGapPenalty
- pseudo: pass. 3 case(s) run
- prover: pass. all 1 obligation(s) proved
- fuzz: pass. no failure in 201 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 3 verified, 0 errors
### align.LinearGapPenalty
- structure: pass. defines FUNCTION LinearGapPenalty
- pseudo: pass. 3 case(s) run
- prover: pass. all 1 obligation(s) proved
- fuzz: pass. no failure in 123 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 2 verified, 0 errors
### align.MatchScore
- structure: pass. defines FUNCTION MatchScore
- pseudo: pass. 3 case(s) run
- prover: pass. all 2 obligation(s) proved
- fuzz: pass. no failure in 285 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 1 verified, 0 errors
### align.NeedlemanWunschScore
- structure: pass. defines FUNCTION NeedlemanWunschScore, using align.MatchScore, align.LinearGapPenalty
- pseudo: pass. 4 case(s) run
- prover: pass. all 11 obligation(s) proved
- fuzz: pass. no failure in 300 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 4 case(s) (exactly)
- python/two-rows, cpython: pass. agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 4 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 4 case(s) (exactly)
### md.LennardJones
- structure: pass. defines FUNCTION LennardJones
- pseudo: pass. 4 case(s) run
- prover: pass. all 2 obligation(s) proved
- fuzz: pass. no failure in 252 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/multiply, cpython: pass. agrees with the pseudo on 4 case(s) (exactly)
- python/powers, cpython: pass. agrees with the pseudo on 4 case(s) (within rel 1e-12, abs 0)
- c/multiply, cc -O0: pass. agrees with the pseudo on 4 case(s) (exactly)
- c/multiply, cc -O2: pass. agrees with the pseudo on 4 case(s) (exactly)
- mojo/multiply, interpreter: pass. agrees with the pseudo on 4 case(s) in core's interpreter (exactly)
- mojo/multiply, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 4 case(s) (exactly)
- mojo/multiply, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 4 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 14 verified, 0 errors
### md.LennardJonesForce
- structure: pass. defines FUNCTION LennardJonesForce
- pseudo: pass. 3 case(s) run
- prover: pass. all 3 obligation(s) proved
- fuzz: pass. no failure in 252 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/multiply, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/multiply, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/multiply, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/multiply, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
### md.MinimumImage
- structure: pass. defines FUNCTION MinimumImage
- pseudo: pass. 6 case(s) run
- prover: pass. all 1 obligation(s) proved
- fuzz: pass. no failure in 241 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 6 case(s) (exactly)
- c/plain, cc -O0: pass. agrees with the pseudo on 6 case(s) (exactly)
- c/plain, cc -O2: pass. agrees with the pseudo on 6 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 6 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 6 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 6 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 4 verified, 0 errors
### md.PairDistance
- structure: pass. defines FUNCTION PairDistance, using md.MinimumImage
- pseudo: pass. 3 case(s) run
- prover: pass. all 9 obligation(s) proved
- fuzz: pass. no failure in 4 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints the pseudo's results to within 1.6e-16 of each value (the compiler's rounding and std.math), and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (within rel 1e-15, abs 0)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (within rel 1e-15, abs 0)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (within rel 1e-15, abs 0)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (within rel 1e-15, abs 0)
### numerics.KahanSum
- structure: pass. defines FUNCTION KahanSum
- pseudo: pass. 4 case(s) run
- prover: pass. all 1 obligation(s) proved
- fuzz: pass. no failure in 263 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 4 case(s) (exactly)
- c/plain, cc -O0: pass. agrees with the pseudo on 4 case(s) (exactly)
- c/plain, cc -O2: pass. agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 4 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 4 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 2 verified, 0 errors
### numerics.LinearInterp
- structure: pass. defines FUNCTION LinearInterp
- pseudo: pass. 3 case(s) run
- prover: pass. all 1 obligation(s) proved
- fuzz: pass. no failure in 300 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
### numerics.Trapezoid
- structure: pass. defines FUNCTION Trapezoid
- pseudo: pass. 3 case(s) run
- prover: pass. all 4 obligation(s) proved
- fuzz: pass. no failure in 227 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
### seq.GCContent
- structure: pass. defines FUNCTION GCContent
- pseudo: pass. 4 case(s) run
- prover: pass. all 3 obligation(s) proved
- fuzz: pass. no failure in 469 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 4 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 4 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 4 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 5 verified, 0 errors
### seq.HammingDistance
- structure: pass. defines FUNCTION HammingDistance
- pseudo: pass. 3 case(s) run
- prover: pass. all 5 obligation(s) proved
- fuzz: pass. no failure in 291 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)
- proof: pass. Dafny 4.11.0: 5 verified, 0 errors
### special.ErfApprox
- structure: pass. defines FUNCTION ErfApprox
- pseudo: pass. 7 case(s) run
- prover: open. 0 of 1 obligation(s) proved; open: divide@15 (1.0 + 0.3275911 * A is not 0)
- fuzz: pass. no failure in 269 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints the pseudo's results to within 5.3e-14 of each value (the compiler's rounding and std.math) (core's interpreter declines exp(...), which Mojo computes with a routine of its own that Programming+ does not reproduce digit for digit)
- python/plain, cpython: pass. agrees with the pseudo on 7 case(s) (exactly)
- python/libm, cpython: pass. agrees with the pseudo on 7 case(s) (within rel 0, abs 1.5e-7)
- mojo/plain, interpreter: skipped. core's Mojo interpreter declines exp(...), which Mojo computes with a routine of its own that Programming+ does not reproduce digit for digit
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 7 case(s) (within rel 0, abs 2e-13)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 7 case(s) (within rel 0, abs 2e-13)
### stats.Mean
- structure: pass. defines FUNCTION Mean
- pseudo: pass. 5 case(s) run
- prover: pass. all 2 obligation(s) proved
- fuzz: pass. no failure in 262 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 5 case(s) (exactly)
- python/fsum, cpython: pass. agrees with the pseudo on 5 case(s) (within rel 1e-15, abs 0)
- c/plain, cc -O0: pass. agrees with the pseudo on 5 case(s) (exactly)
- c/plain, cc -O2: pass. agrees with the pseudo on 5 case(s) (exactly)
- mojo/plain, interpreter: pass. agrees with the pseudo on 5 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 5 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 5 case(s) (exactly)
- mojo/unrolled, interpreter: pass. agrees with the pseudo on 5 case(s) in core's interpreter (within rel 1e-15, abs 0)
- mojo/unrolled, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 5 case(s) (within rel 1e-15, abs 0)
- mojo/unrolled, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 5 case(s) (within rel 1e-15, abs 0)
- proof: pass. Dafny 4.11.0: 9 verified, 0 errors
### stats.Variance
- structure: pass. defines FUNCTION Variance, using stats.Mean
- pseudo: pass. 3 case(s) run
- prover: pass. all 4 obligation(s) proved
- fuzz: pass. no failure in 221 generated input(s)
- mojo: pass. built by Mojo 1.2.0, the generated Mojo prints what the pseudo prints on every case, and in core's interpreter
- python/plain, cpython: pass. agrees with the pseudo on 3 case(s) (exactly)
- python/statistics, cpython: pass. agrees with the pseudo on 3 case(s) (within rel 1e-12, abs 0)
- mojo/plain, interpreter: pass. agrees with the pseudo on 3 case(s) in core's interpreter (exactly)
- mojo/plain, compiler: pass. built by Mojo 1.2.0, agrees with the pseudo on 3 case(s) (exactly)
- mojo/plain, godbolt: pass. mojo_1_2_0 agrees with the pseudo on 3 case(s) (exactly)