Skip to content

Commit e6e40ba

Browse files
committed
fix(characteristic): correct ModeGrade -> ModeGraded import typo
RecipeNonTriviality.agda imports `characteristic.ModeGrade` (no `d`) which doesn't exist; the actual file is `characteristic.ModeGraded`. The required names line up with a small renaming: MGEcho -> ModeGEcho applyMode -> applyMode (unchanged) applyGrade -> applyGradeM The body uses (`modegrade-cell-action`, `-is-identity`, `ModeGrade-no-non-identity-cell`) reduce definitionally as before, because ModeGraded.agda's `applyMode {g = keep} linear≤linear e = e` and `applyGrade {m = linear} keep≤keep e = e` are identity at exactly the cell RecipeNonTriviality inspects. The bug has been latent on main since the characteristic lane was added in #27 (2026-04-29), masked by the absolute-zero CI break the parent commit fixes.
1 parent cdf87b3 commit e6e40ba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

proofs/agda/characteristic/RecipeNonTriviality.agda

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ open import characteristic.RoleMode using
141141
( applyRole to applyRoleM
142142
; applyMode to applyModeRM
143143
)
144-
open import characteristic.ModeGrade using
145-
( ModeGEcho
146-
; applyMode
144+
open import characteristic.ModeGraded using
145+
( applyMode
147146
)
148147
renaming
149-
( applyGrade to applyGradeM
148+
( MGEcho to ModeGEcho
149+
; applyGrade to applyGradeM
150150
)
151151

152152
------------------------------------------------------------------------

0 commit comments

Comments
 (0)