Commit 40daf0c
MEDIUM-confidence experiment per
[proven#107](#107) —
concrete-literal if-chain reduction.
\`\`\`idris
public export
defaultArgon2Valid : isRight (validateArgon2Params
Hash.defaultArgon2Params) = True
defaultArgon2Valid = Refl
public export
defaultBcryptValid : isRight (validateBcryptParams
Hash.defaultBcryptParams) = True
defaultBcryptValid = Refl
public export
defaultScryptValid : isRight (validateScryptParams
Hash.defaultScryptParams) = True
defaultScryptValid = Refl
\`\`\`
All three OWEDs cite "Nat-literal normalisation gap". If Idris2 0.8.0
reduces literal-vs-literal comparisons (`3 < 1 = False`, `65536 < 8192 =
False`, etc.) structurally, Refl closes.
This is one of the higher-uncertainty experiments — Nat `<` on literals
MAY or MAY NOT reduce without an explicit case-split. If CI rejects,
close and revert.
Refs #90 #107
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8cc9706 commit 40daf0c
1 file changed
Lines changed: 12 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
184 | 180 | | |
185 | | - | |
| 181 | + | |
| 182 | + | |
186 | 183 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
192 | 187 | | |
193 | | - | |
| 188 | + | |
| 189 | + | |
194 | 190 | | |
195 | 191 | | |
196 | 192 | | |
| |||
0 commit comments