You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Aesop
universe u
variable {α : Type u}
@[simp]theoremList.filter_true (l : List α) : filter (fun _ => true) l = l := sorrystructureFinset (α : Type u) where
val : List α
nodup : List.Nodup val
namespace Finset
instance : Membership α (Finset α) :=
⟨fun a s => a ∈ s.1⟩
protecteddefNonempty (s : Finset α) : Prop := ∃ x : α, x ∈ s
instance : Singleton α (Finset α) :=
⟨fun a => ⟨[a], sorry⟩⟩
@[simp, aesop safe apply]theoremsingleton_nonempty (a : α) : ({a} : Finset α).Nonempty := sorryend Finset
example
(n : List Nat → List Nat)
(hn : ∀ A, n A = A.filter (fun p => true)) :
0 ≤ 0 := by
exact (0, Classical.not_not.1 $ by aesop)
when run as lake lean test/tmp.lean 2>&1 on leanprover/lean4:v4.11.0-rc2, emits 76505 lines of output and 750 panics.
The useful part of the output is:
aesop: internal error: extracted proof has metavariables.
Proof: Eq.mpr (id Init.Classical._auxLemma.2)
(?m.1175 (Eq.mp (forall_congr fun A => congrArg (Eq (n A)) (List.filter_true A)) hn))
Unassigned metavariables: [_uniq.1490, _uniq.1491]
The following file
when run as
lake lean test/tmp.lean 2>&1
onleanprover/lean4:v4.11.0-rc2
, emits 76505 lines of output and 750 panics.The useful part of the output is:
An example panic is:
The text was updated successfully, but these errors were encountered: