Definition make_impl :=
Refl.make_impl.
Definition make_conj :=
Refl.make_conj.
Definition env :=
PolEnv Z.
Definition node := @
VarMap.Branch Z.
Definition empty := @
VarMap.Empty Z.
Definition leaf := @
VarMap.Elt Z.
Definition coneMember :=
ZWitness.
Definition eval :=
eval_formula.
#[
deprecated(
note="Use [prod positive nat]",
since="Stdlib 9.0")]
Definition prod_pos_nat :=
prod positive nat.
#[
deprecated(
use=
Z.to_N,
since="Stdlib 9.0")]
Notation n_of_Z :=
Z.to_N (
only parsing).
Require Import PeanoNat Wf_nat.
#[
deprecated(
since="Stdlib 9.1")]
Fixpoint vars (
jmp :
positive) (
p :
Pol Z) :
list positive :=
match p with
|
Pc c =>
nil
|
Pinj j p =>
vars (
Pos.add j jmp)
p
|
PX p j q =>
jmp::(vars jmp p)++vars (
Pos.succ jmp)
q
end.
#[
deprecated(
since="Stdlib 9.1")]
Lemma max_var_le :
forall p v,
(
v <= max_var v p)%
positive.
#[
deprecated(
since="Stdlib 9.1")]
Lemma max_var_correct :
forall p j v,
In v (
vars j p)
-> Pos.le v (
max_var j p).
#[
deprecated(
since="Stdlib 9.1")]
Lemma max_var_nformulae_correct_aux :
forall l p o v,
In (p,o) l -> In v (
vars xH p)
-> Pos.le v (
fold_left F l 1)%
positive.
#[
deprecated(
since="Stdlib 9.1")]
Lemma max_var_nformalae_correct :
forall l p o v,
In (p,o) l -> In v (
vars xH p)
-> Pos.le v (
max_var_nformulae l)%
positive.
#[
deprecated(
since="Stdlib 9.1")]
Fixpoint bdepth (
pf :
ZArithProof) :
nat :=
match pf with
|
DoneProof =>
O
|
RatProof _ p =>
S (
bdepth p)
|
CutProof _ p =>
S (
bdepth p)
|
SplitProof _ p1 p2 =>
S (
Nat.max (
bdepth p1) (
bdepth p2))
|
EnumProof _ _ l =>
S (
List.fold_right (
fun pf x =>
Nat.max (
bdepth pf)
x)
O l)
|
ExProof _ p =>
S (
bdepth p)
end.
#[
deprecated(
since="Stdlib 9.1")]
Lemma ltof_bdepth_split_l :
forall p pf1 pf2,
ltof ZArithProof bdepth pf1 (
SplitProof p pf1 pf2).
#[
deprecated(
since="Stdlib 9.1")]
Lemma ltof_bdepth_split_r :
forall p pf1 pf2,
ltof ZArithProof bdepth pf2 (
SplitProof p pf1 pf2).