Commit 2020-10-18 01:46 ebd2b7f2
View on Github →feat(logic/nontrivial): make nontriviality
work for more goals (#4574)
The goal is to make nontriviality
work for the following goals:
-
nontriviality α
if the goal isis_open s
,s : set α
; -
nontriviality E
if the goal isis_O f g
oris_o f g
, wheref : α → E
; -
nontriviality R
if the goal islinear_independent R _
; -
nontriviality R
if the goal isis_O f g
oris_o f g
, wheref : α → E
,[semimodule R E]
; in this casenontriviality
should add a local instancesemimodule.subsingleton R
. The last case was never needed inmathlib
, and there is a workaround: runnontriviality E
, then deducenontrivial R
fromnontrivial E
. Misc feature: - make
nontriviality
accept an optional list of additionalsimp
lemmas.