by momentoftop · 6y ago · 0 comments
The basic idea is that a "tactic" is a function which inputs some abstract goal and outputs a pair consisting of subgoals and a mechanism by which the solutions to those subgoals can be combined into a solution to the original goal. This is a very general notion, but it was mostly influential in Milner's style of theorem prover. To this day, most proofs in HOL systems such as HOL4 and HOL Light are just combinations of tactics.
That tactics could potentially be used in Haskell is just a reflection of the fact that Haskell's type system has a connection to propositional logic, where Milner's tactics become a mechanism by which to come up with a program (solution) matching a type (goal).
There's nothing buzzwordy about this.
[1] https://ui.adsabs.harvard.edu/abs/1984RSPTA.312..411M/abstra...
(REPEAT GENTAC) THEN REPEAT (ANYCASESTAC THEN SIMPTAC).
Every one of these identifiers is an ordinary ML function. "THEN" is infix. REPEAT : tactic -> tactic
GENTAC : tactic
ANYCASESTAC : tactic
THEN : tactic -> tactic -> tactic
SIMPTAC : tactic
[1] http://www-public.imtbs-tsp.eu/~gibson/Teaching/CSC4504/Read...