|
44 | 44 | -- function; the Echo is its structured-loss witness. |
45 | 45 | -- |
46 | 46 | -- --------------------------------------------------------------------- |
47 | | --- NOTE (hand-verified, not machine-checked here). Agda is not installed |
48 | | --- in the authoring environment, and echo-types (plus its own |
49 | | --- `depend: absolute-zero`) is not registered here, so the cross-library |
50 | | --- import below is verified by careful reading against the echo-types |
51 | | --- source (module `Echo`, definition quoted above, confirmed verbatim). |
52 | | --- When echo-types + absolute-zero + agda-stdlib 2.3+ are registered, |
53 | | --- `make -C proofs echobridge` should be the first check. The flag stance |
54 | | --- (this module is left at Agda's default discipline, importing the |
55 | | --- `--safe --without-K` `Echo`) is also to be confirmed there. |
| 47 | +-- STATUS: MACHINE-CHECKED (2026-06-12). This module now typechecks against |
| 48 | +-- the real echo-types library (module `Echo`), with echo-types + |
| 49 | +-- absolute-zero + agda-stdlib v2.3 registered, under Agda 2.6.3. The |
| 50 | +-- earlier "hand-verified by careful reading" caveat is retired: the |
| 51 | +-- `Echo` import and the witness⇔echo bridge below are confirmed by the |
| 52 | +-- type checker, not by eye. The flag stance (this module is left at |
| 53 | +-- Agda's default discipline, importing the `--safe --without-K` `Echo`) |
| 54 | +-- is confirmed: a default-discipline module may import the `--safe |
| 55 | +-- --without-K` `Echo`. |
| 56 | +-- |
| 57 | +-- Reproduce (matching echo-types' own CI toolchain, Agda 2.6.3): |
| 58 | +-- LC_ALL=C.UTF-8 agda --no-libraries \ |
| 59 | +-- -i . -i <echo-types>/proofs/agda -i <agda-stdlib>/src EchoBridge.agda |
| 60 | +-- (The `make echobridge` target uses kitchenspeak.agda-lib, whose `--` |
| 61 | +-- comments require Agda ≥ 2.6.4; on the 2.6.3 CI toolchain use the |
| 62 | +-- explicit `-i` form above. See proofs/README.adoc.) |
56 | 63 | -- --------------------------------------------------------------------- |
57 | 64 |
|
58 | 65 | module EchoBridge where |
|
0 commit comments