Lean Kernel Arena / metalean-fast

Checker "metalean-fast"

Language: Lean Lean · Version: cc8ccb6 · 📄 Declaration · 🔗 Source

Verified typechecker with some effort made to make performance viable. Is able to handle nat/string literals, or accelerated operations. It cannot handle nested inductives, but those are filtered out, so it is possible that a test containing nested inductives will cause this checker to incorrectly accept. It uses unsafe code.

Soundness (rightfully rejected tests)

89 ✅ 5 ❌ 3 🚫

Completeness (rightfully accepted tests)

146 ✅ 1 ❌ 3 🚫

Corner cases (no outcome prescribed)

28 ✅ 2 🚫

Test Expected Result ⏱️ 🧠
cedar 👍 👍 5.23 min (×2.1) 11.1 GB (×8.0)
con-leche 👍 👍 10.1 min (×2.8) 5.8 GB (-17%)
cslib 👍 👍 20.0 min (×2.1) 7.6 GB (×2.2)
init 👍 👍 2.18 min (+96%) 1.3 GB (×2.2)
init-prelude 👍 👍 643 ms (+69%) 96.2 MB (-3%)
mathlib 👍 ✋ 12.5 min 3.7 GB
navier-stokes-euler 👍 👍 29.3 min (×2.6) 5.8 GB (×2.4)
reachability 👍 👍 37.3 s (+59%) 4.5 GB (×2.7)
std 👍 👍 6.13 min (×3.3) 2.1 GB (×2.3)
34 1.72 s 88.4 MB
closure-level-subst ✋ ✋ 30.1 ms 70.8 MB
const-level-arity ✋ ✋ 29.6 ms 72.0 MB
constlevels ✋ ✋ 31.4 ms 72.3 MB
ctor-num-fields ✋ ✋ 35.3 ms 70.7 MB
eta-ctor-alias ✋ ✋ 30.3 ms 66.1 MB
inductive-forged-all ✋ ✋ 29.7 ms 71.0 MB
k-rec-conv ✋ ✋ 31.1 ms 70.3 MB
large-elim-param ✋ ✋ 30.1 ms 70.1 MB
large-elim-prop-bool ✋ ✋ 32.1 ms 68.5 MB
level-imax-leq ✋ ✋ 30.2 ms 69.6 MB
level-imax-normalization ✋ ✋ 30.2 ms 69.9 MB
loose-bvar-value ✋ ✋ 29.7 ms 69.7 MB
nat-log2-not-native 👍 👍 35.6 ms 80.5 MB
nat-log2-not-native-bad ✋ ✋ 35.7 ms 82.5 MB
nat-rec-k-lie ✋ ✋ 30.3 ms 72.3 MB
nat-rec-rules ✋ ✋ 30.5 ms 70.4 MB
nat-shift-huge 👍 👍 92.0 ms 82.0 MB
nested-name-capture ✋ 👍 32.3 ms 74.3 MB
nested-rec-hijack ✋ 👍 30.7 ms 71.4 MB
nested-rec-rule-nfields ✋ 👍 34.3 ms 70.0 MB
nested-unused-param ✋ 👍 38.0 ms 76.3 MB
open-term-cache-context ✋ ✋ 29.7 ms 66.2 MB
orphan-rec ✋ ✋ 29.6 ms 69.3 MB
pi-closure-context ✋ ✋ 29.7 ms 69.9 MB
proj-non-structure ✋ ✋ 30.0 ms 65.9 MB
proj-of-imax-prop ✋ ✋ 31.7 ms 68.6 MB
proj-of-param-prop ✋ ✋ 30.8 ms 74.4 MB
proj-of-stuck-prop ✋ ✋ 73.1 ms 76.1 MB
proj-of-subst-prop ✋ ✋ 71.1 ms 80.7 MB
quot-bad-type ✋ ✋ 29.9 ms 71.8 MB
rec-k-lie ✋ ✋ 30.2 ms 66.2 MB
rec-missing-ih ✋ 🚫 75.0 ms 80.4 MB
rec-of-subst-prop ✋ ✋ 71.8 ms 76.2 MB
rec-rule-proof-irrel ✋ ✋ 32.8 ms 70.2 MB
rec-rule-proof-irrel-nested ✋ 👍 33.2 ms 70.6 MB
rec-rule-wrong-arg ✋ ✋ 32.1 ms 70.3 MB
rec-type-proof-irrel ✋ ✋ 32.8 ms 70.3 MB
str-lit-utf8 👍 👍 142 ms 87.0 MB
str-lit-utf8-bad ✋ ✋ 151 ms 88.4 MB
unit-rec-rule ✋ ✋ 29.9 ms 69.8 MB
1 16.2 s 1.1 GB
alg-conv-trans-acc 🤷 ✋ 39.4 ms 76.0 MB
alg-conv-trans-acc-left 🤷 👍 39.5 ms 74.0 MB
alg-conv-trans-acc-right 🤷 👍 39.7 ms 74.4 MB
alg-conv-trans-quot 🤷 ✋ 30.4 ms 66.5 MB
alg-conv-trans-quot-left 🤷 ✋ 30.5 ms 66.2 MB
alg-conv-trans-quot-left-def 🤷 👍 30.8 ms 67.9 MB
alg-conv-trans-quot-right 🤷 👍 30.5 ms 66.2 MB
eta-ctor 🤷 👍 30.5 ms 66.5 MB
eta-rec-struct 🤷 👍 30.6 ms 66.2 MB
eta-rule-k 🤷 👍 30.3 ms 66.1 MB
eta-struct-major-and 🤷 ✋ 30.6 ms 66.4 MB
eta-struct-major-and-no-whnf 🤷 💥 7.67 s 1.1 GB
eta-struct-major-no-whnf 🤷 💥 7.61 s 1.1 GB
eta-unit-like-nested 🤷 ✋ 31.2 ms 74.9 MB
eta-unit-like-pi 🤷 ✋ 30.1 ms 72.9 MB
eta-unit-like-proof-field 🤷 ✋ 30.2 ms 72.4 MB
eta-unit-like-struct 🤷 ✋ 30.2 ms 72.2 MB
imax-nested-absorption 🤷 👍 29.6 ms 71.7 MB
imax-right-successor 🤷 👍 29.6 ms 72.4 MB
large-elim-maybe-prop 🤷 ✋ 29.8 ms 71.8 MB
let-value-type-mismatch 🤷 ✋ 29.5 ms 72.1 MB
nested-nonuniform-param 🤷 👍 30.3 ms 72.0 MB
nested-redex-aux 🤷 👍 34.2 ms 80.8 MB
positivity-whnf 🤷 ✋ 30.0 ms 71.4 MB
proj-maybe-prop 🤷 ✋ 30.4 ms 74.3 MB
proj-maybe-prop-past 🤷 ✋ 30.4 ms 72.1 MB
proof-param-ok 👍 👍 29.8 ms 71.5 MB
proof-param-swap 🤷 ✋ 29.7 ms 70.8 MB
subject-reduction-redex 🤷 👍 39.8 ms 81.1 MB
subject-reduction-reduct 🤷 ✋ 39.4 ms 80.5 MB
vanishing-occurrence 🤷 ✋ 30.2 ms 72.5 MB
10 311 ms 71.7 MB
extra-rec ✋ ✋ 29.6 ms 70.8 MB
inductive-undeclared-universe ✋ ✋ 29.8 ms 71.5 MB
level-index-out-of-order 👍 👍 29.5 ms 71.7 MB
nat-lit-add 👍 👍 33.0 ms 65.5 MB
nat-lit-add-bad ✋ ✋ 33.0 ms 63.9 MB
nat-lit-ble 👍 👍 33.5 ms 65.3 MB
nat-lit-sub 👍 👍 33.7 ms 65.2 MB
orphan-ctor ✋ ✋ 29.6 ms 71.0 MB
proj-of-prop ✋ ✋ 29.9 ms 60.5 MB
sparse-name-index 👍 👍 29.5 ms 71.4 MB
43 6.03 min (+84%) 5.0 GB
app-lam 👍 👍 12.5 s (×2.6) 2.0 GB (+42%)
args-before-unfold 👍 👍 43.6 ms (+8%) 80.8 MB (-12%)
beta-ladder 👍 👍 3.44 s (×2.1) 655.2 MB (+25%)
church-numerals 👍 👍 90.4 ms (+76%) 88.2 MB (-15%)
discarded-argument 👍 👍 205 ms (+21%) 72.8 MB (-21%)
discarded-argument-match 👍 👍 1.96 s (×13) 79.9 MB (-15%)
folded-constant-first 👍 👍 51.6 ms (+15%) 77.6 MB (-18%)
folded-constant-last 👍 👍 51.6 ms (+15%) 80.1 MB (-15%)
fueled-chain 👍 ⌛ — —
gf3-matrix-product 👍 👍 3.42 s (+88%) 3.5 GB (0%)
grind-field-kernel-cancel 👍 👍 44.0 s (+71%) 2.6 GB (×7.0)
grind-ring-5 👍 👍 3.61 s (+65%) 234.3 MB (-8%)
identical-nesting 👍 👍 30.5 ms (-6%) 74.2 MB (-19%)
irrelevance-before-evaluation 👍 👍 32.0 ms (-4%) 73.1 MB (-20%)
irrelevance-refutes 👍 👍 31.0 ms (-5%) 72.4 MB (-21%)
ite-taken-branch 👍 👍 33.1 s (+71%) 4.7 GB (×2.8)
ite-taken-branch-bad ✋ ✋ 11.6 s (+71%) 1.6 GB (-2%)
let-fold 👍 👍 2.42 s (×39) 475.0 MB (×5.0)
let-ladder 👍 ⌛ — —
loop-unfolded-once 👍 👍 1.00 s (+91%) 108.8 MB (+7%)
loop-unfolded-once-bad ✋ ✋ 6.51 s (÷2.2) 108.7 MB (+5%)
magma-list-deep-n21 👍 👍 5.02 s (+86%) 752.6 MB (+9%)
magma-list-deep-n36 👍 ⌛ — —
magma-list-pair-n21 👍 👍 35.3 s (+90%) 5.0 GB (+25%)
magma-list-pair-n7 👍 👍 3.25 s (+90%) 533.6 MB (+17%)
magma-string-n4 👍 👍 7.02 s (+96%) 189.2 MB (+27%)
magma-string-pair-n9 👍 👍 15.5 s (+89%) 1.1 GB (+16%)
proj-app-lazy-delta 👍 👍 54.3 s (×26) 746.3 MB (+22%)
proj-applied-struct 👍 👍 16.2 s (+16%) 3.7 GB (×2.6)
proj-applied-struct-arg-bad ✋ ✋ 16.2 s (×3.5) 3.7 GB (×2.6)
proj-applied-struct-bad ✋ ✋ 5.81 s (+19%) 1.3 GB (-10%)
proj-cheap-struct 👍 👍 41.7 ms (+7%) 81.4 MB (-12%)
proj-lazy-struct 👍 👍 35.5 ms (0%) 77.6 MB (-16%)
proj-stuck-struct 👍 👍 36.3 ms (+1%) 75.8 MB (-18%)
prop-struct-projections 👍 👍 112 ms (+8%) 83.0 MB (-14%)
refute-cheap-first ✋ ✋ 32.3 ms (-22%) 70.2 MB (-25%)
refute-cheap-last ✋ ✋ 206 ms (+14%) 75.6 MB (-19%)
repeated-subproblem 👍 👍 31.0 ms (-6%) 69.8 MB (-24%)
shared-subterm 👍 👍 65.5 ms (+6%) 82.1 MB (-17%)
shift-cascade 👍 👍 4.38 s (×86) 542.6 MB (×5.7)
short-circuit-and 👍 👍 24.7 s (+41%) 4.0 GB (×2.6)
short-circuit-and-bad ✋ ✋ 8.86 s (+43%) 1.4 GB (-8%)
unfold-before-literal 👍 👍 17.4 s (+20%) 3.7 GB (×2.6)
unfold-before-literal-bad ✋ ✋ 5.81 s (+19%) 1.3 GB (-10%)
unfold-before-literal-fallback 👍 👍 17.3 s (+19%) 3.7 GB (×2.6)
unroll-versus-evaluate 👍 👍 38.3 ms (+8%) 77.5 MB (-16%)
139 4.23 s 70.2 MB
001_basicDef 👍 👍 29.5 ms 60.3 MB
002_badDef ✋ ✋ 29.5 ms 60.9 MB
003_arrowType 👍 👍 29.5 ms 61.0 MB
004_dependentType 👍 👍 29.5 ms 59.8 MB
005_constType 👍 👍 29.6 ms 59.6 MB
006_betaReduction 👍 👍 29.6 ms 59.9 MB
007_betaReduction2 👍 👍 29.6 ms 60.8 MB
008_forallSortWhnf 👍 👍 29.6 ms 60.5 MB
009_forallSortBad ✋ ✋ 29.6 ms 60.4 MB
010_nonTypeType ✋ ✋ 29.6 ms 60.8 MB
011_nonTypeAxiom ✋ ✋ 29.6 ms 60.6 MB
012_nonPropThm ✋ ✋ 29.5 ms 58.9 MB
013_thmProof 👍 👍 29.6 ms 61.4 MB
014_selfProof ✋ ✋ 29.5 ms 60.5 MB
015_levelComp1 👍 👍 29.5 ms 60.6 MB
016_levelComp2 👍 👍 29.5 ms 61.3 MB
017_levelComp3 👍 👍 29.5 ms 59.7 MB
018_levelParams 👍 👍 29.6 ms 60.9 MB
019_tut06_bad01 ✋ ✋ 29.5 ms 58.3 MB
020_levelComp4 👍 👍 29.5 ms 60.9 MB
021_levelComp5 👍 👍 29.5 ms 60.3 MB
022_imax1 👍 👍 29.6 ms 61.0 MB
023_imax2 👍 👍 29.6 ms 59.9 MB
024_levelMaxComm 👍 👍 29.5 ms 59.6 MB
025_levelMaxAssoc 👍 👍 29.5 ms 60.6 MB
026_levelMaxIdem 👍 👍 29.5 ms 59.8 MB
027_levelMaxAbsorb 👍 👍 29.5 ms 58.7 MB
028_inferVar 👍 👍 29.5 ms 60.4 MB
029_defEqLambda 👍 👍 29.6 ms 60.9 MB
030_peano1 👍 👍 30.0 ms 60.8 MB
031_peano2 👍 👍 30.2 ms 61.7 MB
032_peano3 👍 👍 30.3 ms 62.7 MB
033_letType 👍 👍 29.5 ms 60.7 MB
034_letTypeDep 👍 👍 29.6 ms 61.0 MB
035_letRed 👍 👍 29.6 ms 61.0 MB
036_empty 👍 👍 29.6 ms 60.3 MB
037_boolType 👍 👍 29.7 ms 61.0 MB
038_twoBool 👍 👍 29.9 ms 63.3 MB
039_andType 👍 👍 29.8 ms 61.7 MB
040_prodType 👍 👍 29.9 ms 60.9 MB
041_pprodType 👍 👍 29.9 ms 59.9 MB
042_pUnitType 👍 👍 29.7 ms 62.8 MB
043_eqType 👍 👍 29.8 ms 59.7 MB
044_natDef 👍 👍 29.8 ms 60.8 MB
045_rbTreeDef 👍 👍 31.1 ms 61.6 MB
046_inductBadNonSort ✋ ✋ 29.6 ms 59.8 MB
047_inductBadNonSort2 ✋ ✋ 29.5 ms 61.3 MB
048_inductLevelParam ✋ ✋ 29.5 ms 57.5 MB
049_inductTooFewParams ✋ ✋ 29.5 ms 60.1 MB
050_inductWrongCtorParams ✋ ✋ 29.6 ms 57.8 MB
051_inductWrongCtorResParams ✋ ✋ 29.6 ms 58.9 MB
052_inductWrongCtorResLevel ✋ ✋ 29.6 ms 61.1 MB
053_inductInIndex ✋ ✋ 29.6 ms 59.6 MB
054_indNeg ✋ ✋ 29.6 ms 60.9 MB
055_reduceCtorParam.mk 👍 👍 29.9 ms 60.5 MB
056_reduceCtorType.mk ✋ ✋ 29.7 ms 61.7 MB
057_indNegReducible ✋ ✋ 29.7 ms 60.9 MB
058_predWithTypeField 👍 👍 29.7 ms 60.4 MB
059_typeWithTypeField 👍 👍 29.7 ms 61.4 MB
060_typeWithTypeFieldPoly 👍 👍 29.7 ms 59.6 MB
061_typeWithTooHighTypeField.mk ✋ ✋ 29.6 ms 60.6 MB
062_emptyRec 👍 👍 29.6 ms 59.9 MB
063_boolRec 👍 👍 29.8 ms 60.7 MB
064_twoBoolRec 👍 👍 30.0 ms 59.9 MB
065_andRec 👍 👍 29.9 ms 60.6 MB
066_prodRec 👍 👍 30.0 ms 60.4 MB
067_pprodRec 👍 👍 30.0 ms 60.8 MB
068_punitRec 👍 👍 29.8 ms 60.8 MB
069_eqRec 👍 👍 30.0 ms 61.5 MB
070_nRec 👍 👍 29.9 ms 60.4 MB
071_rbTreeRef 👍 👍 31.9 ms 62.7 MB
072_boolPropRec 👍 👍 29.8 ms 60.0 MB
073_BogusRecursor ✋ ✋ 29.7 ms 60.6 MB
074_existsRec 👍 👍 30.0 ms 61.4 MB
075_typeSingletonRecReduction 👍 👍 30.4 ms 61.0 MB
076_sortElimPropRec 👍 👍 30.2 ms 60.7 MB
077_sortElimProp2Rec 👍 👍 30.4 ms 61.6 MB
078_boolRecEqns 👍 👍 30.7 ms 61.8 MB
079_prodRecEqns 👍 👍 30.7 ms 60.4 MB
080_nRecReduction 👍 👍 31.1 ms 62.9 MB
081_listRecReduction 👍 👍 31.8 ms 63.8 MB
082_RBTree.id_spec 👍 👍 39.5 ms 70.2 MB
083_And.right 👍 👍 29.9 ms 60.8 MB
084_Prod.snd 👍 👍 30.0 ms 61.1 MB
085_PProd.snd 👍 👍 30.0 ms 61.5 MB
086_PSigma.snd 👍 👍 30.1 ms 61.0 MB
087_projOutOfRange ✋ ✋ 29.9 ms 61.5 MB
088_projNotStruct ✋ ✋ 29.8 ms 59.3 MB
089_projProp1 👍 👍 30.5 ms 59.7 MB
090_projProp2 ✋ ✋ 30.4 ms 60.5 MB
091_projProp3 👍 👍 30.5 ms 62.8 MB
092_projProp4 ✋ ✋ 30.4 ms 60.8 MB
093_projProp5 ✋ ✋ 30.4 ms 61.1 MB
094_projProp6 ✋ ✋ 30.4 ms 59.8 MB
095_projDataIndexRec 👍 👍 30.3 ms 60.7 MB
096_projIndexData ✋ ✋ 31.0 ms 62.6 MB
097_projIndexData2 ✋ ✋ 31.0 ms 62.7 MB
098_projRed 👍 👍 30.6 ms 61.7 MB
099_ruleK 👍 👍 30.2 ms 61.2 MB
100_ruleKbad ✋ ✋ 30.3 ms 60.7 MB
101_ruleKAcc ✋ ✋ 31.0 ms 63.0 MB
102_aNatLit 👍 👍 29.8 ms 60.6 MB
103_natLitEq 👍 👍 30.1 ms 60.3 MB
104_proofIrrelevance 👍 👍 30.1 ms 61.3 MB
105_proofIrrelevanceBad ✋ ✋ 30.0 ms 61.6 MB
106_proofIrrelevanceWhnf 👍 👍 30.1 ms 60.5 MB
107_proofIrrelevanceUnderBinder 👍 👍 29.7 ms 60.8 MB
108_unitEta1 👍 👍 30.2 ms 61.7 MB
109_unitEta2 👍 👍 30.2 ms 60.9 MB
110_unitEta3 👍 👍 30.2 ms 60.6 MB
111_indexedUnitEta ✋ ✋ 30.3 ms 59.9 MB
112_structEta 👍 👍 30.9 ms 62.4 MB
113_indexedStructEta ✋ ✋ 30.4 ms 60.0 MB
114_funEta 👍 👍 30.1 ms 60.9 MB
115_funEtaDep 👍 👍 30.1 ms 63.1 MB
116_funEtaBad ✋ ✋ 30.0 ms 60.8 MB
117_reflOccLeft ✋ ✋ 29.9 ms 59.3 MB
118_reflOccInIndex ✋ ✋ 29.9 ms 62.7 MB
119_reduceCtorParamRefl.mk 👍 👍 29.9 ms 59.9 MB
120_reduceCtorParamRefl2.mk 👍 👍 29.9 ms 59.8 MB
121_rTreeRec 👍 👍 30.2 ms 62.8 MB
122_rtreeRecReduction 👍 👍 30.8 ms 60.4 MB
123_accRecType 👍 👍 30.4 ms 61.0 MB
124_accRecReduction 👍 👍 31.0 ms 63.2 MB
125_accRecNoEta ✋ ✋ 31.0 ms 60.7 MB
126_quotMkType 👍 👍 30.1 ms 59.9 MB
127_quotIndType 👍 👍 30.2 ms 60.8 MB
128_quotLiftType 👍 👍 30.2 ms 60.0 MB
129_quotSoundType 👍 👍 30.3 ms 59.9 MB
130_quotLiftReduction 👍 👍 30.4 ms 60.6 MB
131_quotIndReduction 👍 👍 30.3 ms 59.7 MB
132_dup_defs ✋ ✋ 29.5 ms 60.8 MB
133_dup_ind_def ✋ ✋ 29.7 ms 60.3 MB
134_dup_ctor_def ✋ ✋ 29.7 ms 61.0 MB
135_dup_rec_def ✋ ✋ 29.7 ms 60.8 MB
136_misnamed_rec_user ✋ ✋ 29.7 ms 60.5 MB
137_dup_rec_def2 ✋ ✋ 29.7 ms 61.7 MB
138_dup_ctor_rec ✋ ✋ 29.6 ms 59.0 MB
139_DupConCon ✋ ✋ 29.7 ms 59.0 MB
140_falseFromUnsafe ✋ 🚫 29.6 ms 60.1 MB
141_falseFromPartial ✋ 🚫 29.6 ms 59.6 MB