Nuprl Lemma : ml-insert-int-sq
∀[l:ℤ List]. ∀[x:ℤ].  (ml-insert-int(x;l) ~ insert-int(x;l))
Proof
Definitions occuring in Statement : 
ml-insert-int: ml-insert-int(x;l)
, 
insert-int: insert-int(x;l)
, 
list: T List
, 
uall: ∀[x:A]. B[x]
, 
int: ℤ
, 
sqequal: s ~ t
Definitions unfolded in proof : 
uall: ∀[x:A]. B[x]
, 
member: t ∈ T
, 
all: ∀x:A. B[x]
, 
nat: ℕ
, 
implies: P 
⇒ Q
, 
false: False
, 
ge: i ≥ j 
, 
guard: {T}
, 
uimplies: b supposing a
, 
prop: ℙ
, 
subtype_rel: A ⊆r B
, 
or: P ∨ Q
, 
ml-insert-int: ml-insert-int(x;l)
, 
top: Top
, 
ml_apply: f(x)
, 
let: let, 
spreadcons: spreadcons, 
callbyvalueall: callbyvalueall, 
evalall: evalall(t)
, 
nil: []
, 
it: ⋅
, 
has-value: (a)↓
, 
has-valueall: has-valueall(a)
, 
ifthenelse: if b then t else f fi 
, 
btrue: tt
, 
cons: [a / b]
, 
colength: colength(L)
, 
so_lambda: λ2x y.t[x; y]
, 
so_apply: x[s1;s2]
, 
squash: ↓T
, 
sq_stable: SqStable(P)
, 
uiff: uiff(P;Q)
, 
and: P ∧ Q
, 
le: A ≤ B
, 
not: ¬A
, 
less_than': less_than'(a;b)
, 
true: True
, 
decidable: Dec(P)
, 
iff: P 
⇐⇒ Q
, 
rev_implies: P 
⇐ Q
, 
subtract: n - m
, 
so_lambda: λ2x.t[x]
, 
so_apply: x[s]
, 
sq_type: SQType(T)
, 
less_than: a < b
, 
bfalse: ff
, 
insert-int: insert-int(x;l)
, 
so_lambda: so_lambda(x,y,z.t[x; y; z])
, 
so_apply: x[s1;s2;s3]
, 
bool: 𝔹
, 
unit: Unit
, 
exists: ∃x:A. B[x]
, 
bnot: ¬bb
, 
assert: ↑b
Lemmas referenced : 
nat_properties, 
less_than_transitivity1, 
less_than_irreflexivity, 
ge_wf, 
less_than_wf, 
equal-wf-base, 
nat_wf, 
list_subtype_base, 
int_subtype_base, 
list_wf, 
list-cases, 
insert_int_nil_lemma, 
valueall-type-has-valueall, 
int-valueall-type, 
evalall-reduce, 
null_nil_lemma, 
product_subtype_list, 
spread_cons_lemma, 
colength_wf_list, 
sq_stable__le, 
le_antisymmetry_iff, 
add_functionality_wrt_le, 
add-associates, 
add-zero, 
zero-add, 
le-add-cancel, 
equal-wf-T-base, 
decidable__le, 
false_wf, 
not-le-2, 
condition-implies-le, 
minus-add, 
minus-one-mul, 
minus-one-mul-top, 
add-commutes, 
le_wf, 
equal_wf, 
subtract_wf, 
not-ge-2, 
less-iff-le, 
minus-minus, 
add-swap, 
subtype_base_sq, 
set_subtype_base, 
list-valueall-type, 
cons_wf, 
null_cons_lemma, 
list_ind_cons_lemma, 
value-type-has-value, 
list-value-type, 
insert-int_wf, 
subtype_rel_self, 
decidable__lt, 
top_wf, 
le-add-cancel2, 
lt_int_wf, 
bool_wf, 
eqtt_to_assert, 
assert_of_lt_int, 
eqff_to_assert, 
bool_cases_sqequal, 
bool_subtype_base, 
assert-bnot, 
not-lt-2
Rules used in proof : 
sqequalSubstitution, 
sqequalTransitivity, 
computationStep, 
sqequalReflexivity, 
isect_memberFormation, 
introduction, 
cut, 
thin, 
lambdaFormation, 
extract_by_obid, 
sqequalHypSubstitution, 
isectElimination, 
hypothesisEquality, 
hypothesis, 
setElimination, 
rename, 
intWeakElimination, 
natural_numberEquality, 
independent_isectElimination, 
independent_functionElimination, 
voidElimination, 
sqequalRule, 
lambdaEquality, 
dependent_functionElimination, 
isect_memberEquality, 
sqequalAxiom, 
intEquality, 
baseApply, 
closedConclusion, 
baseClosed, 
applyEquality, 
because_Cache, 
unionElimination, 
voidEquality, 
callbyvalueReduce, 
sqleReflexivity, 
promote_hyp, 
hypothesis_subsumption, 
productElimination, 
applyLambdaEquality, 
imageMemberEquality, 
imageElimination, 
addEquality, 
dependent_set_memberEquality, 
independent_pairFormation, 
minusEquality, 
equalityTransitivity, 
equalitySymmetry, 
instantiate, 
cumulativity, 
lessCases, 
equalityElimination, 
dependent_pairFormation
Latex:
\mforall{}[l:\mBbbZ{}  List].  \mforall{}[x:\mBbbZ{}].    (ml-insert-int(x;l)  \msim{}  insert-int(x;l))
Date html generated:
2017_09_29-PM-05_51_06
Last ObjectModification:
2017_05_10-PM-07_07_46
Theory : ML
Home
Index