Mutation Analysis for Coq
Pengyu Nie1 Ahmet Celik1, Karl Palmskog1, Marinela Parovic1, Emilio Jes´ us Gallego Arias2, and Milos Gligoric1 ASE 2019
1 2
1 / 24
Mutation Analysis for Coq Pengyu Nie 1 Ahmet Celik 1 , Karl Palmskog - - PowerPoint PPT Presentation
Mutation Analysis for Coq Pengyu Nie 1 Ahmet Celik 1 , Karl Palmskog 1 , Marinela Parovic 1 , us Gallego Arias 2 , and Milos Gligoric 1 Emilio Jes ASE 2019 1 2 1 / 24 Program Verification Using Proof Assistants Verified software: encode
1 / 24
2 / 24
3 / 24
3 / 24
3 / 24
3 / 24
3 / 24
4 / 24
5 / 24
6 / 24
7 / 24
7 / 24
8 / 24
8 / 24
8 / 24
8 / 24
8 / 24
9 / 24
10 / 24
11 / 24
12 / 24
13 / 24
13 / 24
14 / 24
15 / 24
16 / 24
17 / 24
18 / 24
19 / 24
20 / 24
21 / 24
22 / 24
23 / 24
24 / 24
Fixpoint app {A} (l m:list A) := match l with | [] ⇒ m | a :: l’ ⇒ a :: app l’ m end.
Lemma assoc: ∀ A(l m n:list A), app l(app m n) = app(app l m) n. Proof. induction l; intros; auto. simpl; rewrite IHl; auto. Qed.
let test_app_assoc ctxt = assert_equal (app [1] (app [2] [3])) (app (app [1] [2]) [3])