Commit 3973139
\`\`\`idris
public export
parseEmptyFails : parseEmail "" = Nothing
parseEmptyFails = Refl
\`\`\`
Directly matches the first pattern clause \`parseEmail "" = Nothing\`
(Parser.idr L186-187). Precedent in proven itself:
\`parseAttestationType "" = Nothing = Refl\` in
SafeAttestation/Proofs.idr uses the identical pattern.
The OWED's "String-literal matching does not reduce" claim is
empirically wrong for empty-string literals matching empty-string
clauses — surfaced by post-empirical re-audit (proven#119).
Refs #90 #107 #119
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7ff3f07 commit 3973139
1 file changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
44 | 39 | | |
45 | | - | |
| 40 | + | |
| 41 | + | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
0 commit comments