i found an issue about that 0 bug
This commit is contained in:
parent
7d821b20ef
commit
e264a18e21
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ toFromNat (S k) (LTESucc x) = cong S $ toFromNat k x
|
|||
|
||||
-- not using %transform like other things because weakSpec requires the proof
|
||||
-- to be relevant. but since only `LTESucc` is ever possible that seems
|
||||
-- to be a bug?
|
||||
-- to be an instance of <https://github.com/idris-lang/Idris2/issues/1259>?
|
||||
export
|
||||
weak : (0 p : m `LTE` n) -> Var m -> Var n
|
||||
weak p i = fromNatWith i.nat $ transitive (toNatLT i) p {rel=LTE}
|
||||
|
|
Loading…
Reference in a new issue