Nuprl Lemma : binary-tree-induction

[P:binary-tree() ⟶ ℙ]
  ((∀val:ℤP[btr_Leaf(val)])
   (∀left,right:binary-tree().  (P[left]  P[right]  P[btr_Node(left;right)]))
   {∀v:binary-tree(). P[v]})


Proof




Definitions occuring in Statement :  btr_Node: btr_Node(left;right) btr_Leaf: btr_Leaf(val) binary-tree: binary-tree() uall: [x:A]. B[x] prop: guard: {T} so_apply: x[s] all: x:A. B[x] implies:  Q function: x:A ⟶ B[x] int:
Definitions unfolded in proof :  uall: [x:A]. B[x] implies:  Q guard: {T} so_lambda: λ2x.t[x] member: t ∈ T uimplies: supposing a subtype_rel: A ⊆B nat: prop: so_apply: x[s] all: x:A. B[x] le: A ≤ B and: P ∧ Q not: ¬A false: False ext-eq: A ≡ B bool: 𝔹 unit: Unit it: btrue: tt uiff: uiff(P;Q) sq_type: SQType(T) eq_atom: =a y ifthenelse: if then else fi  btr_Leaf: btr_Leaf(val) binary-tree_size: binary-tree_size(p) bfalse: ff exists: x:A. B[x] or: P ∨ Q bnot: ¬bb assert: b btr_Node: btr_Node(left;right) cand: c∧ B ge: i ≥  decidable: Dec(P) satisfiable_int_formula: satisfiable_int_formula(fmla) top: Top int_seg: {i..j-} lelt: i ≤ j < k less_than: a < b squash: T
Lemmas referenced :  btr_Leaf_wf btr_Node_wf int_seg_wf uall_wf lelt_wf int_term_value_subtract_lemma itermSubtract_wf decidable__le subtract_wf int_formula_prop_wf int_term_value_add_lemma int_formula_prop_le_lemma int_term_value_var_lemma int_term_value_constant_lemma int_formula_prop_less_lemma int_formula_prop_not_lemma int_formula_prop_and_lemma itermAdd_wf intformle_wf itermVar_wf itermConstant_wf intformless_wf intformnot_wf intformand_wf satisfiable-full-omega-tt decidable__lt nat_properties neg_assert_of_eq_atom assert-bnot bool_subtype_base bool_cases_sqequal equal_wf eqff_to_assert atom_subtype_base subtype_base_sq assert_of_eq_atom eqtt_to_assert bool_wf eq_atom_wf binary-tree-ext less_than'_wf nat_wf binary-tree_size_wf le_wf isect_wf binary-tree_wf all_wf uniform-comp-nat-induction
Rules used in proof :  sqequalSubstitution sqequalTransitivity computationStep sqequalReflexivity isect_memberFormation lambdaFormation cut lemma_by_obid sqequalHypSubstitution isectElimination thin sqequalRule lambdaEquality hypothesis hypothesisEquality applyEquality because_Cache setElimination rename independent_functionElimination introduction productElimination independent_pairEquality dependent_functionElimination voidElimination axiomEquality equalityTransitivity equalitySymmetry promote_hyp hypothesis_subsumption tokenEquality unionElimination equalityElimination independent_isectElimination instantiate cumulativity atomEquality dependent_pairFormation independent_pairFormation setEquality intEquality natural_numberEquality int_eqEquality isect_memberEquality voidEquality computeAll dependent_set_memberEquality imageElimination equalityEquality functionEquality universeEquality

Latex:
\mforall{}[P:binary-tree()  {}\mrightarrow{}  \mBbbP{}]
    ((\mforall{}val:\mBbbZ{}.  P[btr\_Leaf(val)])
    {}\mRightarrow{}  (\mforall{}left,right:binary-tree().    (P[left]  {}\mRightarrow{}  P[right]  {}\mRightarrow{}  P[btr\_Node(left;right)]))
    {}\mRightarrow{}  \{\mforall{}v:binary-tree().  P[v]\})



Date html generated: 2016_05_16-AM-09_07_03
Last ObjectModification: 2016_01_17-AM-09_42_03

Theory : C-semantics


Home Index