Lean Kernel Arena / nano-lean

Checker "nano-lean"

Language: Rust Rust · Version: v0.3.3 (5c8a523) · 📄 Declaration · 🔗 Source

A parallel Lean 4 kernel written in Rust using hash-consing and de Bruijn indices

Soundness (rightfully rejected tests)

84 ✅ 0 ❌ 0 🚫

Completeness (rightfully accepted tests)

138 ✅ 0 ❌ 1 🚫

Corner cases (no outcome prescribed)

28 ✅ 2 🚫

Test Expected Result ⏱️ 🧠
cedar 👍 👍 10.1 s (÷14) 1.4 GB (+1%)
con-leche 👍 👍 8.45 s (÷13) 1.3 GB (+46%)
cslib 👍 👍 23.0 s (÷22) 2.3 GB (-33%)
init 👍 👍 4.02 s (÷17) 934.3 MB (+56%)
init-prelude 👍 👍 26.7 ms (÷14) 165.1 MB (+51%)
mathlib 👍 👍 64.4 s (÷29) 4.9 GB (÷2.0)
navier-stokes-euler 👍 👍 17.6 s (÷38) 2.1 GB (-17%)
reachability 👍 👍 1.92 s (÷12) 1.4 GB (-17%)
std 👍 👍 6.93 s (÷16) 1.1 GB (+18%)
30 28.5 ms 63.2 MB
closure-level-subst ✋ ✋ 0.519 ms 15.5 MB
constlevels ✋ ✋ 0.599 ms 20.0 MB
ctor-num-fields ✋ ✋ 0.765 ms 28.1 MB
eta-ctor-alias ✋ ✋ 0.550 ms 20.1 MB
k-rec-conv ✋ ✋ 0.592 ms 20.4 MB
large-elim-param ✋ ✋ 0.600 ms 22.0 MB
large-elim-prop-bool ✋ ✋ 0.669 ms 27.9 MB
level-imax-leq ✋ ✋ 0.572 ms 21.9 MB
level-imax-normalization ✋ ✋ 0.576 ms 21.8 MB
loose-bvar-value ✋ ✋ 0.484 ms 13.8 MB
nat-rec-k-lie ✋ ✋ 0.543 ms 21.9 MB
nat-rec-rules ✋ ✋ 0.651 ms 20.0 MB
nested-name-capture ✋ ✋ 0.784 ms 26.3 MB
nested-rec-rule-nfields ✋ ✋ 1.12 ms 32.1 MB
nested-unused-param ✋ ✋ 1.34 ms 36.3 MB
open-term-cache-context ✋ ✋ 0.458 ms 11.7 MB
orphan-rec ✋ ✋ 0.470 ms 15.9 MB
pi-closure-context ✋ ✋ 0.477 ms 11.6 MB
proj-non-structure ✋ ✋ 0.524 ms 17.6 MB
proj-of-imax-prop ✋ ✋ 0.673 ms 25.8 MB
proj-of-stuck-prop ✋ ✋ 2.79 ms 61.8 MB
proj-of-subst-prop ✋ ✋ 2.54 ms 54.0 MB
rec-k-lie ✋ ✋ 0.531 ms 20.0 MB
rec-missing-ih ✋ ✋ 2.93 ms 63.2 MB
rec-of-subst-prop ✋ ✋ 2.69 ms 61.8 MB
rec-rule-proof-irrel ✋ ✋ 0.672 ms 18.1 MB
rec-rule-proof-irrel-nested ✋ ✋ 1.49 ms 30.1 MB
rec-rule-wrong-arg ✋ ✋ 0.693 ms 28.0 MB
rec-type-proof-irrel ✋ ✋ 0.698 ms 26.2 MB
unit-rec-rule ✋ ✋ 0.530 ms 21.8 MB
1 6.81 s 3.5 GB
alg-conv-trans-acc 🤷 ✋ 1.10 ms 32.0 MB
alg-conv-trans-acc-left 🤷 👍 1.07 ms 36.1 MB
alg-conv-trans-acc-right 🤷 👍 1.06 ms 40.2 MB
alg-conv-trans-quot 🤷 ✋ 0.623 ms 19.6 MB
alg-conv-trans-quot-left 🤷 ✋ 0.628 ms 17.6 MB
alg-conv-trans-quot-left-def 🤷 👍 0.645 ms 21.9 MB
alg-conv-trans-quot-right 🤷 👍 0.636 ms 21.9 MB
eta-ctor 🤷 ✋ 0.573 ms 24.1 MB
eta-rec-struct 🤷 ✋ 0.571 ms 19.9 MB
eta-rule-k 🤷 ✋ 0.536 ms 19.7 MB
eta-struct-major-and 🤷 ✋ 0.554 ms 19.5 MB
eta-struct-major-and-no-whnf 🤷 🚫 3.40 s 3.5 GB
eta-struct-major-no-whnf 🤷 🚫 3.40 s 3.5 GB
eta-unit-like-nested 🤷 ✋ 0.629 ms 23.6 MB
eta-unit-like-pi 🤷 ✋ 0.521 ms 15.6 MB
eta-unit-like-proof-field 🤷 ✋ 0.546 ms 22.0 MB
eta-unit-like-struct 🤷 ✋ 0.550 ms 24.0 MB
imax-nested-absorption 🤷 👍 0.459 ms 10.4 MB
imax-right-successor 🤷 👍 0.453 ms 10.3 MB
large-elim-maybe-prop 🤷 ✋ 0.493 ms 15.5 MB
let-value-type-mismatch 🤷 ✋ 0.445 ms 10.3 MB
nested-nonuniform-param 🤷 👍 0.564 ms 21.8 MB
nested-redex-aux 🤷 👍 0.817 ms 30.3 MB
positivity-whnf 🤷 ✋ 0.511 ms 17.8 MB
proj-maybe-prop 🤷 👍 0.561 ms 19.9 MB
proj-maybe-prop-past 🤷 👍 0.565 ms 22.0 MB
proof-param-ok 👍 👍 0.479 ms 13.8 MB
proof-param-swap 🤷 ✋ 0.477 ms 13.6 MB
subject-reduction-redex 🤷 👍 1.06 ms 34.4 MB
subject-reduction-reduct 🤷 ✋ 1.07 ms 30.2 MB
vanishing-occurrence 🤷 👍 0.535 ms 13.9 MB
10 5.69 ms 27.9 MB
extra-rec ✋ ✋ 0.470 ms 11.7 MB
inductive-undeclared-universe ✋ ✋ 0.503 ms 12.2 MB
level-index-out-of-order 👍 👍 0.441 ms 8.1 MB
nat-lit-add 👍 👍 0.710 ms 26.1 MB
nat-lit-add-bad ✋ ✋ 0.693 ms 22.1 MB
nat-lit-ble 👍 👍 0.709 ms 24.0 MB
nat-lit-sub 👍 👍 0.742 ms 27.9 MB
orphan-ctor ✋ ✋ 0.471 ms 15.7 MB
proj-of-prop ✋ ✋ 0.515 ms 15.7 MB
sparse-name-index 👍 👍 0.441 ms 8.2 MB
31 12.2 s (÷17) 6.4 GB
app-lam 👍 👍 7.46 ms (÷652) 62.0 MB (÷24)
args-before-unfold 👍 👍 1.46 ms (÷28) 28.0 MB (÷3.6)
beta-ladder 👍 👍 3.79 ms (÷442) 44.5 MB (÷12)
church-numerals 👍 👍 3.66 ms (÷14) 36.4 MB (÷3.1)
discarded-argument 👍 👍 0.607 ms (÷279) 22.0 MB (÷4.6)
discarded-argument-match 👍 👍 0.720 ms (÷203) 23.9 MB (÷4.3)
folded-constant-first 👍 👍 1.86 ms (÷24) 35.6 MB (÷2.9)
folded-constant-last 👍 👍 1.84 ms (÷24) 31.6 MB (÷3.3)
fueled-chain 👍 👍 23.5 ms (÷5.7) 121.4 MB (+9%)
gf3-matrix-product 👍 🚫 7.42 s 6.4 GB
grind-ring-5 👍 👍 214 ms (÷10) 311.4 MB (+19%)
identical-nesting 👍 👍 0.556 ms (÷58) 20.1 MB (÷5.0)
irrelevance-before-evaluation 👍 👍 0.621 ms (÷53) 23.9 MB (÷4.2)
irrelevance-refutes 👍 👍 0.597 ms (÷55) 22.2 MB (÷4.6)
let-fold 👍 👍 3.23 ms (÷19) 67.2 MB (-35%)
let-ladder 👍 👍 3.19 ms (÷316) 51.3 MB (÷6.6)
magma-list-deep-n21 👍 👍 51.1 ms (÷53) 152.3 MB (÷4.6)
magma-list-deep-n36 👍 👍 428 ms (÷82) 457.0 MB (÷17)
magma-list-pair-n21 👍 👍 3.03 s (÷6.1) 2.6 GB (-34%)
magma-list-pair-n7 👍 👍 266 ms (÷6.3) 335.9 MB (-27%)
magma-string-n4 👍 👍 236 ms (÷15) 378.4 MB (×2.4)
magma-string-pair-n9 👍 👍 516 ms (÷16) 559.6 MB (-45%)
proj-cheap-struct 👍 👍 1.11 ms (÷35) 35.5 MB (÷2.9)
proj-lazy-struct 👍 👍 0.939 ms (÷38) 26.1 MB (÷3.9)
proj-stuck-struct 👍 👍 0.851 ms (÷42) 30.4 MB (÷3.3)
prop-struct-projections 👍 👍 10.1 ms (÷10) 127.0 MB (+21%)
refute-cheap-first ✋ ✋ 0.659 ms (÷63) 28.2 MB (÷3.7)
refute-cheap-last ✋ ✋ 2.19 ms (÷82) 26.0 MB (÷3.9)
repeated-subproblem 👍 👍 0.607 ms (÷54) 24.0 MB (÷4.2)
shared-subterm 👍 👍 4.48 ms (÷14) 45.6 MB (÷2.4)
shift-cascade 👍 👍 2.18 ms (÷23) 32.6 MB (÷3.2)
unroll-versus-evaluate 👍 👍 0.776 ms (÷46) 23.9 MB (÷4.2)
141 71.2 ms 27.6 MB
001_basicDef 👍 👍 0.441 ms 8.3 MB
002_badDef ✋ ✋ 0.443 ms 8.2 MB
003_arrowType 👍 👍 0.444 ms 11.6 MB
004_dependentType 👍 👍 0.443 ms 9.7 MB
005_constType 👍 👍 0.446 ms 11.7 MB
006_betaReduction 👍 👍 0.459 ms 11.6 MB
007_betaReduction2 👍 👍 0.459 ms 11.5 MB
008_forallSortWhnf 👍 👍 0.462 ms 12.3 MB
009_forallSortBad ✋ ✋ 0.465 ms 12.2 MB
010_nonTypeType ✋ ✋ 0.457 ms 12.3 MB
011_nonTypeAxiom ✋ ✋ 0.457 ms 12.5 MB
012_nonPropThm ✋ ✋ 0.443 ms 8.2 MB
013_thmProof 👍 👍 0.460 ms 13.7 MB
014_selfProof ✋ ✋ 0.445 ms 9.7 MB
015_levelComp1 👍 👍 0.441 ms 8.4 MB
016_levelComp2 👍 👍 0.442 ms 8.4 MB
017_levelComp3 👍 👍 0.442 ms 8.3 MB
018_levelParams 👍 👍 0.459 ms 11.4 MB
019_tut06_bad01 ✋ ✋ 0.425 ms 8.3 MB
020_levelComp4 👍 👍 0.441 ms 8.2 MB
021_levelComp5 👍 👍 0.441 ms 8.2 MB
022_imax1 👍 👍 0.445 ms 11.6 MB
023_imax2 👍 👍 0.446 ms 11.6 MB
024_levelMaxComm 👍 👍 0.443 ms 10.3 MB
025_levelMaxAssoc 👍 👍 0.445 ms 10.4 MB
026_levelMaxIdem 👍 👍 0.442 ms 8.4 MB
027_levelMaxAbsorb 👍 👍 0.443 ms 10.3 MB
028_inferVar 👍 👍 0.444 ms 11.6 MB
029_defEqLambda 👍 👍 0.454 ms 11.6 MB
030_peano1 👍 👍 0.511 ms 19.6 MB
031_peano2 👍 👍 0.528 ms 17.7 MB
032_peano3 👍 👍 0.539 ms 15.4 MB
033_letType 👍 👍 0.442 ms 9.7 MB
034_letTypeDep 👍 👍 0.475 ms 13.7 MB
035_letRed 👍 👍 0.450 ms 11.6 MB
036_empty 👍 👍 0.467 ms 12.5 MB
037_boolType 👍 👍 0.480 ms 12.3 MB
038_twoBool 👍 👍 0.502 ms 15.7 MB
039_andType 👍 👍 0.489 ms 13.6 MB
040_prodType 👍 👍 0.494 ms 13.7 MB
041_pprodType 👍 👍 0.495 ms 15.6 MB
042_pUnitType 👍 👍 0.474 ms 13.6 MB
043_eqType 👍 👍 0.492 ms 15.9 MB
044_natDef 👍 👍 0.486 ms 13.7 MB
045_rbTreeDef 👍 👍 0.590 ms 19.8 MB
046_inductBadNonSort ✋ ✋ 0.461 ms 12.4 MB
047_inductBadNonSort2 ✋ ✋ 0.456 ms 9.7 MB
048_inductLevelParam ✋ ✋ 0.427 ms 8.2 MB
049_inductTooFewParams ✋ ✋ 0.449 ms 11.7 MB
050_inductWrongCtorParams ✋ ✋ 0.472 ms 13.6 MB
051_inductWrongCtorResParams ✋ ✋ 0.471 ms 13.4 MB
052_inductWrongCtorResLevel ✋ ✋ 0.473 ms 15.6 MB
053_inductInIndex ✋ ✋ 0.474 ms 13.7 MB
054_indNeg ✋ ✋ 0.465 ms 13.6 MB
055_reduceCtorParam.mk 👍 👍 0.502 ms 15.6 MB
056_reduceCtorType.mk ✋ ✋ 0.480 ms 13.6 MB
057_indNegReducible ✋ ✋ 0.485 ms 15.7 MB
058_predWithTypeField 👍 👍 0.477 ms 13.7 MB
059_typeWithTypeField 👍 👍 0.479 ms 13.6 MB
060_typeWithTypeFieldPoly 👍 👍 0.480 ms 13.5 MB
061_typeWithTooHighTypeField.mk ✋ ✋ 0.464 ms 12.5 MB
062_emptyRec 👍 👍 0.472 ms 15.8 MB
063_boolRec 👍 👍 0.490 ms 15.6 MB
064_twoBoolRec 👍 👍 0.517 ms 17.5 MB
065_andRec 👍 👍 0.500 ms 15.6 MB
066_prodRec 👍 👍 0.509 ms 15.6 MB
067_pprodRec 👍 👍 0.509 ms 17.6 MB
068_punitRec 👍 👍 0.489 ms 13.5 MB
069_eqRec 👍 👍 0.489 ms 15.9 MB
070_nRec 👍 👍 0.497 ms 13.5 MB
071_rbTreeRef 👍 👍 0.625 ms 23.8 MB
072_boolPropRec 👍 👍 0.488 ms 12.4 MB
073_BogusRecursor ✋ ✋ 0.486 ms 15.5 MB
074_existsRec 👍 👍 0.502 ms 15.8 MB
075_typeSingletonRecReduction 👍 👍 0.560 ms 24.1 MB
076_sortElimPropRec 👍 👍 0.521 ms 19.6 MB
077_sortElimProp2Rec 👍 👍 0.535 ms 19.6 MB
078_boolRecEqns 👍 👍 0.576 ms 23.8 MB
079_prodRecEqns 👍 👍 0.558 ms 19.6 MB
080_nRecReduction 👍 👍 0.594 ms 22.0 MB
081_listRecReduction 👍 👍 0.634 ms 21.7 MB
082_RBTree.id_spec 👍 👍 0.845 ms 27.6 MB
083_And.right 👍 👍 0.508 ms 17.8 MB
084_Prod.snd 👍 👍 0.517 ms 17.7 MB
085_PProd.snd 👍 👍 0.516 ms 17.6 MB
086_PSigma.snd 👍 👍 0.522 ms 17.8 MB
087_projOutOfRange ✋ ✋ 0.498 ms 15.6 MB
088_projNotStruct ✋ ✋ 0.488 ms 13.7 MB
089_projProp1 👍 👍 0.556 ms 17.8 MB
090_projProp2 ✋ ✋ 0.558 ms 18.0 MB
091_projProp3 👍 👍 0.557 ms 17.7 MB
092_projProp4 ✋ ✋ 0.558 ms 19.7 MB
093_projProp5 ✋ ✋ 0.561 ms 17.9 MB
094_projProp6 ✋ ✋ 0.559 ms 19.9 MB
095_projDataIndexRec 👍 👍 0.548 ms 21.6 MB
096_projIndexData ✋ ✋ 0.614 ms 25.9 MB
097_projIndexData2 ✋ ✋ 0.610 ms 23.8 MB
098_projRed 👍 👍 0.576 ms 23.9 MB
099_ruleK 👍 👍 0.534 ms 19.7 MB
100_ruleKbad ✋ ✋ 0.536 ms 19.6 MB
101_ruleKAcc ✋ ✋ 0.598 ms 22.5 MB
102_aNatLit 👍 👍 0.484 ms 15.6 MB
103_natLitEq 👍 👍 0.531 ms 19.9 MB
104_proofIrrelevance 👍 👍 0.518 ms 19.8 MB
105_proofIrrelevanceBad ✋ ✋ 0.519 ms 17.8 MB
106_proofIrrelevanceWhnf 👍 👍 0.528 ms 19.6 MB
107_proofIrrelevanceUnderBinder 👍 👍 0.494 ms 13.8 MB
108_unitEta1 👍 👍 0.530 ms 15.9 MB
109_unitEta2 👍 👍 0.538 ms 19.9 MB
110_unitEta3 👍 👍 0.538 ms 21.9 MB
111_indexedUnitEta ✋ ✋ 0.552 ms 19.9 MB
112_structEta 👍 👍 0.592 ms 20.2 MB
113_indexedStructEta ✋ ✋ 0.568 ms 20.0 MB
114_funEta 👍 👍 0.522 ms 19.7 MB
115_funEtaDep 👍 👍 0.523 ms 19.5 MB
116_funEtaBad ✋ ✋ 0.511 ms 17.6 MB
117_reflOccLeft ✋ ✋ 0.501 ms 15.9 MB
118_reflOccInIndex ✋ ✋ 0.500 ms 19.7 MB
119_reduceCtorParamRefl.mk 👍 👍 0.507 ms 15.9 MB
120_reduceCtorParamRefl2.mk 👍 👍 0.508 ms 15.7 MB
121_rTreeRec 👍 👍 0.529 ms 19.6 MB
122_rtreeRecReduction 👍 👍 0.583 ms 24.0 MB
123_accRecType 👍 👍 0.539 ms 17.4 MB
124_accRecReduction 👍 👍 0.600 ms 22.5 MB
125_accRecNoEta ✋ ✋ 0.599 ms 22.1 MB
126_quotMkType 👍 👍 0.613 ms 19.6 MB
127_quotIndType 👍 👍 0.616 ms 19.9 MB
128_quotLiftType 👍 👍 0.615 ms 19.8 MB
129_quotSoundType 👍 👍 0.625 ms 20.2 MB
130_quotLiftReduction 👍 👍 0.623 ms 17.7 MB
131_quotIndReduction 👍 👍 0.621 ms 19.6 MB
132_dup_defs ✋ ✋ 0.425 ms 8.5 MB
133_dup_ind_def ✋ ✋ 0.433 ms 10.5 MB
134_dup_ctor_def ✋ ✋ 0.434 ms 10.5 MB
135_dup_rec_def ✋ ✋ 0.434 ms 10.3 MB
136_misnamed_rec_user ✋ ✋ 0.487 ms 15.6 MB
137_dup_rec_def2 ✋ ✋ 0.474 ms 11.7 MB
138_dup_ctor_rec ✋ ✋ 0.433 ms 10.3 MB
139_DupConCon ✋ ✋ 0.436 ms 12.2 MB
140_falseFromUnsafe ✋ ✋ 0.432 ms 10.3 MB
141_falseFromPartial ✋ ✋ 0.432 ms 10.4 MB