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")
|
||||
| _ -> failwith ("Hypothesis " ^ var ^ " unusable")
|
||||
)
|
||||
(* Pour montrer A, on montre B -> A et B *)
|
||||
| Cut tint -> (
|
||||
subgoals := (TImpl(tint, ty), hyps)::(tint, hyps)::!subgoals;
|
||||
fill_holes := function
|
||||
| (pf::px::s) -> f ((LApp(pf, px))::s)
|
||||
| _ -> fail ()
|
||||
subgoals := (TImpl (tint, ty), hyps) :: (tint, hyps) :: !subgoals;
|
||||
fill_holes := function
|
||||
| pf :: px :: s -> f ((LApp (pf, px)) :: s)
|
||||
| _ -> fail ()
|
||||
)
|
||||
done;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user