[Merged by Bors] - chore: remove some redundant classical#41497
[Merged by Bors] - chore: remove some redundant classical#41497felixpernegger wants to merge 3 commits into
classical#41497Conversation
|
easy |
PR summary e3867a6efeImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| lemma traceDual_top' : | ||
| (⊤ : Submodule B L)ᵛ = | ||
| if ((LinearMap.range (Algebra.trace K L)).restrictScalars A ≤ 1) then ⊤ else ⊥ := by | ||
| classical |
There was a problem hiding this comment.
If possible, please remove the open scoped Classical in instead.
There was a problem hiding this comment.
I check each of them before the PR
There was a problem hiding this comment.
Can you do this instead?
/-- The dual of a non-zero fractional ideal is the dual of the submodule under the trace form. -/
noncomputable
def dual (I : FractionalIdeal B⁰ L) : FractionalIdeal B⁰ L :=
open scoped Classical in
There was a problem hiding this comment.
(The point is that the statement then does not rely on any classical decidability instances, although this might be quite minor here.)
There was a problem hiding this comment.
thats another line. I think the script missed something (or I when i went over it), but whatever
|
-awaiting-author |
| open scoped Classical in | ||
| if hI : I = 0 then 0 else | ||
| ⟨Iᵛ, by | ||
| classical |
There was a problem hiding this comment.
FYI here we really need both
|
Continuation in #41532 |
|
I definitely put more than 20 seconds into reviewing this, so unlabelling as easy. |
|
Thanks! |
Remove `classical` (in two cases `open scoped Classical in`) when we already did `open (scoped) Classical in` Found by @vlad902 [here](#41423 (comment)) Co-authored-by: Batixx <s59fpern@uni-bonn.de>
|
Pull request successfully merged into master. Build succeeded: |
classicalclassical
Remove `classical` (in two cases `open scoped Classical in`) when we already did `open (scoped) Classical in` Found by @vlad902 [here](leanprover-community#41423 (comment)) Co-authored-by: Batixx <s59fpern@uni-bonn.de>
Remove
classical(in two casesopen scoped Classical in) when we already didopen (scoped) Classical inFound by @vlad902 here