Parse exact term / proof
This commit is contained in:
parent
20d4ee5531
commit
486a788757
6
main.ml
6
main.ml
@ -58,8 +58,10 @@ let rec interactive ((g, gs) : proof) : proof =
|
||||
Goal ty -> fresh_proof ty |> interactive
|
||||
| Tact t ->
|
||||
begin match t with
|
||||
Exact e ->
|
||||
tact_exact (g, gs) e |> interactive
|
||||
Exact_term e ->
|
||||
tact_exact_term (g, gs) e |> interactive
|
||||
| Exact_proof s ->
|
||||
tact_exact_proof (g, gs) s |> interactive
|
||||
| Assumption ->
|
||||
tact_assumption (g, gs) |> interactive
|
||||
| Intro ->
|
||||
|
@ -33,7 +33,8 @@ tactic:
|
||||
|
||||
command:
|
||||
| GOAL t=ty { Goal t }
|
||||
| EXACT e=expression { Tact (Exact e) }
|
||||
| EXACT e=expression { Tact (Exact_term e) }
|
||||
| EXACT s=TYID { Tact (Exact_proof s) }
|
||||
| ASSUMPTION { Tact (Assumption) }
|
||||
| INTRO { Tact (Intro) }
|
||||
| CUT t=ty { Tact (Cut t) }
|
||||
|
Loading…
Reference in New Issue
Block a user