Skip to content

Commit 481c728

Browse files
committed
Tactics.sillyfun1_odd: mark partial (for now) and add note
1 parent c115d99 commit 481c728

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Tactics.lidr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,10 @@ Now suppose that we want to convince Idris of the (rather obvious) fact that
10231023
the proofs we did with \idr{sillyfun} above, it is natural to start the proof
10241024
like this:
10251025
1026+
\todo[inline]{Make this \idr{total}, or at least describe why it's not in its
1027+
current implementation. Should we introduce \idr{Decidable.Equality} here?}
1028+
1029+
> partial
10261030
> sillyfun1_odd : (n : Nat) -> sillyfun1 n = True -> oddb n = True
10271031
> sillyfun1_odd n prf with (beq_nat n 3)
10281032
> sillyfun1_odd (S (S (S Z))) Refl | True = Refl

0 commit comments

Comments
 (0)