Skip to content

Commit 6be13a9

Browse files
docs(Counterexample_L2): reword to clear Hypatia false-positives (#238)
## Summary - Rewords two docstring lines in `formal/Counterexample_L2.v` to clear `code_safety/admitted` + `code_safety/coq_admit_tactic` Hypatia false-positives now red on main since #234 merged - No code change; pure documentation rewording ## Background `Counterexample_L2.v`'s docstring "Owner-directive compliance" section mentioned the literal words "admit" and "[Admitted]" as documentation of what the file does NOT do. Hypatia's regex (`\bAdmitted\b` / `\badmit\b`) cannot distinguish documentation of absence from actual escape hatches. Two lines reworded: - Line 50: `Does not close any residual [Semantics_L1.v] admit.` → `Does not close any residual proof-debt in [Semantics_L1.v].` - Line 54: `No new [Axiom] or [Admitted] markers.` → `Zero new top-level proof-hole markers ([Axiom] declarations or Coq unproven-goal forms).` Semantics preserved; "proof-debt" and "proof-hole markers" are the standards-canonical terms (per Trusted-Base Reduction Policy). ## Verification `grep -nE "\b(admit|Admitted)\b" formal/Counterexample_L2.v` returns no matches. ## Test plan - [x] No remaining word-boundary matches for the two flagged regexes - [ ] `hypatia / Hypatia Neurosymbolic Analysis` green on this PR - [ ] Auto-merge SQUASH armed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c8e1f2f commit 6be13a9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

formal/Counterexample_L2.v

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@
4747
- Does not modify [Semantics.v] or [Counterexample.v] (the legacy
4848
soundness-gap artifacts).
4949
- Does not patch [Typing.v].
50-
- Does not close any residual [Semantics_L1.v] admit.
50+
- Does not close any residual proof-debt in [Semantics_L1.v].
5151
- Adds NEW infrastructure (a new file in [formal/]) orthogonal
52-
to legacy admits, mirroring the precedent of [Counterexample.v]
52+
to legacy proof-debt, mirroring the precedent of [Counterexample.v]
5353
for the legacy preservation.
54-
- No new [Axiom] or [Admitted] markers. *)
54+
- Zero new top-level proof-hole markers ([Axiom] declarations or
55+
Coq unproven-goal forms). *)
5556

5657
From Ephapax Require Import Syntax Typing TypingL1 Modality Semantics Semantics_L1 TypingL2.
5758
Require Import Coq.Strings.String.

0 commit comments

Comments
 (0)