Lean Kernel Arena / rpylean

Checker "rpylean"

Language: Python Python · Version: v2026.11.11 · 📄 Declaration · 🔗 Source

rpylean - A Lean type checker written in (R)Python.

Soundness (rightfully rejected tests)

93 ✅ 4 ❌ 0 🚫

Completeness (rightfully accepted tests)

148 ✅ 0 ❌ 2 🚫

Corner cases (no outcome prescribed)

28 ✅ 2 🚫

Test Expected Result ⏱️ 🧠
cedar 👍 👍 13.3 s (÷11) 792.7 MB (-44%)
con-leche 👍 👍 11.9 s (÷18) 763.2 MB (÷9.4)
cslib 👍 👍 35.4 s (÷16) 2.1 GB (-41%)
init 👍 👍 5.42 s (÷12) 368.9 MB (-38%)
init-prelude 👍 👍 33.1 ms (÷11) 53.3 MB (-47%)
mathlib 👍 👍 96.3 s (÷21) 4.4 GB (÷2.2)
navier-stokes-euler 👍 👍 24.1 s (÷28) 937.9 MB (÷2.7)
reachability 👍 👍 4.32 s (÷5.4) 1.2 GB (-27%)
std 👍 👍 9.19 s (÷12) 520.7 MB (-45%)
36 63.7 ms 22.2 MB
closure-level-subst ✋ ✋ 0.850 ms 8.9 MB
const-level-arity ✋ 👍 0.830 ms 8.9 MB
constlevels ✋ ✋ 0.985 ms 10.5 MB
ctor-num-fields ✋ ✋ 1.17 ms 11.2 MB
eta-ctor-alias ✋ ✋ 0.936 ms 10.0 MB
inductive-forged-all ✋ 👍 0.843 ms 9.2 MB
k-rec-conv ✋ ✋ 0.968 ms 10.3 MB
large-elim-param ✋ ✋ 0.931 ms 9.7 MB
large-elim-prop-bool ✋ ✋ 1.00 ms 10.8 MB
level-imax-leq ✋ ✋ 0.929 ms 9.8 MB
level-imax-normalization ✋ ✋ 0.923 ms 10.0 MB
loose-bvar-value ✋ ✋ 0.869 ms 9.5 MB
nat-log2-not-native 👍 👍 1.59 ms 12.2 MB
nat-log2-not-native-bad ✋ ✋ 1.63 ms 12.5 MB
nat-rec-k-lie ✋ ✋ 0.920 ms 10.0 MB
nat-rec-rules ✋ ✋ 0.981 ms 10.4 MB
nat-shift-huge 👍 👍 3.71 ms 16.8 MB
nested-name-capture ✋ ✋ 1.14 ms 11.8 MB
nested-rec-hijack ✋ 👍 0.989 ms 10.8 MB
nested-rec-rule-nfields ✋ ✋ 1.20 ms 11.8 MB
nested-unused-param ✋ ✋ 1.58 ms 13.5 MB
open-term-cache-context ✋ ✋ 0.864 ms 9.1 MB
orphan-rec ✋ ✋ 0.840 ms 9.2 MB
pi-closure-context ✋ ✋ 0.840 ms 9.3 MB
proj-non-structure ✋ ✋ 0.892 ms 9.6 MB
proj-of-imax-prop ✋ ✋ 1.02 ms 11.3 MB
proj-of-param-prop ✋ 👍 0.952 ms 10.6 MB
proj-of-stuck-prop ✋ ✋ 3.47 ms 16.6 MB
proj-of-subst-prop ✋ ✋ 3.17 ms 16.1 MB
quot-bad-type ✋ ✋ 0.876 ms 9.7 MB
rec-k-lie ✋ ✋ 0.894 ms 10.0 MB
rec-missing-ih ✋ ✋ 3.50 ms 17.0 MB
rec-of-subst-prop ✋ ✋ 3.39 ms 16.7 MB
rec-rule-proof-irrel ✋ ✋ 1.05 ms 11.3 MB
rec-rule-proof-irrel-nested ✋ ✋ 1.19 ms 11.7 MB
rec-rule-wrong-arg ✋ ✋ 1.04 ms 11.0 MB
rec-type-proof-irrel ✋ ✋ 1.06 ms 11.3 MB
str-lit-utf8 👍 👍 5.86 ms 21.7 MB
str-lit-utf8-bad ✋ ✋ 6.89 ms 22.2 MB
unit-rec-rule ✋ ✋ 0.889 ms 9.9 MB
1 31.0 ms 13.7 MB
alg-conv-trans-acc 🤷 ✋ 1.69 ms 13.7 MB
alg-conv-trans-acc-left 🤷 👍 1.59 ms 13.0 MB
alg-conv-trans-acc-right 🤷 👍 1.60 ms 13.4 MB
alg-conv-trans-quot 🤷 ✋ 1.07 ms 10.8 MB
alg-conv-trans-quot-left 🤷 ✋ 1.09 ms 10.7 MB
alg-conv-trans-quot-left-def 🤷 👍 0.920 ms 10.2 MB
alg-conv-trans-quot-right 🤷 👍 0.907 ms 10.4 MB
eta-ctor 🤷 ✋ 0.966 ms 10.4 MB
eta-rec-struct 🤷 ✋ 0.996 ms 10.4 MB
eta-rule-k 🤷 ✋ 0.949 ms 10.3 MB
eta-struct-major-and 🤷 👍 0.913 ms 9.8 MB
eta-struct-major-and-no-whnf 🤷 ⌛ — —
eta-struct-major-no-whnf 🤷 ⌛ — —
eta-unit-like-nested 🤷 ✋ 1.07 ms 11.2 MB
eta-unit-like-pi 🤷 ✋ 0.927 ms 10.1 MB
eta-unit-like-proof-field 🤷 ✋ 0.930 ms 10.2 MB
eta-unit-like-struct 🤷 ✋ 0.932 ms 10.5 MB
imax-nested-absorption 🤷 👍 0.833 ms 8.9 MB
imax-right-successor 🤷 👍 0.832 ms 8.9 MB
large-elim-maybe-prop 🤷 ✋ 0.865 ms 9.9 MB
let-value-type-mismatch 🤷 ✋ 0.835 ms 9.4 MB
nested-nonuniform-param 🤷 ✋ 0.972 ms 10.2 MB
nested-redex-aux 🤷 👍 1.44 ms 12.5 MB
positivity-whnf 🤷 ✋ 0.897 ms 9.8 MB
proj-maybe-prop 🤷 👍 0.924 ms 10.3 MB
proj-maybe-prop-past 🤷 👍 0.924 ms 10.3 MB
proof-param-ok 👍 👍 0.857 ms 9.7 MB
proof-param-swap 🤷 ✋ 0.876 ms 9.5 MB
subject-reduction-redex 🤷 ✋ 1.64 ms 13.4 MB
subject-reduction-reduct 🤷 ✋ 1.62 ms 13.5 MB
vanishing-occurrence 🤷 👍 0.916 ms 10.0 MB
10 9.44 ms 11.5 MB
extra-rec ✋ ✋ 0.840 ms 9.3 MB
inductive-undeclared-universe ✋ ✋ 0.864 ms 9.3 MB
level-index-out-of-order 👍 👍 0.827 ms 8.4 MB
nat-lit-add 👍 👍 1.07 ms 11.3 MB
nat-lit-add-bad ✋ ✋ 1.11 ms 11.4 MB
nat-lit-ble 👍 👍 1.10 ms 11.5 MB
nat-lit-sub 👍 👍 1.09 ms 11.4 MB
orphan-ctor ✋ ✋ 0.840 ms 9.1 MB
proj-of-prop ✋ ✋ 0.879 ms 9.8 MB
sparse-name-index 👍 👍 0.827 ms 8.3 MB
44 2.75 min (÷4.8) 14.6 GB
app-lam 👍 👍 16.8 ms (÷289) 38.2 MB (÷38)
args-before-unfold 👍 👍 1.64 ms (÷25) 10.4 MB (÷8.8)
beta-ladder 👍 👍 15.2 ms (÷110) 32.4 MB (÷16)
church-numerals 👍 👍 7.00 ms (÷7.3) 14.0 MB (÷7.5)
discarded-argument 👍 👍 1.58 ms (÷107) 10.2 MB (÷9.0)
discarded-argument-match 👍 👍 3.97 ms (÷37) 11.2 MB (÷8.4)
folded-constant-first 👍 👍 1.79 ms (÷25) 13.3 MB (÷7.1)
folded-constant-last 👍 👍 1.79 ms (÷25) 13.2 MB (÷7.2)
fueled-chain 👍 👍 11.7 ms (÷11) 25.3 MB (÷4.0)
gf3-matrix-product 👍 👍 3.49 s (+92%) 786.6 MB (÷4.6)
grind-field-kernel-cancel 👍 👍 580 ms (÷44) 248.1 MB (-35%)
grind-ring-5 👍 👍 380 ms (÷5.7) 86.5 MB (÷2.9)
identical-nesting 👍 👍 0.908 ms (÷36) 9.6 MB (÷9.5)
irrelevance-before-evaluation 👍 👍 0.957 ms (÷35) 10.3 MB (÷8.9)
irrelevance-refutes 👍 👍 0.951 ms (÷35) 10.3 MB (÷8.9)
ite-taken-branch 👍 👍 48.5 ms (÷400) 62.1 MB (÷27)
ite-taken-branch-bad ✋ ✋ 27.6 s (×4.1) 551.2 MB (÷3.1)
let-fold 👍 👍 3.68 ms (÷17) 16.9 MB (÷5.6)
let-ladder 👍 👍 12.6 ms (÷80) 26.6 MB (÷12)
loop-unfolded-once 👍 👍 44.6 ms (÷12) 61.4 MB (-40%)
loop-unfolded-once-bad ✋ ✋ 78.1 ms (÷182) 62.6 MB (-40%)
magma-list-deep-n21 👍 👍 49.7 ms (÷54) 51.9 MB (÷13)
magma-list-deep-n36 👍 👍 205 ms (÷173) 91.8 MB (÷87)
magma-list-pair-n21 👍 👍 1.11 s (÷17) 450.0 MB (÷9.0)
magma-list-pair-n7 👍 👍 116 ms (÷15) 74.9 MB (÷6.1)
magma-string-n4 👍 👍 949 ms (÷3.8) 258.8 MB (+73%)
magma-string-pair-n9 👍 💥 2.00 min 14.6 GB
proj-app-lazy-delta 👍 👍 1.79 ms (÷1161) 13.1 MB (÷47)
proj-applied-struct 👍 👍 1.70 ms (÷8264) 12.7 MB (÷114)
proj-applied-struct-arg-bad ✋ ✋ 2.28 s (÷2.1) 326.6 MB (÷4.4)
proj-applied-struct-bad ✋ ✋ 710 ms (÷6.9) 239.8 MB (÷6.1)
proj-cheap-struct 👍 👍 1.58 ms (÷25) 12.8 MB (÷7.2)
proj-lazy-struct 👍 👍 1.24 ms (÷29) 11.7 MB (÷7.9)
proj-stuck-struct 👍 👍 1.27 ms (÷28) 11.9 MB (÷7.7)
prop-struct-projections 👍 👍 7.15 ms (÷15) 20.9 MB (÷4.6)
refute-cheap-first ✋ ✋ 4.54 ms (÷9.1) 19.5 MB (÷4.8)
refute-cheap-last ✋ ✋ 5.61 ms (÷32) 19.0 MB (÷4.9)
repeated-subproblem 👍 👍 0.972 ms (÷34) 10.0 MB (÷9.2)
shared-subterm 👍 👍 3.45 ms (÷18) 11.4 MB (÷8.7)
shift-cascade 👍 👍 2.37 ms (÷21) 12.3 MB (÷7.7)
short-circuit-and 👍 👍 38.4 ms (÷455) 54.8 MB (÷28)
short-circuit-and-bad ✋ ✋ 5.72 s (-7%) 2.0 GB (+30%)
unfold-before-literal 👍 👍 1.44 ms (÷10054) 12.0 MB (÷121)
unfold-before-literal-bad ✋ ✋ 710 ms (÷6.9) 239.9 MB (÷6.1)
unfold-before-literal-fallback 👍 ⌛ — —
unroll-versus-evaluate 👍 👍 1.06 ms (÷33) 10.3 MB (÷9.0)
141 124 ms 11.2 MB
001_basicDef 👍 👍 0.826 ms 8.6 MB
002_badDef ✋ ✋ 0.831 ms 8.9 MB
003_arrowType 👍 👍 0.827 ms 8.8 MB
004_dependentType 👍 👍 0.826 ms 8.7 MB
005_constType 👍 👍 0.827 ms 8.9 MB
006_betaReduction 👍 👍 0.829 ms 8.8 MB
007_betaReduction2 👍 👍 0.829 ms 8.8 MB
008_forallSortWhnf 👍 👍 0.829 ms 8.7 MB
009_forallSortBad ✋ ✋ 0.843 ms 9.2 MB
010_nonTypeType ✋ ✋ 0.835 ms 9.2 MB
011_nonTypeAxiom ✋ ✋ 0.834 ms 8.9 MB
012_nonPropThm ✋ ✋ 0.834 ms 8.9 MB
013_thmProof 👍 👍 0.829 ms 8.7 MB
014_selfProof ✋ ✋ 0.834 ms 8.8 MB
015_levelComp1 👍 👍 0.826 ms 8.4 MB
016_levelComp2 👍 👍 0.827 ms 8.7 MB
017_levelComp3 👍 👍 0.827 ms 8.7 MB
018_levelParams 👍 👍 0.830 ms 8.8 MB
019_tut06_bad01 ✋ ✋ 0.819 ms 7.0 MB
020_levelComp4 👍 👍 0.826 ms 8.7 MB
021_levelComp5 👍 👍 0.827 ms 8.7 MB
022_imax1 👍 👍 0.827 ms 8.5 MB
023_imax2 👍 👍 0.827 ms 8.9 MB
024_levelMaxComm 👍 👍 0.829 ms 8.8 MB
025_levelMaxAssoc 👍 👍 0.829 ms 8.7 MB
026_levelMaxIdem 👍 👍 0.827 ms 8.6 MB
027_levelMaxAbsorb 👍 👍 0.828 ms 8.7 MB
028_inferVar 👍 👍 0.826 ms 8.6 MB
029_defEqLambda 👍 👍 0.829 ms 8.7 MB
030_peano1 👍 👍 0.842 ms 8.9 MB
031_peano2 👍 👍 0.851 ms 9.2 MB
032_peano3 👍 👍 0.860 ms 9.4 MB
033_letType 👍 👍 0.826 ms 8.6 MB
034_letTypeDep 👍 👍 0.834 ms 9.2 MB
035_letRed 👍 👍 0.829 ms 8.8 MB
036_empty 👍 👍 0.836 ms 9.2 MB
037_boolType 👍 👍 0.850 ms 9.4 MB
038_twoBool 👍 👍 0.873 ms 9.5 MB
039_andType 👍 👍 0.862 ms 9.3 MB
040_prodType 👍 👍 0.868 ms 9.6 MB
041_pprodType 👍 👍 0.870 ms 9.7 MB
042_pUnitType 👍 👍 0.844 ms 9.2 MB
043_eqType 👍 👍 0.863 ms 9.3 MB
044_natDef 👍 👍 0.863 ms 9.5 MB
045_rbTreeDef 👍 👍 1.13 ms 10.6 MB
046_inductBadNonSort ✋ ✋ 0.835 ms 9.3 MB
047_inductBadNonSort2 ✋ ✋ 0.832 ms 9.0 MB
048_inductLevelParam ✋ ✋ 0.821 ms 7.6 MB
049_inductTooFewParams ✋ ✋ 0.831 ms 8.6 MB
050_inductWrongCtorParams ✋ ✋ 0.846 ms 9.3 MB
051_inductWrongCtorResParams ✋ ✋ 0.849 ms 9.5 MB
052_inductWrongCtorResLevel ✋ ✋ 0.851 ms 9.4 MB
053_inductInIndex ✋ ✋ 0.847 ms 9.1 MB
054_indNeg ✋ ✋ 0.845 ms 9.1 MB
055_reduceCtorParam.mk 👍 👍 0.871 ms 9.5 MB
056_reduceCtorType.mk ✋ ✋ 0.845 ms 9.1 MB
057_indNegReducible ✋ ✋ 0.855 ms 9.5 MB
058_predWithTypeField 👍 👍 0.846 ms 9.5 MB
059_typeWithTypeField 👍 👍 0.846 ms 9.1 MB
060_typeWithTypeFieldPoly 👍 👍 0.847 ms 9.4 MB
061_typeWithTooHighTypeField.mk ✋ ✋ 0.845 ms 9.2 MB
062_emptyRec 👍 👍 0.837 ms 9.3 MB
063_boolRec 👍 👍 0.853 ms 9.2 MB
064_twoBoolRec 👍 👍 0.877 ms 9.7 MB
065_andRec 👍 👍 0.866 ms 9.3 MB
066_prodRec 👍 👍 0.874 ms 9.4 MB
067_pprodRec 👍 👍 0.876 ms 9.7 MB
068_punitRec 👍 👍 0.847 ms 9.5 MB
069_eqRec 👍 👍 0.868 ms 9.6 MB
070_nRec 👍 👍 0.866 ms 9.7 MB
071_rbTreeRef 👍 👍 1.15 ms 10.5 MB
072_boolPropRec 👍 👍 0.851 ms 9.3 MB
073_BogusRecursor ✋ ✋ 0.850 ms 9.2 MB
074_existsRec 👍 👍 0.872 ms 9.7 MB
075_typeSingletonRecReduction 👍 👍 0.908 ms 10.0 MB
076_sortElimPropRec 👍 👍 0.897 ms 9.6 MB
077_sortElimProp2Rec 👍 👍 0.904 ms 10.0 MB
078_boolRecEqns 👍 👍 0.940 ms 10.2 MB
079_prodRecEqns 👍 👍 0.918 ms 10.2 MB
080_nRecReduction 👍 👍 0.962 ms 10.3 MB
081_listRecReduction 👍 👍 1.01 ms 10.6 MB
082_RBTree.id_spec 👍 👍 1.41 ms 11.2 MB
083_And.right 👍 👍 0.865 ms 9.2 MB
084_Prod.snd 👍 👍 0.872 ms 9.5 MB
085_PProd.snd 👍 👍 0.872 ms 9.5 MB
086_PSigma.snd 👍 👍 0.880 ms 9.5 MB
087_projOutOfRange ✋ ✋ 0.879 ms 9.4 MB
088_projNotStruct ✋ ✋ 0.871 ms 9.5 MB
089_projProp1 👍 👍 0.918 ms 10.0 MB
090_projProp2 ✋ ✋ 0.927 ms 10.5 MB
091_projProp3 👍 👍 0.918 ms 10.3 MB
092_projProp4 ✋ ✋ 0.927 ms 10.1 MB
093_projProp5 ✋ ✋ 0.933 ms 10.4 MB
094_projProp6 ✋ ✋ 0.928 ms 10.4 MB
095_projDataIndexRec 👍 👍 0.907 ms 10.0 MB
096_projIndexData ✋ ✋ 1.01 ms 10.8 MB
097_projIndexData2 ✋ ✋ 1.01 ms 10.9 MB
098_projRed 👍 👍 0.936 ms 10.4 MB
099_ruleK 👍 👍 0.892 ms 10.0 MB
100_ruleKbad ✋ ✋ 0.948 ms 10.3 MB
101_ruleKAcc ✋ ✋ 1.12 ms 10.7 MB
102_aNatLit 👍 👍 0.861 ms 9.6 MB
103_natLitEq 👍 👍 0.898 ms 10.0 MB
104_proofIrrelevance 👍 👍 0.868 ms 9.9 MB
105_proofIrrelevanceBad ✋ ✋ 0.905 ms 9.7 MB
106_proofIrrelevanceWhnf 👍 👍 0.872 ms 9.6 MB
107_proofIrrelevanceUnderBinder 👍 👍 0.845 ms 9.3 MB
108_unitEta1 👍 👍 0.886 ms 10.1 MB
109_unitEta2 👍 👍 0.884 ms 9.8 MB
110_unitEta3 👍 👍 0.884 ms 10.1 MB
111_indexedUnitEta ✋ ✋ 0.942 ms 10.1 MB
112_structEta 👍 👍 0.954 ms 10.2 MB
113_indexedStructEta ✋ ✋ 0.960 ms 10.5 MB
114_funEta 👍 👍 0.870 ms 9.6 MB
115_funEtaDep 👍 👍 0.871 ms 9.9 MB
116_funEtaBad ✋ ✋ 0.938 ms 9.8 MB
117_reflOccLeft ✋ ✋ 0.883 ms 9.6 MB
118_reflOccInIndex ✋ ✋ 0.892 ms 9.5 MB
119_reduceCtorParamRefl.mk 👍 👍 0.877 ms 9.7 MB
120_reduceCtorParamRefl2.mk 👍 👍 0.877 ms 9.5 MB
121_rTreeRec 👍 👍 0.894 ms 9.9 MB
122_rtreeRecReduction 👍 👍 0.940 ms 10.6 MB
123_accRecType 👍 👍 0.932 ms 10.0 MB
124_accRecReduction 👍 👍 0.996 ms 10.6 MB
125_accRecNoEta ✋ ✋ 1.12 ms 10.9 MB
126_quotMkType 👍 👍 0.896 ms 9.9 MB
127_quotIndType 👍 👍 0.898 ms 9.9 MB
128_quotLiftType 👍 👍 0.899 ms 9.9 MB
129_quotSoundType 👍 👍 0.906 ms 10.1 MB
130_quotLiftReduction 👍 👍 0.904 ms 10.1 MB
131_quotIndReduction 👍 👍 0.902 ms 10.1 MB
132_dup_defs ✋ ✋ 0.827 ms 8.8 MB
133_dup_ind_def ✋ ✋ 0.835 ms 8.7 MB
134_dup_ctor_def ✋ ✋ 0.835 ms 8.7 MB
135_dup_rec_def ✋ ✋ 0.835 ms 8.8 MB
136_misnamed_rec_user ✋ ✋ 0.850 ms 9.4 MB
137_dup_rec_def2 ✋ ✋ 0.835 ms 8.8 MB
138_dup_ctor_rec ✋ ✋ 0.827 ms 7.7 MB
139_DupConCon ✋ ✋ 0.829 ms 7.5 MB
140_falseFromUnsafe ✋ ✋ 0.842 ms 9.4 MB
141_falseFromPartial ✋ ✋ 0.846 ms 9.3 MB