Test "perf/irrelevance-before-evaluation"
Expected: 馃憤 accept 路 Size: 17.5鈥疜B 路 Lines: 388 路 lean4export: 3.1.0 路 Lean: 4.36.0 路 Timeout: 40.0鈥痵 路 馃搫 Declaration 路 馃敆 Source
The declaration to check is
slowTriv (count #n) = True.intro
proved by Eq.refl, where slowTriv m : True recurses over m, so forcing
it to a constructor evaluates the numeral in 螛(n虏) reductions.
Checking compares the two proofs as arguments of Eq, whose head is rigid:
nothing can be unfolded instead. Proof irrelevance settles the proofs by
their type for 螛(1); evaluating the left one to a constructor costs
螛(n虏) and yields the answer irrelevance already gave. The test asks
whether a checker consults proof irrelevance before it reduces.
N=200 in the Lean source.
| Checker | Result | 鈴憋笍 | 馃 | |||
|---|---|---|---|---|---|---|
| nano-lean | 馃憤 | 0.630鈥痬s | (梅53) | 26.4鈥疢B | (梅3.5) | |
| gruszka | 馃憤 | 2.17鈥痬s | (梅15) | 82.1鈥疢B | (-10%) | |
| mathgraph | 馃憤 | 1.01鈥痬s | (梅33) | 29.8鈥疢B | (梅3.1) | |
| sokonanoda | 馃憤 | 0.891鈥痬s | (梅37) | 29.6鈥疢B | (梅3.1) | |
| pestka | 馃憤 | 2.30鈥痬s | (梅14) | 16.9鈥疢B | (梅5.4) | |
| kefir | 馃憤 | 0.867鈥痬s | (梅38) | 6.3鈥疢B | (梅15) | |
| kefir-wasm | 馃憤 | 115鈥痬s | (脳3.5) | 83.8鈥疢B | (-9%) | |
| con-ron | 馃憤 | 29.3鈥痬s | (-12%) | 41.4鈥疢B | (梅2.2) | |
| con-ron-stream | 馃憤 | 29.9鈥痬s | (-10%) | 47.2鈥疢B | (-48%) | |
| con-agua | 馃憤 | 20.6鈥痬s | (-38%) | 13.6鈥疢B | (梅6.7) | |
| nanobruijn | 馃憤 | 1.23鈥痬s | (梅27) | 11.9鈥疢B | (梅7.7) | |
| nanoda | 馃憤 | 0.884鈥痬s | (梅38) | 3.0鈥疢B | (梅30) | |
| con-leche | 馃憤 | 4.54鈥痬s | (梅7.3) | 25.2鈥疢B | (梅3.6) | |
| pestka-wasm | 馃憤 | 518鈥痬s | (脳16) | 314.1鈥疢B | (脳3.4) | |
| official-nightly | 馃憤 | 34.3鈥痬s | (+3%) | 96.8鈥疢B | (+6%) | |
| eink0rn | 馃憤 | 1.79鈥痬s | (梅19) | 12.3鈥疢B | (梅7.4) | |
| official | 馃憤 | 33.2鈥痬s | 91.6鈥疢B | |||
| ind-models | 馃憤 | 105鈥痬s | (脳3.2) | 110.1鈥疢B | (+20%) | |
| kiota | 馃憤 | 1.29鈥痬s | (梅26) | 11.4鈥疢B | (梅8.0) | |
| tenet | 馃憤 | 137鈥痬s | (脳4.1) | 44.0鈥疢B | (梅2.1) | |
| tenet-hs | 馃憤 | 1.88鈥痬s | (梅18) | 9.4鈥疢B | (梅9.8) | |
| logos-kernel | 馃憤 | 0.520鈥痬s | (梅64) | 4.4鈥疢B | (梅21) | |
| evmlean | 馃毇 | 1.90鈥痵 | 275.9鈥疢B | |||
| mini | 馃憤 | 36.4鈥痬s | (+10%) | 65.1鈥疢B | (-29%) | |
| overfull | 馃憤 | 51.8鈥痵 | (脳1562) | 47.6鈥疢B | (-48%) | |
| lean4lean | 馃憤 | 30.8鈥痬s | (-7%) | 89.9鈥疢B | (-2%) | |
| lean4cobol | 馃憤 | 9.95鈥痬s | (梅3.3) | 14.3鈥疢B | (梅6.4) | |
| tenet-jvm | 馃憤 | 123鈥痬s | (脳3.7) | 77.0鈥疢B | (-16%) | |
| nanoclo | 馃憤 | 0.838鈥痬s | (梅40) | 49.5鈥疢B | (-46%) | |
| vow-lean-kernel | 馃憤 | 192鈥痬s | (脳5.8) | 18.7鈥疢B | (梅4.9) | |
| canonical-min | 馃毇 | 389鈥痬s | 1.0鈥疓B | |||
| lazylean | 馃憤 | 1.26鈥痬s | (梅26) | 21.4鈥疢B | (梅4.3) | |
| rpylean | 馃憤 | 0.957鈥痬s | (梅35) | 10.3鈥疢B | (梅8.9) | |
| metalean-slow | 馃憤 | 45.7鈥痬s | (+38%) | 61.0鈥疢B | (-33%) | |
| metalean-fast | 馃憤 | 32.0鈥痬s | (-4%) | 73.1鈥疢B | (-20%) | |
| nanoclo-fortran | 馃憤 | 1.49鈥痬s | (梅22) | 4.7鈥疢B | (梅20) |