Tactic to check that a named hypothesis has a given type and/or value.
-
guard_hyp h : tchecks the type up to reducible defeq, -
guard_hyp h :~ tchecks the type up to default defeq, -
guard_hyp h :ₛ tchecks the type up to syntactic equality, -
guard_hyp h :ₐ tchecks the type up to alpha equality. -
guard_hyp h := vchecks value up to reducible defeq, -
guard_hyp h :=~ vchecks value up to default defeq, -
guard_hyp h :=ₛ vchecks value up to syntactic equality, -
guard_hyp h :=ₐ vchecks the value up to alpha equality.
The value v is elaborated using the type of h as the expected type.