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

  1. Compile a lean file.
  2. Manually modify the olean file to make it a mismatched (false) olean.
  3. Compile another lean file which imports this false module, and set trustLevel = 0 (--trust=0).
  4. Lean4 passes the proof and says the axioms set is correct.
    Do I have wrong understanding for trustLevel in 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