Skip to content

Commit ebcf192

Browse files
proof(SafeCBOR): DISCHARGE maxNestingDepthAnchor via Refl (proven#90, #107) (#110)
Per [proven#107](#107) "overly cautious OWED" pattern — Nat-literal variant. \`\`\`idris public export maxNestingDepthAnchor : MaxNestingDepth = 64 maxNestingDepthAnchor = Refl \`\`\` \`MaxNestingDepth\` is \`public export\` with body \`64\` (SafeCBOR.idr L150-152). Both sides are the same \`Nat\` literal — \`Refl\` closes without unary expansion. Same pattern as the SafeArchive PR. Refs #90 #107 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a2792e6 commit ebcf192

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/Proven/SafeCBOR/Proofs.idr

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ emptyMapNoDupes = Refl
217217
-- OWED
218218
--------------------------------------------------------------------------------
219219

220-
||| OWED: `MaxNestingDepth = 64`. Blocked on Nat-literal opacity.
220+
||| DISCHARGED: `MaxNestingDepth = 64`. `MaxNestingDepth` is `public
221+
||| export` with body `64` (SafeCBOR.idr L150-152). Both sides are
222+
||| the same `Nat` literal — `Refl` closes without unary expansion.
221223
public export
222-
0 maxNestingDepthAnchor : MaxNestingDepth = 64
224+
maxNestingDepthAnchor : MaxNestingDepth = 64
225+
maxNestingDepthAnchor = Refl

0 commit comments

Comments
 (0)