From b4673a3f6d06a4ff38789fd82f33dd517186eb44 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Fri, 10 Apr 2020 10:55:30 +0200 Subject: adding guard conditions check to the test_suite --- mathcomp/test_suite/test_guard.v | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 mathcomp/test_suite/test_guard.v (limited to 'mathcomp/test_suite') diff --git a/mathcomp/test_suite/test_guard.v b/mathcomp/test_suite/test_guard.v new file mode 100644 index 0000000..1e93a2c --- /dev/null +++ b/mathcomp/test_suite/test_guard.v @@ -0,0 +1,6 @@ +From mathcomp Require Import all_ssreflect. + +Inductive tree := Node { children : seq tree }. + +Fixpoint eq_tree (x y : tree) {struct x} : bool := + all2 eq_tree (children x) (children y). -- cgit v1.2.3