Nuprl Lemma : C_TYPE-induction2

∀[P:C_TYPE() ⟶ ℙ]
  (P[C_Void()]
  ⇒ P[C_Int()]
  ⇒ (∀fields:(Atom × C_TYPE()) List. ((∀i:ℕ||fields||. P[snd(fields[i])]) ⇒ P[C_Struct(fields)]))
  ⇒ (∀length:ℕ. ∀elems:C_TYPE().  (P[elems] ⇒ P[C_Array(length;elems)]))
  ⇒ (∀to:C_TYPE(). (P[to] ⇒ P[C_Pointer(to)]))
  ⇒ {∀x:C_TYPE(). P[x]})


Proof




Definitions occuring in Statement :  C_Pointer: C_Pointer(to),  C_Array: C_Array(length;elems),  C_Struct: C_Struct(fields),  C_Int: C_Int(),  C_Void: C_Void(),  C_TYPE: C_TYPE(),  select: L[n],  length: ||as||,  list: T List,  int_seg: {i..j-},  nat: ℕ,  uall: ∀[x:A]. B[x],  prop: ℙ,  guard: {T},  so_apply: x[s],  pi2: snd(t),  all: ∀x:A. B[x],  implies: P ⇒ Q,  function: x:A ⟶ B[x],  product: x:A × B[x],  natural_number: $n,  atom: Atom
Definitions unfolded in proof :  uall: ∀[x:A]. B[x],  member: t ∈ T,  implies: P ⇒ Q,  all: ∀x:A. B[x],  prop: ℙ,  so_lambda: λ2x.t[x],  so_apply: x[s],  int_seg: {i..j-},  uimplies: b supposing a,  guard: {T},  lelt: i ≤ j < k,  and: P ∧ Q,  decidable: Dec(P),  or: P ∨ Q,  satisfiable_int_formula: satisfiable_int_formula(fmla),  exists: ∃x:A. B[x],  false: False,  not: ¬A,  top: Top,  less_than: a < b,  squash: ↓T,  subtype_rel: A ⊆r B,  l_all: (∀x∈L.P[x]),  pi2: snd(t)
Lemmas referenced :  C_Void_wf,  C_Int_wf,  C_Struct_wf,  pi2_wf,  int_formula_prop_less_lemma,  intformless_wf,  decidable__lt,  int_formula_prop_wf,  int_term_value_var_lemma,  int_term_value_constant_lemma,  int_formula_prop_le_lemma,  int_formula_prop_not_lemma,  int_formula_prop_and_lemma,  itermVar_wf,  itermConstant_wf,  intformle_wf,  intformnot_wf,  intformand_wf,  satisfiable-full-omega-tt,  decidable__le,  int_seg_properties,  select_wf,  length_wf,  int_seg_wf,  all_wf,  list_wf,  l_member_wf,  C_TYPE_wf,  l_all_wf2,  C_TYPE-induction
Rules used in proof :  cut,  lemma_by_obid,  sqequalSubstitution,  sqequalTransitivity,  computationStep,  sqequalReflexivity,  isect_memberFormation,  hypothesis,  sqequalHypSubstitution,  isectElimination,  thin,  hypothesisEquality,  lambdaFormation,  independent_functionElimination,  dependent_functionElimination,  productEquality,  atomEquality,  sqequalRule,  lambdaEquality,  spreadEquality,  setElimination,  rename,  applyEquality,  setEquality,  functionEquality,  natural_numberEquality,  because_Cache,  independent_isectElimination,  productElimination,  unionElimination,  dependent_pairFormation,  int_eqEquality,  intEquality,  isect_memberEquality,  voidElimination,  voidEquality,  independent_pairFormation,  computeAll,  imageElimination,  equalityEquality,  equalityTransitivity,  equalitySymmetry,  universeEquality,  cumulativity

Latex:
\mforall{}[P:C\_TYPE()  {}\mrightarrow{}  \mBbbP{}]
    (P[C\_Void()]
    {}\mRightarrow{}  P[C\_Int()]
    {}\mRightarrow{}  (\mforall{}fields:(Atom  \mtimes{}  C\_TYPE())  List.  ((\mforall{}i:\mBbbN{}||fields||.  P[snd(fields[i])])  {}\mRightarrow{}  P[C\_Struct(fields)]))
    {}\mRightarrow{}  (\mforall{}length:\mBbbN{}.  \mforall{}elems:C\_TYPE().    (P[elems]  {}\mRightarrow{}  P[C\_Array(length;elems)]))
    {}\mRightarrow{}  (\mforall{}to:C\_TYPE().  (P[to]  {}\mRightarrow{}  P[C\_Pointer(to)]))
    {}\mRightarrow{}  \{\mforall{}x:C\_TYPE().  P[x]\})



Date html generated: 2016_05_16-AM-08_46_04
Last ObjectModification: 2016_01_17-AM-09_43_10

Theory : C-semantics


Home Index