Debian Codegraph @

test-suite/bugs/bug_3322.v

raw
1 Require Import TestSuite.admit.
2 (* File reduced by coq-bug-finder from original input, then from 11971 lines to 11753 lines, then from 7702 lines to 564 lines, then from 571 lines to 61 lines *)
3 Set Asymmetric Patterns.
4 Axiom admit : forall {T}, T.
5 Inductive paths {A : Type} (a : A) : A -> Type := idpath : paths a a where "x = y" := (@paths _ x y) : type_scope.
6 Definition transport {A : Type} (P : A -> Type) {x y : A} (p : x = y) (u : P x) : P y := match p with idpath => u end.
7 Definition path_sigma_uncurried {A : Type} (P : A -> Type) (u v : sigT P)
8 (pq : {p : (projT1 u) = (projT1 v) & transport _ p (projT2 u) = (projT2 v)})
9 : u = v.
10 Proof.
11 destruct pq as [p q], u as [x y], v as [x' y']; simpl in *.
12 destruct p, q; simpl; reflexivity.
13 Defined.
14 Arguments path_sigma_uncurried : simpl never.
15 Section opposite.
16 Let opposite_functor_involutive_helper
17 := @path_sigma_uncurried admit admit (existT _ admit admit) admit (existT _ admit admit).
18
19 Goal True.
20 Opaque path_sigma_uncurried.
21 simpl in *.
22 Transparent path_sigma_uncurried.
23 (* This command should fail with "Error: Failed to progress.", as it does in 8.4; the simpl never directive should prevent simpl from progressing *)
24 Fail progress simpl in *.
25 Abort.
26 End opposite.