Commentaire

This commit is contained in:
Adrien Vannson 2022-05-10 15:20:50 +02:00
parent 2ce406f7f2
commit 359d7333f5
No known key found for this signature in database
GPG Key ID: FE2E66FD978C1A55

View File

@ -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;