feat(Order/OmegaCompletePartialOrder): add OmegaCompletePartialOrder instance for Option with basic ωScottContinuous lemmas#34093
Conversation
PR summary 03cf4f1c3d
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Order.OmegaCompletePartialOrder | 397 | 399 | +2 (+0.50%) |
Import changes for all files
| Files | Import difference |
|---|---|
| There are 3856 files with changed transitive imports taking up over 177434 characters: this is too many to display! | |
You can run ci-tools/scripts/pr_summary/import_trans_difference.sh all locally to see the whole output. |
Declarations diff
+ Monotone.ite
+ Monotone.ite'
+ bind_mono
+ coe_const
+ coe_dropOption
+ coe_some
+ const
+ dropOption
+ dropOption_some
+ get_mono
+ instance : Bot (Option α)
+ instance : OmegaCompletePartialOrder (Option α)
+ instance [LE α] : OrderBot (Option α)
+ instance [PartialOrder α] : PartialOrder (Option α)
+ instance [Preorder α] : Preorder (Option α)
+ isSome_mono
+ map_mono
+ none_eq_ωSup_iff
+ option_cases
+ some
+ some_mono
+ toOption
+ toOption_none
+ toOption_some
+ ωScottContinuous.map_ωSup₂
+ ωScottContinuous_bind
+ ωScottContinuous_map
+ ωScottContinuous_some
+ ωSup_const
+ ωSup_eq_none_iff
+ ωSup_some
You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.
No changes to technical debt.
You can run this locally as
./scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
WIP |
8f5ae92 to
3d30efb
Compare
|
-WIP |
OmegaCompletePartialOrder instance for OptionOmegaCompletePartialOrder instance for Option with basic ωScottContinuous lemmas
3d30efb to
ff4f15f
Compare
|
This pull request has conflicts, please merge |
ff4f15f to
24bd1ae
Compare
|
This PR/issue depends on: |
|
Sorry for the late review! I've been busy lately. I review now. |
There was a problem hiding this comment.
Thank you for your contribution! I read your Zulip thread and repository.
Could you use WithBot instead of Option? WithBot has the same order structure as Option, but has a much richer API. The order structure for Option was added as internal prototype code in the vary early days of Lean 4 (see this commit), so the API is poor. By contrast, the theory of WithBot has been well-developed since Lean 3.
…instance for Option with basic ωScottContinuous lemmas
a96f9db to
ae007c8
Compare
|
@Komyyy Thank you for looking at this. I can certainly use |
|
-awaiting-author |
|
The order structure of On the other hand, the order structure of If you want to use operations of |
|
Sorry for the delay. The changes you've requested are significant, so I have put them in a new pull request. See #37819. |
fun_propaboutScottContinuousand friends #33941Chainastructure#37258