lean4-htt/old_tests/tests/lean/synth_inferred_mismatch.lean
2018-04-10 12:56:55 -07:00

7 lines
196 B
Text

constant f (c : Prop) [decidable c] : Prop
constant fax (c : Prop) [decidable c] : f c
attribute [elab_simple] fax
example (c : Prop) [decidable c] (h : c) : f c :=
(fax _ : @f c (is_true h))