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 Eif the goal isis_O f goris_o f g, wheref : α → E;
-  nontriviality Rif the goal islinear_independent R _;
-  nontriviality Rif the goal isis_O f goris_o f g, wheref : α → E,[semimodule R E]; in this casenontrivialityshould add a local instancesemimodule.subsingleton R. The last case was never needed inmathlib, and there is a workaround: runnontriviality E, then deducenontrivial Rfromnontrivial E. Misc feature:
-  make nontrivialityaccept an optional list of additionalsimplemmas.