Zulip Chat Archive
Stream: lean4
Topic: trustLevel = 0 still trust fake olean files
Kitsune Kiriha (Dec 30 2025 at 00:40):
I do the following experiment:
s.png
- Compile a lean file.
- Manually modify the
oleanfile to make it a mismatched (false) olean. - Compile another lean file which imports this false module, and set
trustLevel = 0(--trust=0). - Lean4 passes the proof and says the axioms set is correct.
Do I have wrong understanding fortrustLevelin documentation? I also see the Lean source code is simply discard this argument. Is it not implemented yet?
James E Hanson (Dec 30 2025 at 00:56):
I believe that --trust=0 doesn't do anything in Lean 4.
Kitsune Kiriha (Dec 30 2025 at 00:59):
Thanks, let me try lean4checker now.
Last updated: Feb 28 2026 at 14:05 UTC