`lake comparator --paranoid`: on a 2.45 GB export, lean4lean, nanoda, con-leche and con-ron exit non-zero at their own limits while leanchecker-paranoid and the default kernel accept
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start with src/lake/Lake/CLI/Check.lean and trace runExternalKernel, then inspect the comparator's progress output and JSON report. Reproduce the reported checker exits, especially con-leche's exit 2/3 versus exit 1, and check how each outcome is represented. Done means resource limits, crashes, and rejection are distinguishable in the progress line and report.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Toolchain: leanprover/lean4:v4.36.0-rc2 (the release's bundled leanchecker-paranoid, lean4lean, nanoda_bin 0.4.17, con-leche, con-ron), Linux x86-64, 16 vCPU / 128 GB, --inadvisably-no-sandbox (bubblewrap cannot create a user namespace on that container).
What I ran. lake comparator --paranoid on a solution whose theorem closes over Mathlib and a 3,210-module project (OpenAI's openai/math family-378 proof plus two bridge theorems, ported). The exporter wrote 2,452,607,904 bytes (45,400,403 lines). The judge's output:
Lean paranoid kernel accepts the solution
lean4lean kernel rejected the solution
nanoda kernel rejected the solution
con-leche kernel rejected the solution
con-ron kernel rejected the solution
Lean default kernel accepts the solution
and stderr, one line per checker:
uncaught exception: at OAI.Algorithms.SubexponentialSAT.SqrtLog.LeafRingSetupProgram.Interpolation.staged_ready: (kernel) deterministic timeout
thread 'thread_3' (67698) has overflowed its stack
fatal runtime error: stack overflow, aborting
con-leche: internal error: fuel exhausted: whnfCore [at theorem OAI.Bridges.AnthropicETH.converterHypothesis_proved, fold position 24102] (--verified) t=191.6s
con-ron: error: fuel exhausted: whnfCore [at thm OAI.Bridges.AnthropicETH.converterHypothesis_proved, fold position 24102] (--verified) t=80.973s
error: lean4lean exited with 1
Reproduced by hand on the same export (made with the toolchain's leanexport, the module and the declaration list the comparator printed), each checker alone with /usr/bin/time -v:
| checker | as the comparator runs it | with more room |
|---|---|---|
| nanoda_bin 0.4.17 (bundled) | exit 134, stack overflow in a worker thread after 47 s; its config has no stack-size field (the 15 fields: use_stdin … unsafe_permit_all_axioms); RUST_MIN_STACK=1073741824 changes nothing |
ammkrn/nanoda_lib at 8de7e0c4, built from source, num_threads 16 and stack_size_bytes 1 GiB: exit 0 in 142 s, 101,621 declarations, 37 GB RSS |
| lean4lean (bundled) | exit 1 after 549 s, (kernel) deterministic timeout (its FuelConfig at the defaults: whnf 100000, whnfEager 1000000, lazyDelta 1000, etaExpand 1000, recDepth 50000, inductiveFuel 1000) |
every field ×100 by --config:field=value: exit 0 in 1,382 s |
| leanchecker-paranoid | exit 0 in 1,529 s | — |
| con-leche | exit 3 after 170 s, internal error: fuel exhausted: whnfCore |
the same with --jobs=16; the fuel is a compiled constant (Level.defaultFuel and the knot's fuel), no setting I could find |
| con-ron | exit 3 after 69 s, the same message at the same declaration | the same |
So the four are resource stops, not rejections of a declaration: nanoda and lean4lean accept the export once given room, and con-leche's own source calls a fuel stop "OUR resource limit, so a DECLINE, never a verdict" — yet the comparator prints "rejected the solution" for every non-zero exit and exits 1, with the checker's message visible only on stderr.
What would help, in the order I would value it:
runExternalKernel(src/lake/Lake/CLI/Check.lean) distinguishes a checker's decline or crash (con-leche's exit 2/3, a signal) from a rejection (exit 1), in the progress line and in the JSON report, so a--paranoidrun that cannot finish is reported as such.- The nanoda config the comparator writes gets a
stack_size_bytesfield, or the bundled nanoda_bin is built from a version that reads it;num_threadscould follow the machine. - lean4lean's fuel defaults, or a way to pass
--config:through the comparator'sexternal_kernels(which works today: naminglean4lean --config:whnf=… --importas an external kernel is how I got the accepting run).
Everything above is in a public record with the pod facts (every stdout/stderr, /usr/bin/time -v), the export's sha256 and the exact commands: https://github.com/carlostoledo1891/cert-machine/blob/main/certs/eth-openai-chain.json (fields judge.shipped, judge.diagnosis, judge.named) and the run directories under corpus/eth-refutation/openai-chain/runs/. The export itself is 2.45 GB and reproducible from https://github.com/carlostoledo1891/claimbox/tree/bdf357ef782847f506a605b76f77edafa9fcc50f/lean/eth-bridge (lake build EthBridge.OpenAIChain, ~50 min on 16 vCPU). I can upload it somewhere if useful. Prepared with Claude's help.
The checker-side reports: https://github.com/ammkrn/nanoda_lib/issues/80 (the bundled nanoda_bin and the stack field) and https://github.com/leanprover/con-leche/issues/16 (the compiled fuel; con-ron named inside).
- Lenguaje dominante
- Lean
- Estrellas
- 10.3k
- Forks
- 1.1k
- Merge medio
- 19 h 8 min
- PR fusionados (30 d)
- 421
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de leanprover/lean4
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
leanprover/lean4#16681 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
leanprover/lean4#16305 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
leanprover/lean4#16299 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
leanprover/lean4#16257 ·
Los mantenedores suelen responder en 1 día
-
`IO.FS.realPath` reports every failure as `noFileOrDirectory` instead of classifying by `errno`Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
leanprover/lean4#15683 ·
Los mantenedores suelen responder en 1 día
Todos los issues de leanprover/lean4
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
garden
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
taecontrol/google-accounts-mcp#97 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
TigreGotico/scriptconv-copyleft#13 ·
Los mantenedores suelen responder en 1 día
-
bug mac test-rig
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día