-
Notifications
You must be signed in to change notification settings - Fork 4
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 #21 from JetBrains-Research/v2.1.0-dev
- Loading branch information
Showing
28 changed files
with
1,596 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[submodule "dataset/imm"] | ||
path = dataset/imm | ||
url = https://github.com/weakmemory/imm.git | ||
branch = coq819 | ||
ignore = dirty |
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 |
---|---|---|
|
@@ -9,4 +9,6 @@ vsc-extension-quickstart.md | |
**/*.map | ||
**/*.ts | ||
logs/** | ||
_opam/** | ||
_opam/** | ||
./out/test/** | ||
dataset |
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,45 @@ | ||
Theorem test : forall (A : Type) (P : A -> Prop) (x : A), P x -> P x. | ||
Proof. | ||
admit. | ||
Admitted. | ||
|
||
Theorem test2 : forall (A : Type) (P : A -> Prop) (x : A), P x -> P x. | ||
Proof. | ||
intros A P x H. | ||
admit. | ||
Admitted. | ||
|
||
Theorem test2nat1 : forall n : nat, n = 0 \/ n <> 0. | ||
Proof. | ||
intros n. | ||
destruct n. | ||
- admit. | ||
- right. | ||
discriminate. | ||
Admitted. | ||
|
||
Theorem test2nat2 : forall n : nat, n = 0 \/ n <> 0. | ||
Proof. | ||
intros n. | ||
destruct n. | ||
{ | ||
admit. | ||
} | ||
{ | ||
admit. | ||
} | ||
Admitted. | ||
|
||
Theorem test_thr : forall n:nat, 0 + n = n. | ||
Proof. | ||
intros n. Print plus. | ||
admit. | ||
(* reflexivity. *) | ||
Admitted. | ||
|
||
Lemma test_thr1 : forall n:nat, 0 + n + 0 = n. | ||
Proof. | ||
intros n. Print plus. | ||
admit. | ||
(* reflexivity. *) | ||
Admitted. |
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,19 @@ | ||
Theorem test_plus_1 : forall n:nat, 1 + n = S n. | ||
Proof. | ||
auto. | ||
Qed. | ||
|
||
Theorem test_thr : forall n:nat, 0 + n = n. | ||
Proof. | ||
admit. | ||
Admitted. | ||
|
||
Theorem add_comm : forall n m:nat, n + m = m + n. | ||
Proof. | ||
admit. | ||
Admitted. | ||
|
||
Theorem add_comm_1 : forall n:nat, n + 1 = 1 + n. | ||
Proof. | ||
admit. | ||
Admitted. |
Oops, something went wrong.