Lean Kernel Arena / mini

Checker "mini"

Language: Lean Lean · Version: 3a88e8c · 📄 Declaration · 🔗 Source

A small, naive and incomplete implementation of a Lean kernel from scratch.

This is mostly an exercise to improve the test coverage on the arena. Runs with a 30s timeout.

Soundness (rightfully rejected tests)

76 ✅ 0 ❌ 21 🚫

Completeness (rightfully accepted tests)

105 ✅ 0 ❌ 45 🚫

Corner cases (no outcome prescribed)

26 ✅ 4 🚫

Test Expected Result ⏱️ 🧠
cedar 👍 🚫 0 ms 0 B
con-leche 👍 🚫 40.7 ms 63.2 MB
cslib 👍 🚫 0 ms 0 B
init 👍 🚫 0 ms 0 B
init-prelude 👍 🚫 0 ms 0 B
mathlib 👍 🚫 0 ms 0 B
navier-stokes-euler 👍 🚫 39.1 ms 65.8 MB
reachability 👍 🚫 318 ms 74.1 MB
std 👍 🚫 0 ms 0 B
28 3.49 s 75.4 MB
closure-level-subst ✋ ✋ 34.1 ms 73.3 MB
const-level-arity ✋ ✋ 33.9 ms 74.6 MB
constlevels ✋ ✋ 35.7 ms 73.5 MB
ctor-num-fields ✋ ✋ 40.2 ms 73.9 MB
eta-ctor-alias ✋ ✋ 34.4 ms 73.3 MB
inductive-forged-all ✋ 🚫 33.9 ms 74.1 MB
k-rec-conv ✋ ✋ 37.4 ms 74.4 MB
large-elim-param ✋ ✋ 34.2 ms 74.4 MB
large-elim-prop-bool ✋ ✋ 36.5 ms 75.4 MB
level-imax-leq ✋ ✋ 34.2 ms 74.3 MB
level-imax-normalization ✋ ✋ 34.2 ms 74.7 MB
loose-bvar-value ✋ ✋ 34.0 ms 75.0 MB
nat-log2-not-native 👍 👍 47.2 ms 73.3 MB
nat-log2-not-native-bad ✋ ✋ 47.4 ms 73.7 MB
nat-rec-k-lie ✋ ✋ 34.3 ms 74.5 MB
nat-rec-rules ✋ ✋ 34.9 ms 75.1 MB
nat-shift-huge 👍 🚫 52.4 ms 74.0 MB
nested-name-capture ✋ 🚫 35.3 ms 73.2 MB
nested-rec-hijack ✋ 🚫 34.5 ms 73.3 MB
nested-rec-rule-nfields ✋ 🚫 36.0 ms 73.7 MB
nested-unused-param ✋ 🚫 36.6 ms 74.1 MB
open-term-cache-context ✋ ✋ 33.9 ms 73.2 MB
orphan-rec ✋ ✋ 33.9 ms 74.9 MB
pi-closure-context ✋ ✋ 33.9 ms 75.0 MB
proj-non-structure ✋ ✋ 34.1 ms 73.5 MB
proj-of-imax-prop ✋ 🚫 34.4 ms 74.7 MB
proj-of-param-prop ✋ ✋ 34.7 ms 74.3 MB
proj-of-stuck-prop ✋ 🚫 48.8 ms 73.7 MB
proj-of-subst-prop ✋ ✋ 1.03 s 73.3 MB
quot-bad-type ✋ ✋ 34.1 ms 74.0 MB
rec-k-lie ✋ ✋ 34.2 ms 74.4 MB
rec-missing-ih ✋ 🚫 49.1 ms 75.0 MB
rec-of-subst-prop ✋ ✋ 1.05 s 74.3 MB
rec-rule-proof-irrel ✋ ✋ 37.7 ms 74.6 MB
rec-rule-proof-irrel-nested ✋ 🚫 35.7 ms 74.5 MB
rec-rule-wrong-arg ✋ ✋ 36.4 ms 74.2 MB
rec-type-proof-irrel ✋ ✋ 37.8 ms 73.7 MB
str-lit-utf8 👍 🚫 38.0 ms 74.6 MB
str-lit-utf8-bad ✋ 🚫 38.0 ms 73.9 MB
unit-rec-rule ✋ ✋ 34.0 ms 74.2 MB
1 1.55 s 75.2 MB
alg-conv-trans-acc 🤷 ✋ 140 ms 73.6 MB
alg-conv-trans-acc-left 🤷 ✋ 139 ms 75.0 MB
alg-conv-trans-acc-right 🤷 👍 171 ms 74.5 MB
alg-conv-trans-quot 🤷 ✋ 36.0 ms 73.8 MB
alg-conv-trans-quot-left 🤷 ✋ 36.9 ms 75.2 MB
alg-conv-trans-quot-left-def 🤷 ✋ 37.2 ms 75.0 MB
alg-conv-trans-quot-right 🤷 👍 35.6 ms 74.5 MB
eta-ctor 🤷 ✋ 34.6 ms 73.8 MB
eta-rec-struct 🤷 ✋ 35.5 ms 74.3 MB
eta-rule-k 🤷 ✋ 35.2 ms 74.7 MB
eta-struct-major-and 🤷 ✋ 36.3 ms 74.1 MB
eta-struct-major-and-no-whnf 🤷 ⌛ — —
eta-struct-major-no-whnf 🤷 ⌛ — —
eta-unit-like-nested 🤷 ✋ 35.3 ms 73.3 MB
eta-unit-like-pi 🤷 ✋ 34.3 ms 74.0 MB
eta-unit-like-proof-field 🤷 ✋ 34.3 ms 74.3 MB
eta-unit-like-struct 🤷 ✋ 34.4 ms 74.7 MB
imax-nested-absorption 🤷 👍 33.9 ms 74.6 MB
imax-right-successor 🤷 👍 33.9 ms 74.1 MB
large-elim-maybe-prop 🤷 ✋ 34.0 ms 73.4 MB
let-value-type-mismatch 🤷 ✋ 33.8 ms 73.9 MB
nested-nonuniform-param 🤷 🚫 34.4 ms 73.7 MB
nested-redex-aux 🤷 🚫 35.4 ms 74.0 MB
positivity-whnf 🤷 ✋ 34.1 ms 74.2 MB
proj-maybe-prop 🤷 👍 34.5 ms 74.0 MB
proj-maybe-prop-past 🤷 👍 34.5 ms 75.2 MB
proof-param-ok 👍 👍 34.0 ms 74.1 MB
proof-param-swap 🤷 ✋ 34.0 ms 74.3 MB
subject-reduction-redex 🤷 ✋ 159 ms 74.1 MB
subject-reduction-reduct 🤷 ✋ 107 ms 74.4 MB
vanishing-occurrence 🤷 👍 34.3 ms 73.9 MB
6 345 ms 75.1 MB
extra-rec ✋ ✋ 33.9 ms 73.1 MB
inductive-undeclared-universe ✋ ✋ 34.0 ms 75.1 MB
level-index-out-of-order 👍 👍 33.8 ms 74.6 MB
nat-lit-add 👍 🚫 35.4 ms 74.5 MB
nat-lit-add-bad ✋ 🚫 35.3 ms 74.0 MB
nat-lit-ble 👍 🚫 35.6 ms 74.3 MB
nat-lit-sub 👍 🚫 35.6 ms 73.9 MB
orphan-ctor ✋ ✋ 33.9 ms 74.1 MB
proj-of-prop ✋ ✋ 34.1 ms 75.1 MB
sparse-name-index 👍 👍 33.8 ms 74.3 MB
7 6.39 s (+36%) 1015.1 MB
app-lam 👍 ⌛ — —
args-before-unfold 👍 ⌛ — —
beta-ladder 👍 👍 933 ms (-44%) 196.5 MB (÷2.7)
church-numerals 👍 ⌛ — —
discarded-argument 👍 👍 37.1 ms (÷4.6) 65.8 MB (-28%)
discarded-argument-match 👍 👍 41.4 ms (÷3.5) 65.4 MB (-30%)
folded-constant-first 👍 ⌛ — —
folded-constant-last 👍 ⌛ — —
fueled-chain 👍 ⌛ — —
gf3-matrix-product 👍 🚫 79.9 ms 68.0 MB
grind-field-kernel-cancel 👍 🚫 100 ms 76.6 MB
grind-ring-5 👍 🚫 39.2 ms 66.1 MB
identical-nesting 👍 👍 38.3 ms (+18%) 65.8 MB (-28%)
irrelevance-before-evaluation 👍 👍 36.4 ms (+10%) 65.1 MB (-29%)
irrelevance-refutes 👍 🚫 34.6 ms 65.6 MB
ite-taken-branch 👍 🚫 59.4 ms 66.1 MB
ite-taken-branch-bad ✋ 🚫 59.4 ms 65.8 MB
let-fold 👍 🚫 53.3 ms 65.5 MB
let-ladder 👍 👍 1.30 s (+28%) 1015.1 MB (×3.1)
loop-unfolded-once 👍 🚫 250 ms 71.8 MB
loop-unfolded-once-bad ✋ 🚫 250 ms 71.6 MB
magma-list-deep-n21 👍 🚫 85.1 ms 67.6 MB
magma-list-deep-n36 👍 🚫 85.0 ms 67.6 MB
magma-list-pair-n21 👍 🚫 59.2 ms 65.8 MB
magma-list-pair-n7 👍 ⌛ — —
magma-string-n4 👍 🚫 38.8 ms 74.7 MB
magma-string-pair-n9 👍 🚫 38.8 ms 66.7 MB
proj-app-lazy-delta 👍 🚫 41.3 ms 65.0 MB
proj-applied-struct 👍 🚫 40.4 ms 65.3 MB
proj-applied-struct-arg-bad ✋ 🚫 40.4 ms 65.6 MB
proj-applied-struct-bad ✋ 🚫 40.4 ms 65.4 MB
proj-cheap-struct 👍 🚫 38.9 ms 66.1 MB
proj-lazy-struct 👍 🚫 36.5 ms 65.2 MB
proj-stuck-struct 👍 🚫 36.8 ms 65.3 MB
prop-struct-projections 👍 🚫 36.3 ms 65.8 MB
refute-cheap-first ✋ ⌛ — —
refute-cheap-last ✋ ⌛ — —
repeated-subproblem 👍 ⌛ — —
shared-subterm 👍 ⌛ — —
shift-cascade 👍 👍 1.86 s (×37) 66.2 MB (-30%)
short-circuit-and 👍 🚫 243 ms 71.5 MB
short-circuit-and-bad ✋ 🚫 243 ms 71.6 MB
unfold-before-literal 👍 🚫 37.7 ms 65.8 MB
unfold-before-literal-bad ✋ 🚫 37.7 ms 65.6 MB
unfold-before-literal-fallback 👍 🚫 37.7 ms 65.3 MB
unroll-versus-evaluate 👍 ⌛ — —
139 5.19 s 75.3 MB
001_basicDef 👍 👍 33.8 ms 74.1 MB
002_badDef ✋ ✋ 33.8 ms 74.2 MB
003_arrowType 👍 👍 33.8 ms 74.9 MB
004_dependentType 👍 👍 33.8 ms 74.3 MB
005_constType 👍 👍 33.9 ms 74.4 MB
006_betaReduction 👍 👍 33.9 ms 74.3 MB
007_betaReduction2 👍 👍 33.9 ms 73.1 MB
008_forallSortWhnf 👍 👍 33.9 ms 74.2 MB
009_forallSortBad ✋ ✋ 33.9 ms 73.3 MB
010_nonTypeType ✋ ✋ 33.9 ms 73.4 MB
011_nonTypeAxiom ✋ ✋ 33.9 ms 74.0 MB
012_nonPropThm ✋ ✋ 33.8 ms 74.4 MB
013_thmProof 👍 👍 33.9 ms 74.3 MB
014_selfProof ✋ ✋ 33.8 ms 73.7 MB
015_levelComp1 👍 👍 33.8 ms 74.0 MB
016_levelComp2 👍 👍 33.8 ms 74.7 MB
017_levelComp3 👍 👍 33.8 ms 74.2 MB
018_levelParams 👍 👍 33.9 ms 75.0 MB
019_tut06_bad01 ✋ ✋ 33.8 ms 75.1 MB
020_levelComp4 👍 👍 33.8 ms 74.0 MB
021_levelComp5 👍 👍 33.8 ms 73.4 MB
022_imax1 👍 👍 33.9 ms 74.1 MB
023_imax2 👍 👍 33.9 ms 74.3 MB
024_levelMaxComm 👍 👍 33.8 ms 73.3 MB
025_levelMaxAssoc 👍 👍 33.9 ms 73.3 MB
026_levelMaxIdem 👍 👍 33.8 ms 74.3 MB
027_levelMaxAbsorb 👍 👍 33.8 ms 73.7 MB
028_inferVar 👍 👍 33.9 ms 73.3 MB
029_defEqLambda 👍 👍 33.9 ms 74.2 MB
030_peano1 👍 👍 34.3 ms 73.8 MB
031_peano2 👍 👍 34.4 ms 73.4 MB
032_peano3 👍 👍 34.5 ms 75.2 MB
033_letType 👍 👍 33.8 ms 74.9 MB
034_letTypeDep 👍 👍 33.9 ms 73.7 MB
035_letRed 👍 👍 33.9 ms 73.2 MB
036_empty 👍 👍 33.9 ms 74.3 MB
037_boolType 👍 👍 34.0 ms 74.9 MB
038_twoBool 👍 👍 34.1 ms 73.3 MB
039_andType 👍 👍 34.1 ms 73.5 MB
040_prodType 👍 👍 34.1 ms 74.3 MB
041_pprodType 👍 👍 34.1 ms 75.1 MB
042_pUnitType 👍 👍 33.9 ms 73.2 MB
043_eqType 👍 👍 34.1 ms 74.0 MB
044_natDef 👍 👍 34.0 ms 74.0 MB
045_rbTreeDef 👍 👍 35.2 ms 74.0 MB
046_inductBadNonSort ✋ ✋ 33.9 ms 74.9 MB
047_inductBadNonSort2 ✋ ✋ 33.8 ms 73.9 MB
048_inductLevelParam ✋ ✋ 33.8 ms 74.7 MB
049_inductTooFewParams ✋ ✋ 33.8 ms 74.0 MB
050_inductWrongCtorParams ✋ ✋ 33.9 ms 74.1 MB
051_inductWrongCtorResParams ✋ ✋ 33.9 ms 74.6 MB
052_inductWrongCtorResLevel ✋ ✋ 33.9 ms 74.0 MB
053_inductInIndex ✋ ✋ 33.9 ms 73.7 MB
054_indNeg ✋ ✋ 33.9 ms 74.2 MB
055_reduceCtorParam.mk 👍 👍 34.2 ms 74.3 MB
056_reduceCtorType.mk ✋ ✋ 33.9 ms 75.1 MB
057_indNegReducible ✋ ✋ 33.9 ms 74.2 MB
058_predWithTypeField 👍 👍 33.9 ms 74.6 MB
059_typeWithTypeField 👍 👍 33.9 ms 73.7 MB
060_typeWithTypeFieldPoly 👍 👍 34.0 ms 75.1 MB
061_typeWithTooHighTypeField.mk ✋ ✋ 33.9 ms 73.3 MB
062_emptyRec 👍 👍 33.9 ms 73.9 MB
063_boolRec 👍 👍 34.1 ms 74.7 MB
064_twoBoolRec 👍 👍 34.2 ms 74.2 MB
065_andRec 👍 👍 34.3 ms 74.5 MB
066_prodRec 👍 👍 34.5 ms 73.1 MB
067_pprodRec 👍 👍 34.5 ms 74.4 MB
068_punitRec 👍 👍 34.0 ms 73.1 MB
069_eqRec 👍 👍 34.4 ms 74.1 MB
070_nRec 👍 👍 34.1 ms 74.6 MB
071_rbTreeRef 👍 👍 39.5 ms 74.3 MB
072_boolPropRec 👍 👍 34.0 ms 74.3 MB
073_BogusRecursor ✋ ✋ 33.9 ms 74.3 MB
074_existsRec 👍 👍 34.5 ms 73.3 MB
075_typeSingletonRecReduction 👍 👍 34.5 ms 74.6 MB
076_sortElimPropRec 👍 👍 34.7 ms 74.2 MB
077_sortElimProp2Rec 👍 👍 34.8 ms 74.5 MB
078_boolRecEqns 👍 👍 35.8 ms 73.8 MB
079_prodRecEqns 👍 👍 38.4 ms 74.8 MB
080_nRecReduction 👍 👍 37.2 ms 74.2 MB
081_listRecReduction 👍 👍 43.9 ms 73.5 MB
082_RBTree.id_spec 👍 👍 346 ms 74.9 MB
083_And.right 👍 👍 34.2 ms 74.6 MB
084_Prod.snd 👍 👍 34.2 ms 75.2 MB
085_PProd.snd 👍 👍 34.2 ms 74.7 MB
086_PSigma.snd 👍 👍 34.4 ms 74.0 MB
087_projOutOfRange ✋ ✋ 34.1 ms 74.5 MB
088_projNotStruct ✋ ✋ 34.0 ms 73.4 MB
089_projProp1 👍 👍 34.5 ms 75.1 MB
090_projProp2 ✋ ✋ 34.5 ms 73.5 MB
091_projProp3 👍 👍 34.5 ms 74.3 MB
092_projProp4 ✋ ✋ 34.5 ms 73.3 MB
093_projProp5 ✋ ✋ 34.5 ms 74.5 MB
094_projProp6 ✋ ✋ 34.5 ms 74.4 MB
095_projDataIndexRec 👍 👍 34.4 ms 74.5 MB
096_projIndexData ✋ ✋ 34.9 ms 73.0 MB
097_projIndexData2 ✋ ✋ 34.9 ms 74.2 MB
098_projRed 👍 👍 34.8 ms 74.8 MB
099_ruleK 👍 👍 34.9 ms 75.1 MB
100_ruleKbad ✋ ✋ 35.1 ms 74.5 MB
101_ruleKAcc ✋ ✋ 43.4 ms 74.2 MB
102_aNatLit 👍 👍 34.0 ms 73.8 MB
103_natLitEq 👍 👍 34.3 ms 73.9 MB
104_proofIrrelevance 👍 👍 34.3 ms 73.5 MB
105_proofIrrelevanceBad ✋ ✋ 34.3 ms 74.1 MB
106_proofIrrelevanceWhnf 👍 👍 34.4 ms 73.7 MB
107_proofIrrelevanceUnderBinder 👍 👍 33.9 ms 75.0 MB
108_unitEta1 👍 👍 34.4 ms 75.1 MB
109_unitEta2 👍 👍 34.3 ms 74.3 MB
110_unitEta3 👍 👍 34.3 ms 75.1 MB
111_indexedUnitEta ✋ ✋ 34.5 ms 74.4 MB
112_structEta 👍 👍 37.1 ms 74.2 MB
113_indexedStructEta ✋ ✋ 34.5 ms 74.9 MB
114_funEta 👍 👍 34.3 ms 74.2 MB
115_funEtaDep 👍 👍 34.4 ms 75.2 MB
116_funEtaBad ✋ ✋ 34.3 ms 73.7 MB
117_reflOccLeft ✋ ✋ 34.1 ms 74.5 MB
118_reflOccInIndex ✋ ✋ 34.1 ms 73.4 MB
119_reduceCtorParamRefl.mk 👍 👍 34.2 ms 73.7 MB
120_reduceCtorParamRefl2.mk 👍 👍 34.2 ms 74.8 MB
121_rTreeRec 👍 👍 34.3 ms 74.2 MB
122_rtreeRecReduction 👍 👍 34.9 ms 75.3 MB
123_accRecType 👍 👍 36.3 ms 74.5 MB
124_accRecReduction 👍 👍 44.2 ms 75.0 MB
125_accRecNoEta ✋ ✋ 43.2 ms 74.4 MB
126_quotMkType 👍 👍 34.3 ms 74.4 MB
127_quotIndType 👍 👍 34.7 ms 74.3 MB
128_quotLiftType 👍 👍 34.5 ms 74.9 MB
129_quotSoundType 👍 👍 35.0 ms 73.6 MB
130_quotLiftReduction 👍 👍 35.6 ms 74.0 MB
131_quotIndReduction 👍 👍 38.0 ms 73.3 MB
132_dup_defs ✋ ✋ 33.8 ms 74.1 MB
133_dup_ind_def ✋ ✋ 33.9 ms 74.8 MB
134_dup_ctor_def ✋ ✋ 33.9 ms 73.8 MB
135_dup_rec_def ✋ ✋ 33.9 ms 74.9 MB
136_misnamed_rec_user ✋ ✋ 33.9 ms 73.6 MB
137_dup_rec_def2 ✋ ✋ 33.9 ms 73.9 MB
138_dup_ctor_rec ✋ ✋ 33.9 ms 74.9 MB
139_DupConCon ✋ ✋ 33.9 ms 73.2 MB
140_falseFromUnsafe ✋ 🚫 33.9 ms 74.1 MB
141_falseFromPartial ✋ 🚫 33.9 ms 73.9 MB