docs(agents): bank elaboration, vacuity-certificate, and restacking gotchas#484
Open
alik-eth wants to merge 1 commit into
Open
docs(agents): bank elaboration, vacuity-certificate, and restacking gotchas#484alik-eth wants to merge 1 commit into
alik-eth wants to merge 1 commit into
Conversation
🤖 PR SummaryFailed to generate AI summary. Please check the per-file summaries and statistics below. Statistics
Lean Declarations
📄 **Per-File Summaries**
Last updated: 2026-07-13 15:41 UTC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five field-tested additions to
docs/agents/gotchas.md, distilled from recent proof campaigns and written as timeless guidance:Fintype.ofFinite/SampleableType.ofFintypeare whnf-hostile: the mechanism, thewhere-syntax symptom, and the fixes (anonymous constructors; abstract-value + pinning-equality statement architecture; explicitClassical.propDecidable).#print axioms; the two common failure classes (relation-pinning pairs vsgen_sound; deterministic small-seed-image cardinality), and the rule of shipping a kernel-checked inhabitance certificate in the same commit..lake/build(placed as a cluster with the existing cache entry).Alternativeinstance forOracleComp#22 —lake env lean/LSP don't check olean staleness: phantom whnf timeouts and unknown-identifier errors that mimic real elaboration pathologies (including a section-dependence illusion via shared instance fvars); rule: no-oplake buildbefore diagnosing, trust only symptoms that reproduce after.git rebase --onto <new-base> <old-base-tip>after folding commits into a base, and the tree byte-identity gate before pushing.Docs-only; entries renumbered into a clean sequence (verified nothing references gotchas by number).
https://claude.ai/code/session_01DaNGD9nDo3Grwk58nsjS77