je une formule définie inductivement comme suit:Un cas particulier du théorème de Lob en utilisant Coq
Parameter world : Type.
Parameter R : world -> world -> Prop.
Definition Proposition : Type := world -> Prop
(* This says that R has only a finite number of steps it can take *)
Inductive R_ends : world -> Prop :=
| re : forall w, (forall w', R w w' -> R_ends w') -> R_ends w.
(* if every reachable state will end then this state will end *)
Et hypothèse:
Hypothesis W : forall w, R_ends w.
Je voudrais prouver:
forall P: Proposition, (forall w, (forall w0, R w w0 -> P w0) -> P w)) -> (forall w, P w)
J'ai essayé d'utiliser la tactique induction
sur le type world
mais j'ai échoué car ce n'est pas un ty inductif pe.
Est-il prouvé en Coq et si oui, pouvez-vous suggérer comment?