|
1 | 1 | {-# OPTIONS --without-K #-} |
2 | 2 |
|
3 | | --- hypatia: allow code_safety/agda_postulate -- ∥_∥ cannot be constructed in --safe --without-K without HITs / Cubical; the four postulates below are the scoped, documented TruncInterface demonstration. Exploratory per docs/echo-types/echo-kernel-note.adoc; guardrail-exempted in tools/check-guardrails.sh; base EchoImageFactorizationProp remains --safe --without-K with zero postulates. |
| 3 | +-- hypatia: allow code_safety/agda_postulate -- ∥_∥ cannot be constructed in --safe --without-K without HITs / Cubical; the four postulates below are the scoped, documented TruncInterface demonstration. Exploratory per docs/echo-types/echo-kernel-note.adoc; guardrail-exempted in tools/check-guardrails.sh; base EchoImageFactorizationProp remains --safe --without-K with zero postulates. DISCHARGED FOR REAL (zero postulates) in the CI-verified --cubical --safe lane by EchoImageFactorizationPropCubical.agda (run in .github/workflows/agda.yml step "Typecheck cubical lane (epi/mono truncation discharge)"); see docs/proof-debt.md §(a). These four postulates are therefore the --safe --without-K shadow of a now-CONSTRUCTED higher inductive type, not an irreducible axiom. |
4 | 4 |
|
5 | 5 | -- Postulated-truncation consumer for `EchoImageFactorizationProp`. |
6 | 6 | -- |
|
62 | 62 | -- the parametric proofs in `ImageProp` need. |
63 | 63 | -- * Anything about the postulates' consistency. The standard |
64 | 64 | -- HoTT discipline says the four laws together characterise |
65 | | --- `Trunc A` up to equivalence (and Cubical Agda or a hand- |
66 | | --- rolled HIT realises them concretely); we cite that |
67 | | --- literature rather than mechanise it. |
| 65 | +-- `Trunc A` up to equivalence. As of 2026-06-15 that |
| 66 | +-- characterisation is no longer merely cited: it is MECHANISED |
| 67 | +-- in-repo by `EchoImageFactorizationPropCubical.agda`, which |
| 68 | +-- CONSTRUCTS `∥_∥` as a genuine higher inductive type under |
| 69 | +-- `--cubical --safe` and re-proves the four obligations as |
| 70 | +-- theorems (zero postulates, CI-verified — see |
| 71 | +-- docs/proof-debt.md §(a)). The postulates here remain only |
| 72 | +-- because `∥_∥` cannot be built WITHIN `--safe --without-K` |
| 73 | +-- itself, not because the construction is unavailable. |
68 | 74 | -- |
69 | 75 | -- The mechanical contribution: pin that the parameterised |
70 | 76 | -- `EchoImageFactorizationProp.ImageProp` module can be CONSUMED |
|
0 commit comments