Lean Kernel Arena / tutorial/107_proofIrrelevanceUnderBinder

Test "tutorial/107_proofIrrelevanceUnderBinder"

Expected: 👍 accept · Size: 1.9 KB · Lines: 39 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial

Proof irrelevance applies to any two terms of a proposition, not just to variables. Checking this definition needs aPropFamily (h anElem) ≡ aPropFamily (h anotherElem), i.e. h anElem ≡ h anotherElem. Both are proofs of aProp, since h : aType → aProp, so they are definitionally equal even though their arguments are not. A checker that compares the two applications structurally, without first noticing that they are proofs, wrongly rejects this.

Checker Result ⏱️ 🧠
nano-lean 👍 0.490 ms 13.6 MB
gruszka 👍 1.78 ms 60.1 MB
mathgraph 👍 0.634 ms 25.8 MB
sokonanoda 👍 0.637 ms 25.9 MB
pestka 👍 2.15 ms 19.8 MB
kefir 👍 0.431 ms 5.8 MB
kefir-wasm 👍 99.5 ms 81.6 MB
con-ron 🚫 28.9 ms 43.8 MB
con-ron-stream 🚫 29.4 ms 45.2 MB
con-agua 🚫 20.1 ms 11.6 MB
nanobruijn 👍 0.445 ms 3.3 MB
nanoda 👍 0.441 ms 3.0 MB
con-leche 🚫 3.96 ms 23.0 MB
pestka-wasm 👍 508 ms 312.2 MB
official-nightly 👍 33.1 ms 107.2 MB
eink0rn 👍 1.29 ms 11.1 MB
official 👍 31.9 ms 92.0 MB
ind-models 👍 99.8 ms 95.2 MB
kiota 👍 0.632 ms 11.1 MB
tenet 👍 110 ms 44.2 MB
tenet-hs 👍 1.09 ms 7.8 MB
logos-kernel 👍 0.410 ms 4.1 MB
evmlean 👍 1.06 s 273.4 MB
mini 👍 33.9 ms 75.0 MB
overfull 👍 3.72 s 45.6 MB
lean4lean 👍 29.5 ms 89.4 MB
lean4cobol 👍 2.01 ms 13.4 MB
tenet-jvm 👍 96.5 ms 76.6 MB
nanoclo 👍 0.595 ms 35.5 MB
vow-lean-kernel 👍 138 ms 14.3 MB
canonical-min ✋ 392 ms 1.1 GB
lazylean 👍 1.07 ms 21.0 MB
rpylean 👍 0.845 ms 9.3 MB
metalean-slow 👍 29.7 ms 64.0 MB
metalean-fast 👍 29.7 ms 60.8 MB
nanoclo-fortran 👍 0.662 ms 4.2 MB