Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etch/StreamFusion/Proofs/Imap.lean:60:4: error: tactic 'apply' failed, failed to unify #38

Open
grue-bleen opened this issue Jul 22, 2024 · 0 comments

Comments

@grue-bleen
Copy link

./././Etch/StreamFusion/Proofs/Imap.lean:60:4: error: tactic 'apply' failed, failed to unify
(evalMultiset s (s.seek ?q ?i)) ?j = (evalMultiset s ↑?q) ?j
with
(eval s (s.seek q (g (s.index q) j₁, b))) i = (eval s ↑q) i
case pos
ι ι' : Type
inst✝³ : LinearOrder ι
inst✝² : LinearOrder ι'
α : Type u_1
s : Stream ι α
inst✝¹ : AddZeroClass α
inst✝ : IsLawful s
f : ι → ι'
g : ι → ι' → ι
hf : Monotone f
hg : ∀ (j : ι'), Monotone fun x => g x j
hfg : ∀ (i : ι) (j : ι'), compareOfLessAndEq j (f i) = compareOfLessAndEq (g i j) i
this : IsBounded (imap_general f g s)
q : { x // s.valid x = true }
j₁ : ι'
b : Bool
i : ι
hj : (j₁, b) ≤ (f i, false)
le : s.index q ≤ i
⊢ (eval s (s.seek q (g (s.index q) j₁, b))) i = (eval s ↑q) i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant