aboutsummaryrefslogtreecommitdiff
path: root/coq/ex
diff options
context:
space:
mode:
Diffstat (limited to 'coq/ex')
-rw-r--r--coq/ex/indent.v17
1 files changed, 12 insertions, 5 deletions
diff --git a/coq/ex/indent.v b/coq/ex/indent.v
index c574f715..b524d956 100644
--- a/coq/ex/indent.v
+++ b/coq/ex/indent.v
@@ -9,12 +9,19 @@ Record a : Type := make_a {
aa : nat
}.
-Inductive test : nat -> Prop :=
-| C1 : forall n, test n
-| C2 : forall n, test n
-| C3 : forall n, test n
-| C4 : forall n, test n.
+{
+ Inductive test : nat -> Prop :=
+ | C1 : forall n, test n
+ | C2 : forall n, test n
+ | C3 : forall n, test n
+ | C4 : forall n, test n.
+ Inductive test2 : nat -> Prop
+ := C1 : forall n, test n
+ | C2 : forall n, test n
+ | C3 : forall n, test n
+ | C4 : forall n, test n.
+}
Lemma toto:nat.
Proof.