Debian Codegraph @

test-suite/bugs/bug_15567.v

raw
1 Fixpoint big_opL {A} f (xs : list A) : Prop :=
2 match xs with
3 | nil => True
4 | cons x xs => (f 0 x) /\ (big_opL (fun n => f (S n)) xs)
5 end.
6 Arguments big_opL {_} _ !xs /.
7 Goal forall A f xs, @big_opL A f xs.
8 induction xs; [admit|]; cbn.
9 match goal with
10 |- _ /\ big_opL _ _ => idtac
11 end.
12 Abort.
13 (*
14 f 0 a /\
15 (fix big_opL (A0 : Type) (f0 : nat -> A0 -> Prop) (xs0 : list A0) {struct xs0} : Prop :=
16 match xs0 with
17 | nil => True
18 | x :: xs1 => f0 0 x /\ big_opL A0 (fun n : nat => f0 (S n)) xs1
19 end) A (fun n : nat => f (S n)) xs
20 *)