Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 2a7a689f authored by MARCHE Claude's avatar MARCHE Claude
Browse files

fix unplayed Coq proof in nightly bench

parent 8a6c1483
(* This file is generated by Why3's Coq driver *)
(* Beware! Only edit allowed sections below *)
Require Import ZArith.
Require Import Rbase.
Require Import BuiltIn.
Require BuiltIn.
Require int.Int.
Require int.MinMax.
(* Why3 assumption *)
Inductive list (a:Type) :=
Inductive list (a:Type) {a_WT:WhyType a} :=
| Nil : list a
| Cons : a -> (list a) -> list a.
Implicit Arguments Nil [[a]].
Implicit Arguments Cons [[a]].
Axiom list_WhyType : forall (a:Type) {a_WT:WhyType a}, WhyType (list a).
Existing Instance list_WhyType.
Implicit Arguments Nil [[a] [a_WT]].
Implicit Arguments Cons [[a] [a_WT]].
Parameter map : forall (a:Type) (b:Type), Type.
Parameter map : forall (a:Type) {a_WT:WhyType a} (b:Type) {b_WT:WhyType b},
Type.
Axiom map_WhyType : forall (a:Type) {a_WT:WhyType a}
(b:Type) {b_WT:WhyType b}, WhyType (map a b).
Existing Instance map_WhyType.
Parameter get: forall {a:Type} {b:Type}, (map a b) -> a -> b.
Parameter get: forall {a:Type} {a_WT:WhyType a} {b:Type} {b_WT:WhyType b},
(map a b) -> a -> b.
Parameter set: forall {a:Type} {b:Type}, (map a b) -> a -> b -> (map a b).
Parameter set: forall {a:Type} {a_WT:WhyType a} {b:Type} {b_WT:WhyType b},
(map a b) -> a -> b -> (map a b).
Axiom Select_eq : forall {a:Type} {b:Type}, forall (m:(map a b)),
forall (a1:a) (a2:a), forall (b1:b), (a1 = a2) -> ((get (set m a1 b1)
a2) = b1).
Axiom Select_eq : forall {a:Type} {a_WT:WhyType a} {b:Type} {b_WT:WhyType b},
forall (m:(map a b)), forall (a1:a) (a2:a), forall (b1:b), (a1 = a2) ->
((get (set m a1 b1) a2) = b1).
Axiom Select_neq : forall {a:Type} {b:Type}, forall (m:(map a b)),
forall (a1:a) (a2:a), forall (b1:b), (~ (a1 = a2)) -> ((get (set m a1 b1)
a2) = (get m a2)).
Axiom Select_neq : forall {a:Type} {a_WT:WhyType a}
{b:Type} {b_WT:WhyType b}, forall (m:(map a b)), forall (a1:a) (a2:a),
forall (b1:b), (~ (a1 = a2)) -> ((get (set m a1 b1) a2) = (get m a2)).
Parameter const: forall {a:Type} {b:Type}, b -> (map a b).
Parameter const: forall {a:Type} {a_WT:WhyType a} {b:Type} {b_WT:WhyType b},
b -> (map a b).
Axiom Const : forall {a:Type} {b:Type}, forall (b1:b) (a1:a),
((get (const b1:(map a b)) a1) = b1).
Axiom Const : forall {a:Type} {a_WT:WhyType a} {b:Type} {b_WT:WhyType b},
forall (b1:b) (a1:a), ((get (const b1:(map a b)) a1) = b1).
(* Why3 assumption *)
Inductive datatype :=
| TYunit : datatype
| TYint : datatype
| TYbool : datatype .
Axiom datatype_WhyType : WhyType datatype.
Existing Instance datatype_WhyType.
(* Why3 assumption *)
Inductive value :=
| Vvoid : value
| Vint : Z -> value
| Vint : BuiltIn.int -> value
| Vbool : bool -> value .
Axiom value_WhyType : WhyType value.
Existing Instance value_WhyType.
(* Why3 assumption *)
Inductive operator :=
......@@ -49,15 +62,22 @@ Inductive operator :=
| Ominus : operator
| Omult : operator
| Ole : operator .
Axiom operator_WhyType : WhyType operator.
Existing Instance operator_WhyType.
Parameter mident : Type.
Axiom mident_WhyType : WhyType mident.
Existing Instance mident_WhyType.
(* Why3 assumption *)
Inductive ident :=
| mk_ident : Z -> ident .
| mk_ident : BuiltIn.int -> ident .
Axiom ident_WhyType : WhyType ident.
Existing Instance ident_WhyType.
(* Why3 assumption *)
Definition ident_index(v:ident): Z := match v with
Definition ident_index(v:ident): BuiltIn.int :=
match v with
| (mk_ident x) => x
end.
......@@ -69,13 +89,18 @@ Inductive term_node :=
| Tvar : ident -> term_node
| Tderef : mident -> term_node
| Tbin : term -> operator -> term -> term_node .
Axiom term_node_WhyType : WhyType term_node.
Existing Instance term_node_WhyType.
(* Why3 assumption *)
Inductive term :=
| mk_term : term_node -> Z -> term .
| mk_term : term_node -> BuiltIn.int -> term .
Axiom term_WhyType : WhyType term.
Existing Instance term_WhyType.
(* Why3 assumption *)
Definition term_maxvar(v:term): Z := match v with
Definition term_maxvar(v:term): BuiltIn.int :=
match v with
| (mk_term x x1) => x1
end.
......@@ -129,6 +154,8 @@ Inductive fmla :=
| Fimplies : fmla -> fmla -> fmla
| Flet : ident -> term -> fmla -> fmla
| Fforall : ident -> datatype -> fmla -> fmla .
Axiom fmla_WhyType : WhyType fmla.
Existing Instance fmla_WhyType.
(* Why3 assumption *)
Inductive expr :=
......@@ -142,12 +169,14 @@ Inductive expr :=
| Eif : expr -> expr -> expr -> expr
| Eassert : fmla -> expr
| Ewhile : expr -> fmla -> expr -> expr .
Axiom expr_WhyType : WhyType expr.
Existing Instance expr_WhyType.
(* Why3 assumption *)
Definition type_value(v:value): datatype :=
match v with
| Vvoid => TYunit
| (Vint int1) => TYint
| (Vint int) => TYint
| (Vbool bool1) => TYbool
end.
......@@ -178,19 +207,20 @@ Definition type_env := (map mident datatype).
Inductive type_term : (map mident datatype) -> (list (ident* datatype)%type)
-> term -> datatype -> Prop :=
| Type_value : forall (sigma:(map mident datatype)) (pi:(list (ident*
datatype)%type)) (v:value) (m:Z), (type_term sigma pi
datatype)%type)) (v:value) (m:BuiltIn.int), (type_term sigma pi
(mk_term (Tvalue v) m) (type_value v))
| Type_var : forall (sigma:(map mident datatype)) (pi:(list (ident*
datatype)%type)) (v:ident) (m:Z) (ty:datatype), ((get_vartype v
pi) = ty) -> (type_term sigma pi (mk_term (Tvar v) m) ty)
datatype)%type)) (v:ident) (m:BuiltIn.int) (ty:datatype),
((get_vartype v pi) = ty) -> (type_term sigma pi (mk_term (Tvar v) m)
ty)
| Type_deref : forall (sigma:(map mident datatype)) (pi:(list (ident*
datatype)%type)) (v:mident) (m:Z) (ty:datatype), ((get sigma
datatype)%type)) (v:mident) (m:BuiltIn.int) (ty:datatype), ((get sigma
v) = ty) -> (type_term sigma pi (mk_term (Tderef v) m) ty)
| Type_bin : forall (sigma:(map mident datatype)) (pi:(list (ident*
datatype)%type)) (t1:term) (t2:term) (op:operator) (m:Z) (ty1:datatype)
(ty2:datatype) (ty:datatype), (type_term sigma pi t1 ty1) ->
((type_term sigma pi t2 ty2) -> ((type_operator op ty1 ty2 ty) ->
(type_term sigma pi (mk_term (Tbin t1 op t2) m) ty))).
datatype)%type)) (t1:term) (t2:term) (op:operator) (m:BuiltIn.int)
(ty1:datatype) (ty2:datatype) (ty:datatype), (type_term sigma pi t1
ty1) -> ((type_term sigma pi t2 ty2) -> ((type_operator op ty1 ty2
ty) -> (type_term sigma pi (mk_term (Tbin t1 op t2) m) ty))).
(* Why3 assumption *)
Inductive type_fmla : (map mident datatype) -> (list (ident* datatype)%type)
......@@ -320,8 +350,8 @@ Fixpoint eval_fmla(sigma:(map mident value)) (pi:(list (ident* value)%type))
| (Fimplies f1 f2) => (eval_fmla sigma pi f1) -> (eval_fmla sigma pi f2)
| (Flet x t f1) => (eval_fmla sigma (Cons (x, (eval_term sigma pi t)) pi)
f1)
| (Fforall x TYint f1) => forall (n:Z), (eval_fmla sigma (Cons (x,
(Vint n)) pi) f1)
| (Fforall x TYint f1) => forall (n:BuiltIn.int), (eval_fmla sigma (Cons (
x, (Vint n)) pi) f1)
| (Fforall x TYbool f1) => forall (b:bool), (eval_fmla sigma (Cons (x,
(Vbool b)) pi) f1)
| (Fforall x TYunit f1) => (eval_fmla sigma (Cons (x, Vvoid) pi) f1)
......
......@@ -8,10 +8,6 @@
version="2.4.1"/>
<prover
id="1"
name="Coq"
version="8.3pl4"/>
<prover
id="2"
name="Z3"
version="4.0"/>
<file
......@@ -33,7 +29,7 @@
expanded="false"
shape="aterm_invamk_tvalueV0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -50,7 +46,7 @@
expanded="false"
shape="aterm_invamk_tvarV0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -67,7 +63,7 @@
expanded="false"
shape="aterm_invamk_tderefV0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -84,7 +80,7 @@
expanded="false"
shape="aterm_invamk_tbinV0V2V1Iaterm_invV1Aaterm_invV0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -109,7 +105,7 @@
<result status="valid" time="0.04"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -134,7 +130,7 @@
<result status="valid" time="0.04"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -159,7 +155,7 @@
<result status="timeout" time="3.07"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -184,7 +180,7 @@
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -209,7 +205,7 @@
<result status="timeout" time="3.10"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -234,22 +230,13 @@
<result status="timeout" time="3.11"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
archived="false">
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="1"
timelimit="3"
memlimit="1000"
edited="blocking_semantics3_ImpExpr_subst_fresh_1.v"
obsolete="true"
archived="false"><undone/>
</proof>
</goal>
<goal
name="let_subst"
......@@ -260,7 +247,7 @@
expanded="false"
shape="ainfix =amsubstaFletV2V0V1V4V3aFletV2amsubst_termV0V4V3amsubstV1V4V3F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -285,7 +272,7 @@
<result status="timeout" time="3.12"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -310,7 +297,7 @@
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -335,7 +322,7 @@
<result status="timeout" time="3.10"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -360,7 +347,7 @@
<result status="timeout" time="3.10"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -385,7 +372,7 @@
<result status="timeout" time="3.08"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -410,7 +397,7 @@
<result status="timeout" time="3.03"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -435,7 +422,7 @@
<result status="valid" time="0.05"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -460,7 +447,7 @@
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -485,7 +472,7 @@
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -510,7 +497,7 @@
<result status="timeout" time="3.09"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -535,7 +522,7 @@
<result status="timeout" time="3.02"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -560,7 +547,7 @@
<result status="timeout" time="3.10"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -584,7 +571,7 @@
expanded="false"
shape="ainfix =aeval_termamy_sigmaamy_piamk_tvalueaVintc13aVintc13">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -601,7 +588,7 @@
expanded="false"
shape="amany_stepsamy_sigmaamy_piaEvalueaVintc13amy_sigmaamy_piaEvalueaVintc13c0">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -618,7 +605,7 @@
expanded="false"
shape="ainfix =aeval_termamy_sigmaamy_piamk_tvaraxaVintc42">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -643,7 +630,7 @@
<result status="timeout" time="3.03"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -660,7 +647,7 @@
expanded="false"
shape="ainfix =aeval_termamy_sigmaamy_piamk_tderefayaVintc0">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -685,7 +672,7 @@
<result status="timeout" time="3.04"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -710,7 +697,7 @@
<result status="timeout" time="3.01"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -735,7 +722,7 @@
<result status="timeout" time="3.07"/>
</proof>
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -752,7 +739,7 @@
expanded="false"
shape="ainfix =agetV0ayaVintc42Iaone_stepamy_sigmaamy_piaEassignayaEvalueaVintc42V0V1avoidF">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -769,7 +756,7 @@
expanded="false"
shape="ainfix =agetV1ayaVintc13Iaone_stepV0V2V4V1V3avoidIaone_stepamy_sigmaamy_piaEifaEbinaEderefayaOleaEvalueaVintc10aEassignayaEvalueaVintc13aEassignayaEvalueaVintc42V0V2V4F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -793,7 +780,7 @@
expanded="true"
shape="avalid_tripleV1V4V3Iavalid_fmlaaFimpliesV2V3Iavalid_tripleV0V4V2Iavalid_fmlaaFimpliesV1V0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -810,7 +797,7 @@
expanded="true"
shape="avalid_tripleV0aEvalueV1V0Iafresh_in_fmlaaresultV0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -827,7 +814,7 @@
expanded="true"
shape="avalid_tripleV0aEassignV2V3V1Iavalid_tripleV0V3amsubstV1V2aresultF">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -844,7 +831,7 @@
expanded="true"
shape="avalid_tripleV0aEseqV3V4V1Iavalid_tripleV2V4V1Aavalid_tripleV0V3V2F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -861,7 +848,7 @@
expanded="true"
shape="avalid_tripleV0aEletV3V4V5V1Iavalid_tripleaFletaresultamk_tvarV3V2V5V1Aavalid_tripleV0V4V2Iafresh_in_fmlaV3V2Iainfix =V3aresultNF">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -878,7 +865,7 @@
expanded="true"
shape="avalid_tripleV1aEassertV0V1Iavalid_fmlaaFimpliesV1V0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -895,7 +882,7 @@
expanded="true"
shape="avalid_tripleaFimpliesV0V1aEassertV0V1F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -919,7 +906,7 @@
expanded="false"
shape="apqaqAapqaqIap">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -943,7 +930,7 @@
expanded="false"
shape="aassignsV0V1V0F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -960,7 +947,7 @@
expanded="false"
shape="aassignsV0V3V2IaassignsV1V3V2AaassignsV0V3V1F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -977,7 +964,7 @@
expanded="false"
shape="aassignsV0aunionV2V3V1IaassignsV0V2V1F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -994,7 +981,7 @@
expanded="false"
shape="aassignsV0aunionV2V3V1IaassignsV0V3V1F">
<proof
prover="2"
prover="1"
timelimit="3"
memlimit="1000"
obsolete="false"
......@@ -1011,7 +998,7 @@
expanded="false"
shape="afresh_in_fmlaaresultawpV0V1F">
<proof