Debian Codegraph @

test-suite/bugs/bug_14788.v

raw
1 Definition ptr64 := false.
2
3 Inductive val: Set := Vundef: val.
4
5 Inductive lessdef: val -> val -> Prop := lessdef_undef: forall v, lessdef Vundef v.
6
7 Global Hint Resolve lessdef_undef : foo.
8
9 Axiom memval : Set.
10 Axiom load_result : memval -> val.
11
12 Lemma foo : forall (v : val)
13 (vl' : memval), lessdef (if ptr64 then load_result vl' else Vundef) v.
14 Proof.
15 intros vl'.
16 auto with foo.
17 Qed.