Checker "lean4lean" on the tests of "tutorial"
Checker: lean4lean · Version: arena (932afa1) · 📄 Declaration · 🔗 Source
These tests are explained on the 📖 tutorial page.
001_basicDef
Test: tutorial/001_basicDef · Expected: 👍 accept · Size: 367 B · Lines: 6 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.6 ms · instructions: 176.6 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
002_badDef
Test: tutorial/002_badDef · Expected: ✋ reject · Size: 365 B · Lines: 6 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 48.9 ms · instructions: 437.7 M · max rss memory: 96.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x560fdbecf955]
.lake/build/bin/lean4lean(+0x8b57597) [0x560fdbec6597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x560fdbec667b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x560fd5bd6cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x560fd5c5a4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x560fd5c61722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x560fd5c68215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x560fd5c6897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x560fd5c68819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x560fd5c6897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x560fd5c6896c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x560fd5c6896c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x560fd5c69885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x560fd5a27c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x560fd5a2ad55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x560fd5a2c428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x560fd5a2da65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x560fd5a30f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x560fd584a370]
.lake/build/bin/lean4lean(+0x8b55737) [0x560fdbec4737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x560fdbec4b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f4586bf4d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f4586c7c63c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x560fdbecf955]
.lake/build/bin/lean4lean(+0x8b57597) [0x560fdbec6597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x560fdbec667b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x560fd5bd6cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x560fd5c5a4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x560fd5c61722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x560fd5c68215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x560fd5c6897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x560fd5c68819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x560fd5c6897d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x560fd5c69885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x560fd5a27c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x560fd5a2ad55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x560fd5a2c428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x560fd5a2da65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x560fd5a30f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x560fd584a370]
.lake/build/bin/lean4lean(+0x8b55737) [0x560fdbec4737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x560fdbec4b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f4586bf4d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f4586c7c63c]
uncaught exception: at badDef: (kernel) declaration type mismatch, 'badDef' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
Type.{1}
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
Prop
003_arrowType
Test: tutorial/003_arrowType · Expected: 👍 accept · Size: 622 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.7 ms · instructions: 176.7 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
004_dependentType
Test: tutorial/004_dependentType · Expected: 👍 accept · Size: 460 B · Lines: 7 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.3 ms · instructions: 176.6 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
005_constType
Test: tutorial/005_constType · Expected: 👍 accept · Size: 897 B · Lines: 17 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 176.8 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
006_betaReduction
Test: tutorial/006_betaReduction · Expected: 👍 accept · Size: 1.3 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.0 ms · instructions: 177.0 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
007_betaReduction2
Test: tutorial/007_betaReduction2 · Expected: 👍 accept · Size: 1.4 KB · Lines: 28 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 177.0 M · max rss memory: 88.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
008_forallSortWhnf
Test: tutorial/008_forallSortWhnf · Expected: 👍 accept · Size: 1.2 KB · Lines: 25 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.4 ms · instructions: 177.0 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
009_forallSortBad
Test: tutorial/009_forallSortBad · Expected: ✋ reject · Size: 1.2 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.4 ms · instructions: 178.5 M · max rss memory: 90.2 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at forallSortBad: (kernel) type expected x
010_nonTypeType
Test: tutorial/010_nonTypeType · Expected: ✋ reject · Size: 1.1 KB · Lines: 21 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.2 ms · instructions: 178.5 M · max rss memory: 90.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at nonTypeType: (kernel) type expected constType
011_nonTypeAxiom
Test: tutorial/011_nonTypeAxiom · Expected: ✋ reject · Size: 1.0 KB · Lines: 20 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 31.7 ms · instructions: 178.4 M · max rss memory: 90.2 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at nonTypeAxiom: (kernel) type expected constType
012_nonPropThm
Test: tutorial/012_nonPropThm · Expected: ✋ reject · Size: 424 B · Lines: 7 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.6 ms · instructions: 178.1 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at nonPropThm: (kernel) type of theorem 'nonPropThm' is not a proposition Prop
013_thmProof
Test: tutorial/013_thmProof · Expected: 👍 accept · Size: 1.3 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.8 ms · instructions: 177.0 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
014_selfProof
Test: tutorial/014_selfProof · Expected: ✋ reject · Size: 459 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.3 ms · instructions: 178.1 M · max rss memory: 89.0 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at selfProof: (kernel) unknown constant 'selfProof'
015_levelComp1
Test: tutorial/015_levelComp1 · Expected: 👍 accept · Size: 391 B · Lines: 7 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.8 ms · instructions: 176.6 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
016_levelComp2
Test: tutorial/016_levelComp2 · Expected: 👍 accept · Size: 409 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 176.6 M · max rss memory: 88.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
017_levelComp3
Test: tutorial/017_levelComp3 · Expected: 👍 accept · Size: 427 B · Lines: 9 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.5 ms · instructions: 176.6 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
018_levelParams
Test: tutorial/018_levelParams · Expected: 👍 accept · Size: 1.4 KB · Lines: 29 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.4 ms · instructions: 177.0 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
019_tut06_bad01
Test: tutorial/019_tut06_bad01 · Expected: ✋ reject · Size: 427 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.2 ms · instructions: 178.0 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at tut06_bad01: (kernel) failed to add declaration to environment, duplicate universe level parameter: 'u'
020_levelComp4
Test: tutorial/020_levelComp4 · Expected: 👍 accept · Size: 424 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 60.6 ms · instructions: 176.6 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
021_levelComp5
Test: tutorial/021_levelComp5 · Expected: 👍 accept · Size: 424 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.6 ms · instructions: 176.6 M · max rss memory: 88.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
022_imax1
Test: tutorial/022_imax1 · Expected: 👍 accept · Size: 809 B · Lines: 16 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.1 ms · instructions: 176.7 M · max rss memory: 88.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
023_imax2
Test: tutorial/023_imax2 · Expected: 👍 accept · Size: 828 B · Lines: 17 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.4 ms · instructions: 176.8 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
024_levelMaxComm
Test: tutorial/024_levelMaxComm · Expected: 👍 accept · Size: 524 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.2 ms · instructions: 176.6 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
025_levelMaxAssoc
Test: tutorial/025_levelMaxAssoc · Expected: 👍 accept · Size: 623 B · Lines: 16 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.2 ms · instructions: 176.7 M · max rss memory: 88.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
026_levelMaxIdem
Test: tutorial/026_levelMaxIdem · Expected: 👍 accept · Size: 447 B · Lines: 9 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.4 ms · instructions: 176.6 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
027_levelMaxAbsorb
Test: tutorial/027_levelMaxAbsorb · Expected: 👍 accept · Size: 526 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.1 ms · instructions: 176.7 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
028_inferVar
Test: tutorial/028_inferVar · Expected: 👍 accept · Size: 713 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.2 ms · instructions: 176.7 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
029_defEqLambda
Test: tutorial/029_defEqLambda · Expected: 👍 accept · Size: 1.4 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 26.3 ms · instructions: 177.0 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
030_peano1
Test: tutorial/030_peano1 · Expected: 👍 accept · Size: 3.6 KB · Lines: 73 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.5 ms · instructions: 178.2 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 7 declarations
031_peano2
Test: tutorial/031_peano2 · Expected: 👍 accept · Size: 4.5 KB · Lines: 90 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 38.3 ms · instructions: 179.0 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 8 declarations
032_peano3
Test: tutorial/032_peano3 · Expected: 👍 accept · Size: 4.9 KB · Lines: 98 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.6 ms · instructions: 179.6 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 10 declarations
033_letType
Test: tutorial/033_letType · Expected: 👍 accept · Size: 489 B · Lines: 9 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 176.6 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 1 declarations
034_letTypeDep
Test: tutorial/034_letTypeDep · Expected: 👍 accept · Size: 1.2 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.7 ms · instructions: 177.0 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
035_letRed
Test: tutorial/035_letRed · Expected: 👍 accept · Size: 627 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 176.7 M · max rss memory: 88.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
036_empty
Test: tutorial/036_empty · Expected: 👍 accept · Size: 1.2 KB · Lines: 20 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.5 ms · instructions: 176.9 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
037_boolType
Test: tutorial/037_boolType · Expected: 👍 accept · Size: 2.3 KB · Lines: 37 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 177.4 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
038_twoBool
Test: tutorial/038_twoBool · Expected: 👍 accept · Size: 4.2 KB · Lines: 65 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 178.2 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
039_andType
Test: tutorial/039_andType · Expected: 👍 accept · Size: 3.2 KB · Lines: 57 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 177.9 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
040_prodType
Test: tutorial/040_prodType · Expected: 👍 accept · Size: 3.8 KB · Lines: 76 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.6 ms · instructions: 178.2 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
041_pprodType
Test: tutorial/041_pprodType · Expected: 👍 accept · Size: 3.8 KB · Lines: 75 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.9 ms · instructions: 178.1 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
042_pUnitType
Test: tutorial/042_pUnitType · Expected: 👍 accept · Size: 1.8 KB · Lines: 31 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.6 ms · instructions: 177.2 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
043_eqType
Test: tutorial/043_eqType · Expected: 👍 accept · Size: 3.2 KB · Lines: 62 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.2 ms · instructions: 177.9 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
044_natDef
Test: tutorial/044_natDef · Expected: 👍 accept · Size: 3.3 KB · Lines: 61 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 177.8 M · max rss memory: 89.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
045_rbTreeDef
Test: tutorial/045_rbTreeDef · Expected: 👍 accept · Size: 15.7 KB · Lines: 296 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.6 ms · instructions: 184.2 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
046_inductBadNonSort
Test: tutorial/046_inductBadNonSort · Expected: ✋ reject · Size: 1.2 KB · Lines: 20 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.9 ms · instructions: 178.7 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductBadNonSort: (kernel) type expected fun x y => x
047_inductBadNonSort2
Test: tutorial/047_inductBadNonSort2 · Expected: ✋ reject · Size: 598 B · Lines: 8 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.0 ms · instructions: 178.3 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductBadNonSort2: (kernel) type expected aType
048_inductLevelParam
Test: tutorial/048_inductLevelParam · Expected: ✋ reject · Size: 515 B · Lines: 7 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 31.0 ms · instructions: 178.0 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductLevelParam: (kernel) failed to add declaration to environment, duplicate universe level parameter: 'u'
049_inductTooFewParams
Test: tutorial/049_inductTooFewParams · Expected: ✋ reject · Size: 548 B · Lines: 6 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.7 ms · instructions: 178.1 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductTooFewParams: (kernel) invalid inductive datatype declaration, incorrect number of parameters
050_inductWrongCtorParams
Test: tutorial/050_inductWrongCtorParams · Expected: ✋ reject · Size: 1.2 KB · Lines: 16 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.1 ms · instructions: 178.4 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductWrongCtorParams: (kernel) arg #1 of 'inductWrongCtorParams.mk' does not match inductive datatype parameters
051_inductWrongCtorResParams
Test: tutorial/051_inductWrongCtorResParams · Expected: ✋ reject · Size: 1.3 KB · Lines: 19 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.0 ms · instructions: 178.4 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductWrongCtorResParams: (kernel) invalid return type for 'inductWrongCtorResParams.mk'
052_inductWrongCtorResLevel
Test: tutorial/052_inductWrongCtorResLevel · Expected: ✋ reject · Size: 1.4 KB · Lines: 23 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 31.0 ms · instructions: 178.5 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductWrongCtorResLevel: (kernel) invalid return type for 'inductWrongCtorResLevel.mk'
053_inductInIndex
Test: tutorial/053_inductInIndex · Expected: ✋ reject · Size: 1.1 KB · Lines: 14 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.6 ms · instructions: 178.3 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at inductInIndex: (kernel) invalid return type for 'inductInIndex.mk'
054_indNeg
Test: tutorial/054_indNeg · Expected: ✋ reject · Size: 996 B · Lines: 12 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.5 ms · instructions: 178.3 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at indNeg: (kernel) arg #1 of 'indNeg.mk' has a non positive occurrence of the datatypes being declared
055_reduceCtorParam.mk
Test: tutorial/055_reduceCtorParam.mk · Expected: 👍 accept · Size: 4.1 KB · Lines: 80 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.9 ms · instructions: 178.4 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
056_reduceCtorType.mk
Test: tutorial/056_reduceCtorType.mk · Expected: ✋ reject · Size: 1.5 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.6 ms · instructions: 178.5 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at reduceCtorType: (kernel) invalid return type for 'reduceCtorType.mk'
057_indNegReducible
Test: tutorial/057_indNegReducible · Expected: ✋ reject · Size: 1.9 KB · Lines: 31 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.4 ms · instructions: 178.7 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at indNegReducible: (kernel) arg #1 of 'indNegReducible.mk' has a non positive occurrence of the datatypes being declared
058_predWithTypeField
Test: tutorial/058_predWithTypeField · Expected: 👍 accept · Size: 2.0 KB · Lines: 32 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.4 ms · instructions: 177.3 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
059_typeWithTypeField
Test: tutorial/059_typeWithTypeField · Expected: 👍 accept · Size: 2.1 KB · Lines: 36 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 177.3 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
060_typeWithTypeFieldPoly
Test: tutorial/060_typeWithTypeFieldPoly · Expected: 👍 accept · Size: 2.1 KB · Lines: 38 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.3 ms · instructions: 177.3 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
061_typeWithTooHighTypeField.mk
Test: tutorial/061_typeWithTooHighTypeField.mk · Expected: ✋ reject · Size: 943 B · Lines: 11 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 31.9 ms · instructions: 178.3 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at typeWithTooHighTypeField: (kernel) universe level of type_of(arg #1) of 'typeWithTooHighTypeField.mk' is too big for the corresponding inductive datatype
062_emptyRec
Test: tutorial/062_emptyRec · Expected: 👍 accept · Size: 1.2 KB · Lines: 21 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 177.0 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
063_boolRec
Test: tutorial/063_boolRec · Expected: 👍 accept · Size: 3.0 KB · Lines: 53 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 25.9 ms · instructions: 177.8 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
064_twoBoolRec
Test: tutorial/064_twoBoolRec · Expected: 👍 accept · Size: 4.8 KB · Lines: 78 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.9 ms · instructions: 178.6 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
065_andRec
Test: tutorial/065_andRec · Expected: 👍 accept · Size: 3.2 KB · Lines: 58 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 25.6 ms · instructions: 178.0 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
066_prodRec
Test: tutorial/066_prodRec · Expected: 👍 accept · Size: 4.0 KB · Lines: 79 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 31.9 ms · instructions: 178.4 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
067_pprodRec
Test: tutorial/067_pprodRec · Expected: 👍 accept · Size: 4.0 KB · Lines: 78 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.6 ms · instructions: 178.4 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
068_punitRec
Test: tutorial/068_punitRec · Expected: 👍 accept · Size: 2.2 KB · Lines: 39 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 177.4 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
069_eqRec
Test: tutorial/069_eqRec · Expected: 👍 accept · Size: 3.3 KB · Lines: 63 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.5 ms · instructions: 178.1 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
070_nRec
Test: tutorial/070_nRec · Expected: 👍 accept · Size: 3.3 KB · Lines: 61 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 33.7 ms · instructions: 177.9 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
071_rbTreeRef
Test: tutorial/071_rbTreeRef · Expected: 👍 accept · Size: 16.2 KB · Lines: 303 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.0 ms · instructions: 185.0 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
072_boolPropRec
Test: tutorial/072_boolPropRec · Expected: 👍 accept · Size: 2.3 KB · Lines: 34 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 177.4 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
073_BogusRecursor
Test: tutorial/073_BogusRecursor · Expected: ✋ reject · Size: 1.8 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.2 ms · instructions: 178.7 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at bogusRecursorFalse: (kernel) incorrect number of universe levels parameters for 'BogusRecursor.rec', #1 expected, #0 provided
074_existsRec
Test: tutorial/074_existsRec · Expected: 👍 accept · Size: 3.6 KB · Lines: 66 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.6 ms · instructions: 178.3 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
075_typeSingletonRecReduction
Test: tutorial/075_typeSingletonRecReduction · Expected: 👍 accept · Size: 7.9 KB · Lines: 138 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.5 ms · instructions: 180.0 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 5 declarations
076_sortElimPropRec
Test: tutorial/076_sortElimPropRec · Expected: 👍 accept · Size: 5.6 KB · Lines: 97 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.1 ms · instructions: 179.1 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
077_sortElimProp2Rec
Test: tutorial/077_sortElimProp2Rec · Expected: 👍 accept · Size: 6.6 KB · Lines: 114 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.3 ms · instructions: 179.7 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
078_boolRecEqns
Test: tutorial/078_boolRecEqns · Expected: 👍 accept · Size: 10.8 KB · Lines: 199 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.5 ms · instructions: 181.8 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
079_prodRecEqns
Test: tutorial/079_prodRecEqns · Expected: 👍 accept · Size: 10.1 KB · Lines: 205 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 181.5 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
080_nRecReduction
Test: tutorial/080_nRecReduction · Expected: 👍 accept · Size: 12.7 KB · Lines: 238 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.6 ms · instructions: 182.9 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 6 declarations
081_listRecReduction
Test: tutorial/081_listRecReduction · Expected: 👍 accept · Size: 17.5 KB · Lines: 335 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 186.5 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 7 declarations
082_RBTree.id_spec
Test: tutorial/082_RBTree.id_spec · Expected: 👍 accept · Size: 47.9 KB · Lines: 1.0 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 31.0 ms · instructions: 203.7 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 7 declarations
083_And.right
Test: tutorial/083_And.right · Expected: 👍 accept · Size: 4.3 KB · Lines: 74 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.7 ms · instructions: 178.5 M · max rss memory: 89.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
084_Prod.snd
Test: tutorial/084_Prod.snd · Expected: 👍 accept · Size: 4.5 KB · Lines: 83 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.7 ms · instructions: 178.6 M · max rss memory: 90.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
085_PProd.snd
Test: tutorial/085_PProd.snd · Expected: 👍 accept · Size: 4.5 KB · Lines: 83 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 26.9 ms · instructions: 178.6 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
086_PSigma.snd
Test: tutorial/086_PSigma.snd · Expected: 👍 accept · Size: 5.1 KB · Lines: 96 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.3 ms · instructions: 179.1 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
087_projOutOfRange
Test: tutorial/087_projOutOfRange · Expected: ✋ reject · Size: 3.8 KB · Lines: 67 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.1 ms · instructions: 179.7 M · max rss memory: 90.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projOutOfRange: (kernel) invalid projection z.3
088_projNotStruct
Test: tutorial/088_projNotStruct · Expected: ✋ reject · Size: 3.5 KB · Lines: 64 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.2 ms · instructions: 179.5 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projNotStruct: (kernel) invalid projection x.1
089_projProp1
Test: tutorial/089_projProp1 · Expected: 👍 accept · Size: 8.2 KB · Lines: 143 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.7 ms · instructions: 180.2 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
090_projProp2
Test: tutorial/090_projProp2 · Expected: ✋ reject · Size: 8.2 KB · Lines: 143 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.3 ms · instructions: 181.6 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projProp2: (kernel) invalid projection x.2
091_projProp3
Test: tutorial/091_projProp3 · Expected: 👍 accept · Size: 8.2 KB · Lines: 143 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.8 ms · instructions: 180.2 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
092_projProp4
Test: tutorial/092_projProp4 · Expected: ✋ reject · Size: 8.2 KB · Lines: 143 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.0 ms · instructions: 181.7 M · max rss memory: 90.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projProp4: (kernel) invalid projection x.4
093_projProp5
Test: tutorial/093_projProp5 · Expected: ✋ reject · Size: 8.4 KB · Lines: 148 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.6 ms · instructions: 181.8 M · max rss memory: 90.6 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projProp5: (kernel) invalid projection x.4
094_projProp6
Test: tutorial/094_projProp6 · Expected: ✋ reject · Size: 8.2 KB · Lines: 143 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 30.0 ms · instructions: 181.7 M · max rss memory: 90.5 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projProp6: (kernel) invalid projection x.6
095_projDataIndexRec
Test: tutorial/095_projDataIndexRec · Expected: 👍 accept · Size: 6.8 KB · Lines: 111 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 179.4 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
096_projIndexData
Test: tutorial/096_projIndexData · Expected: ✋ reject · Size: 14.1 KB · Lines: 226 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.5 ms · instructions: 184.1 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projIndexData: (kernel) invalid projection x.1
097_projIndexData2
Test: tutorial/097_projIndexData2 · Expected: ✋ reject · Size: 14.1 KB · Lines: 226 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.5 ms · instructions: 184.2 M · max rss memory: 90.3 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at projIndexData2: (kernel) invalid projection x.2
098_projRed
Test: tutorial/098_projRed · Expected: 👍 accept · Size: 9.9 KB · Lines: 177 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.0 ms · instructions: 181.1 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 6 declarations
099_ruleK
Test: tutorial/099_ruleK · Expected: 👍 accept · Size: 6.5 KB · Lines: 121 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.6 ms · instructions: 179.5 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
100_ruleKbad
Test: tutorial/100_ruleKbad · Expected: ✋ reject · Size: 6.5 KB · Lines: 121 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 49.1 ms · instructions: 452.9 M · max rss memory: 97.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x5619b873e955]
.lake/build/bin/lean4lean(+0x8b57597) [0x5619b8735597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5619b873567b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5619b2445cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5619b24c94e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5619b24d0722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5619b24d7215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5619b24d797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5619b24d7819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5619b24d797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5619b24d796c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5619b24d796c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5619b24d8885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5619b2296c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5619b2299d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5619b229b428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5619b229ca65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5619b229ca2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5619b229ff30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x5619b20b9370]
.lake/build/bin/lean4lean(+0x8b55737) [0x5619b8733737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x5619b8733b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f35cbc19d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f35cbca163c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x5619b873e955]
.lake/build/bin/lean4lean(+0x8b57597) [0x5619b8735597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5619b873567b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5619b2445cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5619b24c94e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5619b24d0722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5619b24d7215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5619b24d797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5619b24d7819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5619b24d797d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5619b24d8885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5619b2296c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5619b2299d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5619b229b428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5619b229ca65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5619b229ca2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5619b229ff30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x5619b20b9370]
.lake/build/bin/lean4lean(+0x8b55737) [0x5619b8733737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x5619b8733b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f35cbc19d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f35cbca163c]
uncaught exception: at ruleKbad: (kernel) declaration type mismatch, 'ruleKbad' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
(Eq.{1} Bool Bool.true Bool.false) -> (forall (a : Bool), Eq.{1} Bool a a)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (h : Eq.{1} Bool Bool.true Bool.false) (a : Bool), Eq.{1} Bool (Eq.rec.{1, 1} Bool Bool.true (fun (x._@.Tutorial.3161876795._hygCtx._hyg.17 : Bool) (x._@.Tutorial.3161876795._hygCtx._hyg.19 : Eq.{1} Bool Bool.true x._@.Tutorial.3161876795._hygCtx._hyg.17) => Bool) a Bool.false h) a
101_ruleKAcc
Test: tutorial/101_ruleKAcc · Expected: ✋ reject · Size: 12.5 KB · Lines: 229 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 51.6 ms · instructions: 468.2 M · max rss memory: 96.2 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x561d050e0955]
.lake/build/bin/lean4lean(+0x8b57597) [0x561d050d7597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x561d050d767b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x561cfede7cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x561cfee6b4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x561cfee72722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x561cfee79215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x561cfee7997d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x561cfee79819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x561cfee7997d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x561cfee7996c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x561cfee7996c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x561cfee7a885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x561cfec38c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x561cfec3bd55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x561cfec3d428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x561cfec3ea65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x561cfec3ea2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x561cfec3ea2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x561cfec41f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x561cfea5b370]
.lake/build/bin/lean4lean(+0x8b55737) [0x561d050d5737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x561d050d5b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f0f25292d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f0f2531a63c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x561d050e0955]
.lake/build/bin/lean4lean(+0x8b57597) [0x561d050d7597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x561d050d767b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x561cfede7cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x561cfee6b4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x561cfee72722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x561cfee79215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x561cfee7997d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x561cfee79819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x561cfee7997d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x561cfee7a885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x561cfec38c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x561cfec3bd55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x561cfec3d428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x561cfec3ea65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x561cfec3ea2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x561cfec3ea2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x561cfec41f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x561cfea5b370]
.lake/build/bin/lean4lean(+0x8b55737) [0x561d050d5737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x561d050d5b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f0f25292d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f0f2531a63c]
uncaught exception: at ruleKAcc: (kernel) declaration type mismatch, 'ruleKAcc' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (α : Sort.{u}) (p : α -> α -> Prop) (x : α), (Acc.{u} α p x) -> (forall (a : Bool), Eq.{1} Bool a a)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (α : Sort.{u}) (p : α -> α -> Prop) (x : α) (h : Acc.{u} α p x) (a : Bool), Eq.{1} Bool (Acc.rec.{1, u} α p (fun (x._@.Tutorial.4255978773._hygCtx._hyg.22 : α) (x._@.Tutorial.4255978773._hygCtx._hyg.24 : Acc.{u} α p x._@.Tutorial.4255978773._hygCtx._hyg.22) => Bool) (fun (x._@.Tutorial.4255978773._hygCtx._hyg.31 : α) (x._@.Tutorial.4255978773._hygCtx._hyg.33 : forall (y : α), (p y x._@.Tutorial.4255978773._hygCtx._hyg.31) -> (Acc.{u} α p y)) (x._@.Tutorial.4255978773._hygCtx._hyg.35 : forall (y : α), (p y x._@.Tutorial.4255978773._hygCtx._hyg.31) -> Bool) => a) x h) a
102_aNatLit
Test: tutorial/102_aNatLit · Expected: 👍 accept · Size: 3.0 KB · Lines: 54 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 39.5 ms · instructions: 177.7 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
103_natLitEq
Test: tutorial/103_natLitEq · Expected: 👍 accept · Size: 6.1 KB · Lines: 114 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.7 ms · instructions: 179.3 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
104_proofIrrelevance
Test: tutorial/104_proofIrrelevance · Expected: 👍 accept · Size: 5.0 KB · Lines: 100 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.5 ms · instructions: 178.8 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
105_proofIrrelevanceBad
Test: tutorial/105_proofIrrelevanceBad · Expected: ✋ reject · Size: 4.7 KB · Lines: 93 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 48.0 ms · instructions: 439.8 M · max rss memory: 97.0 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55a7506dc955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55a7506d3597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55a7506d367b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55a74a3e3cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55a74a4674e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55a74a46e722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55a74a475215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55a74a47597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55a74a475819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55a74a47597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55a74a47596c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55a74a47596c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55a74a476885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55a74a234c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55a74a237d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55a74a239428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55a74a23aa65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55a74a23df30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55a74a057370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55a7506d1737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55a7506d1b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7fdacae9bd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7fdacaf2363c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55a7506dc955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55a7506d3597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55a7506d367b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55a74a3e3cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55a74a4674e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55a74a46e722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55a74a475215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55a74a47597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55a74a475819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55a74a47597d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55a74a476885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55a74a234c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55a74a237d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55a74a239428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55a74a23aa65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55a74a23df30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55a74a057370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55a7506d1737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55a7506d1b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7fdacae9bd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7fdacaf2363c]
uncaught exception: at proofIrrelevanceBad: (kernel) declaration type mismatch, 'proofIrrelevanceBad' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (p : Type) (h1 : p), p -> (Eq.{1} p h1 h1)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (p : Type) (h1 : p) (h2 : p), Eq.{1} p h1 h2
106_proofIrrelevanceWhnf
Test: tutorial/106_proofIrrelevanceWhnf · Expected: 👍 accept · Size: 5.6 KB · Lines: 112 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.9 ms · instructions: 179.1 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
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
Result: 👍 accepted · exit code 0 · wall time: 26.8 ms · instructions: 177.3 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 7 declarations
108_unitEta1
Test: tutorial/108_unitEta1 · Expected: 👍 accept · Size: 6.2 KB · Lines: 116 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.3 ms · instructions: 179.3 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 5 declarations
109_unitEta2
Test: tutorial/109_unitEta2 · Expected: 👍 accept · Size: 5.9 KB · Lines: 109 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.3 ms · instructions: 179.2 M · max rss memory: 90.1 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
110_unitEta3
Test: tutorial/110_unitEta3 · Expected: 👍 accept · Size: 6.0 KB · Lines: 111 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.9 ms · instructions: 179.2 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
111_indexedUnitEta
Test: tutorial/111_indexedUnitEta · Expected: ✋ reject · Size: 7.2 KB · Lines: 121 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 48.6 ms · instructions: 477.1 M · max rss memory: 96.8 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55994577d955]
.lake/build/bin/lean4lean(+0x8b57597) [0x559945774597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55994577467b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55993f484cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55993f5084e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55993f50f722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55993f516215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55993f51697d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55993f516819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55993f51697d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55993f51696c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55993f51696c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55993f517885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55993f2d5c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55993f2d8d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55993f2da428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55993f2dba65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55993f2def30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55993f0f8370]
.lake/build/bin/lean4lean(+0x8b55737) [0x559945772737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x559945772b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f674f620d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f674f6a863c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55994577d955]
.lake/build/bin/lean4lean(+0x8b57597) [0x559945774597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55994577467b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55993f484cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55993f5084e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55993f50f722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55993f516215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55993f51697d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55993f516819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55993f51697d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55993f517885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55993f2d5c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55993f2d8d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55993f2da428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55993f2dba65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55993f2dba2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55993f2def30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55993f0f8370]
.lake/build/bin/lean4lean(+0x8b55737) [0x559945772737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x559945772b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f674f620d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f674f6a863c]
uncaught exception: at indexedUnitEta: (kernel) declaration type mismatch, 'indexedUnitEta' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (x : IndexedUnit Bool.true), (IndexedUnit Bool.true) -> (Eq.{1} (IndexedUnit Bool.true) x x)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (x : IndexedUnit Bool.true) (y : IndexedUnit Bool.true), Eq.{1} (IndexedUnit Bool.true) x y
112_structEta
Test: tutorial/112_structEta · Expected: 👍 accept · Size: 12.5 KB · Lines: 230 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 26.8 ms · instructions: 182.9 M · max rss memory: 89.8 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 7 declarations
113_indexedStructEta
Test: tutorial/113_indexedStructEta · Expected: ✋ reject · Size: 8.5 KB · Lines: 138 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 47.8 ms · instructions: 465.6 M · max rss memory: 96.2 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55b9c4d17955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55b9c4d0e597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55b9c4d0e67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55b9bea1ecb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55b9beaa24e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55b9beaa9722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55b9beab0215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55b9beab097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55b9beab0819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55b9beab097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55b9beab096c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55b9beab096c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55b9beab1885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55b9be86fc5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55b9be872d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55b9be874428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55b9be875a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55b9be875a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55b9be875a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55b9be878f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55b9be692370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55b9c4d0c737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55b9c4d0cb22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f9975a7dd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f9975b0563c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55b9c4d17955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55b9c4d0e597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55b9c4d0e67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55b9bea1ecb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55b9beaa24e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55b9beaa9722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55b9beab0215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55b9beab097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55b9beab0819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55b9beab097d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55b9beab1885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55b9be86fc5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55b9be872d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55b9be874428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55b9be875a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55b9be875a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55b9be875a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55b9be878f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55b9be692370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55b9c4d0c737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55b9c4d0cb22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f9975a7dd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f9975b0563c]
uncaught exception: at indexedStructEta: (kernel) declaration type mismatch, 'indexedStructEta' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (x : IndexedSingleton Bool.true), Eq.{1} (IndexedSingleton Bool.true) x x
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (x : IndexedSingleton Bool.true), Eq.{1} (IndexedSingleton Bool.true) (IndexedSingleton.mk True.intro) x
114_funEta
Test: tutorial/114_funEta · Expected: 👍 accept · Size: 5.2 KB · Lines: 104 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.8 ms · instructions: 179.0 M · max rss memory: 89.6 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
115_funEtaDep
Test: tutorial/115_funEtaDep · Expected: 👍 accept · Size: 5.3 KB · Lines: 106 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 30.0 ms · instructions: 179.1 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
116_funEtaBad
Test: tutorial/116_funEtaBad · Expected: ✋ reject · Size: 4.9 KB · Lines: 97 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 49.1 ms · instructions: 452.2 M · max rss memory: 97.0 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x56110a80c955]
.lake/build/bin/lean4lean(+0x8b57597) [0x56110a803597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x56110a80367b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x561104513cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5611045974e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x56110459e722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5611045a5215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5611045a597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5611045a5819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5611045a597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5611045a596c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5611045a596c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5611045a6885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x561104364c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x561104367d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x561104369428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x56110436aa65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x56110436aa2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x56110436df30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x561104187370]
.lake/build/bin/lean4lean(+0x8b55737) [0x56110a801737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x56110a801b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f3e1f474d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f3e1f4fc63c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x56110a80c955]
.lake/build/bin/lean4lean(+0x8b57597) [0x56110a803597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x56110a80367b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x561104513cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5611045974e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x56110459e722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5611045a5215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5611045a597d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5611045a5819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5611045a597d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5611045a6885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x561104364c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x561104367d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x561104369428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x56110436aa65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x56110436aa2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x56110436df30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x561104187370]
.lake/build/bin/lean4lean(+0x8b55737) [0x56110a801737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x56110a801b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f3e1f474d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f3e1f4fc63c]
uncaught exception: at funEtaBad: (kernel) declaration type mismatch, 'funEtaBad' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (x._@.Tutorial.4249243883._hygCtx._hyg.28 : Type) (x._@.Tutorial.4249243883._hygCtx._hyg.30 : Type), (x._@.Tutorial.4249243883._hygCtx._hyg.28 -> x._@.Tutorial.4249243883._hygCtx._hyg.28) -> (forall (f : x._@.Tutorial.4249243883._hygCtx._hyg.28 -> x._@.Tutorial.4249243883._hygCtx._hyg.30), Eq.{1} (x._@.Tutorial.4249243883._hygCtx._hyg.28 -> x._@.Tutorial.4249243883._hygCtx._hyg.30) f f)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (α : Type) (β : Type) (g : α -> α) (f : α -> β), Eq.{1} (α -> β) (fun (x : α) => f (g x)) f
117_reflOccLeft
Test: tutorial/117_reflOccLeft · Expected: ✋ reject · Size: 3.7 KB · Lines: 61 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 28.4 ms · instructions: 179.5 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at reflOccLeft: (kernel) arg #1 of 'reflOccLeft.mk' has a non positive occurrence of the datatypes being declared
118_reflOccInIndex
Test: tutorial/118_reflOccInIndex · Expected: ✋ reject · Size: 3.9 KB · Lines: 66 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.3 ms · instructions: 180.2 M · max rss memory: 90.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at reflOccInIndex: (kernel) application type mismatch reflOccInIndex x argument has type Nat but function has type Type → Type
119_reduceCtorParamRefl.mk
Test: tutorial/119_reduceCtorParamRefl.mk · Expected: 👍 accept · Size: 4.5 KB · Lines: 88 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.5 ms · instructions: 178.6 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
120_reduceCtorParamRefl2.mk
Test: tutorial/120_reduceCtorParamRefl2.mk · Expected: 👍 accept · Size: 4.5 KB · Lines: 88 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.2 ms · instructions: 178.6 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
121_rTreeRec
Test: tutorial/121_rTreeRec · Expected: 👍 accept · Size: 5.5 KB · Lines: 91 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.1 ms · instructions: 178.9 M · max rss memory: 89.5 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
122_rtreeRecReduction
Test: tutorial/122_rtreeRecReduction · Expected: 👍 accept · Size: 10.7 KB · Lines: 191 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 38.8 ms · instructions: 181.5 M · max rss memory: 89.9 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 6 declarations
123_accRecType
Test: tutorial/123_accRecType · Expected: 👍 accept · Size: 7.5 KB · Lines: 151 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.3 ms · instructions: 180.2 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 2 declarations
124_accRecReduction
Test: tutorial/124_accRecReduction · Expected: 👍 accept · Size: 13.0 KB · Lines: 243 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 29.6 ms · instructions: 183.5 M · max rss memory: 90.0 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
125_accRecNoEta
Test: tutorial/125_accRecNoEta · Expected: ✋ reject · Size: 12.7 KB · Lines: 235 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 49.2 ms · instructions: 468.3 M · max rss memory: 96.3 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x56085e397955]
.lake/build/bin/lean4lean(+0x8b57597) [0x56085e38e597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x56085e38e67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x56085809ecb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5608581224e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x560858129722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x560858130215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x56085813097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x560858130819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x56085813097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x56085813096c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x56085813096c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x560858131885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x560857eefc5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x560857ef2d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x560857ef4428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x560857ef5a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x560857ef5a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x560857ef5a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x560857ef8f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x560857d12370]
.lake/build/bin/lean4lean(+0x8b55737) [0x56085e38c737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x56085e38cb22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f10138f5d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f101397d63c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x56085e397955]
.lake/build/bin/lean4lean(+0x8b57597) [0x56085e38e597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x56085e38e67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x56085809ecb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5608581224e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x560858129722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x560858130215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x56085813097d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x560858130819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x56085813097d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x560858131885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x560857eefc5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x560857ef2d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x560857ef4428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x560857ef5a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x560857ef5a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x560857ef5a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x560857ef8f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x560857d12370]
.lake/build/bin/lean4lean(+0x8b55737) [0x56085e38c737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x56085e38cb22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f10138f5d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f101397d63c]
uncaught exception: at accRecNoEta: (kernel) declaration type mismatch, 'accRecNoEta' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall (α : Type) (r : α -> α -> Prop) (a : α), (Acc.{1} α r a) -> (forall (p : Bool), Eq.{1} Bool p p)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
forall {α : Type} (r : α -> α -> Prop) (a : α) (h : Acc.{1} α r a) (p : Bool), Eq.{1} Bool (Acc.rec.{1, 1} α r (fun (x._@.Tutorial.4017164079._hygCtx._hyg.22 : α) (x._@.Tutorial.4017164079._hygCtx._hyg.24 : Acc.{1} α r x._@.Tutorial.4017164079._hygCtx._hyg.22) => Bool) (fun (x._@.Tutorial.4017164079._hygCtx._hyg.31 : α) (x._@.Tutorial.4017164079._hygCtx._hyg.33 : forall (y : α), (r y x._@.Tutorial.4017164079._hygCtx._hyg.31) -> (Acc.{1} α r y)) (x._@.Tutorial.4017164079._hygCtx._hyg.35 : forall (y : α), (r y x._@.Tutorial.4017164079._hygCtx._hyg.31) -> Bool) => p) a h) p
126_quotMkType
Test: tutorial/126_quotMkType · Expected: 👍 accept · Size: 6.3 KB · Lines: 123 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.4 ms · instructions: 179.1 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
127_quotIndType
Test: tutorial/127_quotIndType · Expected: 👍 accept · Size: 6.3 KB · Lines: 124 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.7 ms · instructions: 179.2 M · max rss memory: 89.4 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
128_quotLiftType
Test: tutorial/128_quotLiftType · Expected: 👍 accept · Size: 6.3 KB · Lines: 124 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.7 ms · instructions: 179.2 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
129_quotSoundType
Test: tutorial/129_quotSoundType · Expected: 👍 accept · Size: 7.2 KB · Lines: 141 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.7 ms · instructions: 179.6 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 4 declarations
130_quotLiftReduction
Test: tutorial/130_quotLiftReduction · Expected: 👍 accept · Size: 7.8 KB · Lines: 153 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 28.7 ms · instructions: 180.3 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
131_quotIndReduction
Test: tutorial/131_quotIndReduction · Expected: 👍 accept · Size: 7.6 KB · Lines: 151 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: 👍 accepted · exit code 0 · wall time: 27.6 ms · instructions: 180.2 M · max rss memory: 89.3 MB · run 2026-11-22 12:44:12 UTC
stdout:
checked 3 declarations
132_dup_defs
Test: tutorial/132_dup_defs · Expected: ✋ reject · Size: 475 B · Lines: 7 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 26.9 ms · instructions: 176.6 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_defs
133_dup_ind_def
Test: tutorial/133_dup_ind_def · Expected: ✋ reject · Size: 1.7 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 26.9 ms · instructions: 177.0 M · max rss memory: 89.2 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_ind_def
134_dup_ctor_def
Test: tutorial/134_dup_ctor_def · Expected: ✋ reject · Size: 1.7 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.4 ms · instructions: 177.0 M · max rss memory: 88.3 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_ctor_def.mk
135_dup_rec_def
Test: tutorial/135_dup_rec_def · Expected: ✋ reject · Size: 1.7 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 26.8 ms · instructions: 177.0 M · max rss memory: 88.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_rec_def.rec
136_misnamed_rec_user
Test: tutorial/136_misnamed_rec_user · Expected: ✋ reject · Size: 2.0 KB · Lines: 33 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.8 ms · instructions: 178.7 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at misnamed_rec_user: (kernel) unknown constant 'misnamed_rec.not_rec'
137_dup_rec_def2
Test: tutorial/137_dup_rec_def2 · Expected: ✋ reject · Size: 1.7 KB · Lines: 28 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.8 ms · instructions: 178.6 M · max rss memory: 89.7 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at dup_rec_def2: (kernel) constant has already been declared 'dup_rec_def2.rec'
138_dup_ctor_rec
Test: tutorial/138_dup_ctor_rec · Expected: ✋ reject · Size: 1.5 KB · Lines: 24 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 26.6 ms · instructions: 176.9 M · max rss memory: 88.9 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_ctor_rec.rec
139_DupConCon
Test: tutorial/139_DupConCon · Expected: ✋ reject · Size: 2.2 KB · Lines: 34 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 26.9 ms · instructions: 177.1 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: Duplicate declaration: dup_ind_con_con.mk
140_falseFromUnsafe
Test: tutorial/140_falseFromUnsafe · Expected: ✋ reject · Size: 1.3 KB · Lines: 22 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 27.4 ms · instructions: 178.4 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at falseFromUnsafe: (kernel) unknown constant 'unsafeLoop'
141_falseFromPartial
Test: tutorial/141_falseFromPartial · Expected: ✋ reject · Size: 1.3 KB · Lines: 22 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
Result: ✋ rejected · exit code 1 · wall time: 29.7 ms · instructions: 178.4 M · max rss memory: 89.1 MB · run 2026-11-22 12:44:12 UTC
stderr:
uncaught exception: at falseFromPartial: (kernel) unknown constant 'partialLoop'