Commit a8ac211
fix(EchoAccess): correct ≤a-⊔a-univ constructor RHS where c1 ⊔a c2 = c2
The previous commit's `≤a-⊔a-univ` clauses contained 10 wrong-RHS bugs
in the rows where the join reduces to the second summand (`c1 < c2`
on the chain). When `c1 ⊔a c2 = c2`, the required witness has type
`c2 ≤a c` (i.e. it must equal `p2`), but the buggy clauses returned
`p1 : c1 ≤a c` — a different inequality constructor.
The parent verifier caught the first failure:
EchoAccess.agda:400.58-72: error: [UnequalTerms]
decidable != enum of type Access
when checking that the expression decidable≤enum has type
(decidable ⊔a enum) ≤a enum
`_⊔a_` was reducing correctly; the bug was on the right-hand side
of the universal-property clauses.
Audit by `(c1, c2)` pair with `c1 < c2`:
* decidable < enum/feasible/infeasible (3 c values × 3 pairs)
* enum < feasible/infeasible (2 c values × 2 pairs)
* feasible < infeasible (1 c value × 1 pair)
That's exactly 10 clauses, each now corrected to return the
appropriate `c2 ≤a c` constructor (equivalent to returning `p2`
directly; the explicit-constructor form is kept for consistency with
the rest of the file).
`≤a-⊔a-{left, right}` and `degrade-access-{comp, compose, via-join}`
were re-audited under the same lens; no further bugs found
(`≤a-⊔a-left` returns a `c1 ≤a (c1 ⊔a c2)` witness which is always
the unique constructor from `c1` to the larger of the two,
`≤a-⊔a-right` likewise returns the `c2`-rooted witness, both already
correct).
BUILD STILL UNVERIFIED LOCALLY — sandbox continues to block `agda`
invocations on positional file arguments. Parent verifier please
re-run.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f2b88af commit a8ac211
1 file changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
| 403 | + | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
408 | | - | |
409 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
421 | | - | |
| 420 | + | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
0 commit comments