Step
*
2
1
of Lemma
member_bs_tree_insert
1. E : Type
2. cmp : comparison(E)
3. x : E
4. value : E
5. ¬cmp value x < 0
6. ¬0 < cmp value x
7. bs_tree_ordered(E;cmp;bst_leaf(value))
8. y : E
9. value = y ∈ E
10. ¬((cmp x y) = 0 ∈ ℤ)
⊢ x = y ∈ E
BY
{ (Eliminate ⌜value⌝⋅ THEN Auto THEN RWO "comparison-anti" (-1) THEN Auto) }
Latex:
Latex:
1.  E  :  Type
2.  cmp  :  comparison(E)
3.  x  :  E
4.  value  :  E
5.  \mneg{}cmp  value  x  <  0
6.  \mneg{}0  <  cmp  value  x
7.  bs\_tree\_ordered(E;cmp;bst\_leaf(value))
8.  y  :  E
9.  value  =  y
10.  \mneg{}((cmp  x  y)  =  0)
\mvdash{}  x  =  y
By
Latex:
(Eliminate  \mkleeneopen{}value\mkleeneclose{}\mcdot{}  THEN  Auto  THEN  RWO  "comparison-anti"  (-1)  THEN  Auto)
Home
Index