[Merged by Bors] - refactor(PartialHomeomorph): make (s : Opens \alpha) implicit#10082
[Merged by Bors] - refactor(PartialHomeomorph): make (s : Opens \alpha) implicit#10082
Conversation
…is always used with a hypothesis involving s Follow-up to #....
|
@winstonyin I'd be interested in your opinion on this, as you wrote #9894. |
|
The reason why we kept these arguments explicit in Lean 3 was the following: if you have |
|
Good point; I did not know that. I asked on zulip. |
|
My understanding of the zulip discussion is that keeping the arguments explicit is no longer necessary. I have updated the commit message accordingly and propose that we move forward with this PR. |
|
bors r+ |
It is always used in conjunction with a hypothesis `hs` about `s`.
In Lean 3, these arguments were kept explicit on purpose: given a definition `myDef {x : α} (hx : MyProp x)`,
if the proof of `hx` was nontrivial (not a variable), Lean would pretty-print it as `myDef _`.
In Lean 4, setting `pp.proofs.withType` or `pp.proofs` to true makes such terms pretty-print as `myDef (x : MyProp)`.
Hence, this workaround is no longer necessary.
Follow-up to #9894.
|
Pull request successfully merged into master. Build succeeded: |
It is always used in conjunction with a hypothesis `hs` about `s`.
In Lean 3, these arguments were kept explicit on purpose: given a definition `myDef {x : α} (hx : MyProp x)`,
if the proof of `hx` was nontrivial (not a variable), Lean would pretty-print it as `myDef _`.
In Lean 4, setting `pp.proofs.withType` or `pp.proofs` to true makes such terms pretty-print as `myDef (x : MyProp)`.
Hence, this workaround is no longer necessary.
Follow-up to #9894.
It is always used in conjunction with a hypothesis
hsabouts.In Lean 3, these arguments were kept explicit on purpose: given a definition
myDef {x : α} (hx : MyProp x),if the proof of
hxwas nontrivial (not a variable), Lean would pretty-print it asmyDef _.In Lean 4, setting
pp.proofs.withTypeorpp.proofsto true makes such terms pretty-print asmyDef (x : MyProp).Hence, this workaround is no longer necessary.
Follow-up to #9894.