g : term frag list -> proofs

SYNOPSIS
Initializes the subgoal package with a new goal which has no assumptions.

DESCRIBE
The call
   g `tm`
is equivalent to
   set_goal([],Term`tm`)
and clearly more convenient if a goal has no assumptions. For a description of the subgoal package, see set_goal.

FAILURE
Fails unless the argument term has type bool.

EXAMPLE
- g `(HD[1;2;3] = 1) /\ (TL[1;2;3] = [2;3])`;
> val it =
    Proof manager status: 1 proof.
    1. Incomplete:
         Initial goal:
         (HD [1; 2; 3] = 1) /\ (TL [1; 2; 3] = [2; 3])



    : GoalstackPure.proofs

SEEALSO  b,   backup,   backup_limit,   e,   expand,   expandf,   get_state,   p,   print_state,   r,   rotate,   save_top_thm,   set_goal,   set_state,   top_goal,   top_thm

HOL  Kananaskis 0