lean4-htt/tests/lean/run/tc_eta_struct_issue.lean
Gabriel Ebner 448f49ee91 Revert "fix: reenable structure eta during tc search"
The fix is blocked by slow defeq checks for TC instances; see issues
1986 and 2055.  Enabling it right now causes lots of timeouts in
mathlib4.
https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/bump.20to.202023-02-06/near/326223768

This reverts commit 15a045ee66.
2023-02-09 11:37:30 -08:00

22 lines
494 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def Op1 (F : Type u → Type v) α := F α
namespace Op1
instance {F} [Functor F] : Functor (Op1 F) where
map := @Functor.map F _
instance {F} [Functor F] [H : LawfulFunctor F] : LawfulFunctor (Op1 F) :=
sorry
variable {F} [Applicative F]
instance : Applicative (Op1 F) where
pure := pure (f := F)
seq f x := ((λ x f => f x) <$> x () <*> f : F _)
map := Functor.map (f := F)
variable [LawfulApplicative F]
instance : LawfulApplicative (Op1 F) := by
constructor
repeat sorry