Commentaire
This commit is contained in:
parent
2ce406f7f2
commit
359d7333f5
9
main.ml
9
main.ml
@ -148,11 +148,12 @@ while !subgoals <> [] do
|
|||||||
| None -> failwith ("Hypothesis " ^ var ^ " not found")
|
| None -> failwith ("Hypothesis " ^ var ^ " not found")
|
||||||
| _ -> failwith ("Hypothesis " ^ var ^ " unusable")
|
| _ -> failwith ("Hypothesis " ^ var ^ " unusable")
|
||||||
)
|
)
|
||||||
|
(* Pour montrer A, on montre B -> A et B *)
|
||||||
| Cut tint -> (
|
| Cut tint -> (
|
||||||
subgoals := (TImpl(tint, ty), hyps)::(tint, hyps)::!subgoals;
|
subgoals := (TImpl (tint, ty), hyps) :: (tint, hyps) :: !subgoals;
|
||||||
fill_holes := function
|
fill_holes := function
|
||||||
| (pf::px::s) -> f ((LApp(pf, px))::s)
|
| pf :: px :: s -> f ((LApp (pf, px)) :: s)
|
||||||
| _ -> fail ()
|
| _ -> fail ()
|
||||||
)
|
)
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user