-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from HalflingHelper/all_elim_fix
Remove Marks Fix
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import List | ||
import Nat | ||
|
||
theorem blah : all x : Nat. | ||
length(node(x, empty)) = 1 | ||
proof | ||
arbitrary x : Nat | ||
have step : length(@empty<Nat>) + #length(@empty<Nat>)# | ||
= length(@empty<Nat>) + 0 | ||
by definition length | ||
? | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
./test/should-error/have_remove_marks.pf:11.3-11.4: incomplete proof | ||
Goal: | ||
length([x]) = 1 | ||
Advice: | ||
To prove this equality, one of these statements might help: | ||
definition | ||
rewrite | ||
equations | ||
|
||
Givens: | ||
step: length([]) + length([]) = length([]) + 0 |