input-output-hk / input-output-hk/Lean-blaster

[Bug] Kernel error when blaster tactic is used and some other subgoals are conculded with sorry/proofs

Open
#30 0 comments 0 reactions 1 assignee Claimed by @etiennejf View on GitHub
area:tactic bug
Dominant language
Lean
Stars
57
Forks
11
Avg merge
1d 5h
Merged PRs (30d)
10

Description

Error `(kernel)` application type mismatch ...` is raised when `blaster` tactic is used to prove some of the sub-goals of a theorem, while some remaining sub-goals are concluded with either `sorry` or a manual proof is provided.

E.g. Here blaster tactic is only used to optimize the goal to be proved.

```
theorem sto8 :
∀ (x : ProcessSCInput) (s : ComputeReserve),
isSellSCOrder x →
validOrderInput x →
resultToComputeReserve (fromHaltState $ compiledProcessSCOrder x) = some s →
validSellSC x s := by
intro x s;
blaster (only-optimize: 1)
by_cases x.state.crN_SC = 0 <;>
by_cases x.state.crN_RC = 0
. sorry
. sorry
. sorry
. sorry
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.