Repository navigation
Conversation
This enables @[to_dual] to automatically translate between atom/coatom and lfp/gfp theorem names, preparing for expanded @[to_dual] coverage in subsequent commits. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to IsLUB.insert, isLUB_pair, IsLeast.unique, IsLeast.isLeast_iff_eq, and IsLUB.unique, auto-generating their duals instead of maintaining hand-written copies. Co-Authored-By: Claude Opus 4.6 <[email protected]>
PR summary b16dd712b4Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Add @[to_dual] to 15 more theorems in Order.Bounds.Basic, auto-generating their duals instead of maintaining hand-written copies. Covers univ, empty set, bounds, and lt_iff sections. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to 7 more theorems: bddBelow_iff_subset_Ici, IsGreatest.insert, upperBounds_insert, OrderTop.bddAbove, isGreatest_pair, upperBounds_prod, and IsLUB.prod. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
These don't enable any new @[to_dual] annotations in Bounds.Basic (the Heyting pairs have type class issues), but prepare the dictionary for use elsewhere. Co-Authored-By: Claude Opus 4.6 <[email protected]>
d08f72f to
d36d616
Compare
bbb9822 to
05f90ca
Compare
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual existing] to sInf_lt_iff and @[to_dual] to lt_iSup_iff and lt_biSup_iff, auto-generating iInf_lt_iff and biInf_lt_iff. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add ~100 @[to_dual] annotations to primal theorems in Order.CompleteLattice.Basic and delete corresponding hand-written dual theorems. The `@[to_dual]` attribute auto-generates the dual versions by term-level translation. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
05f90ca to
3ae29c0
Compare
|
This PR/issue depends on:
|
…notone.le_map_sSup Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Fix wrong docstrings on to_dual for iSup_and' and iSup_option_elim
(should reference iInf versions, not iSup)
- Remove redundant comments (csInf_singleton, TODO(Jeremy), ciSup_const)
- Remove empty InfSet section
- Add explicit target name for Monotone.le_map_sSup → Monotone.map_sInf_le
- Use to_dual (dont_translate := ι) for biSup_{lt,le,gt,ge}_eq_iSup
- Add @[to_dual none] to IsLUB.exists_between{,'}
- Elaborate sInf_eq_bot TODO comment in Defs.lean
Co-Authored-By: Claude Opus 4.6 <[email protected]>
# Conflicts: # Mathlib/Order/Bounds/Basic.lean
|
This pull request has conflicts, please merge |
…e-lattice # Conflicts: # Mathlib/Order/CompleteLattice/Basic.lean
- Use `@[to_dual none]` on `IsGLB.exists_between` and `IsGLB.exists_between'` - Restore pre-existing comments removed in previous commit - Rewrite `sInf_eq_bot` type to use `⊥ < b` instead of `b > ⊥` - Update TODO comment on `biSup_le_eq_sup` Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
I went through all the changes, and did some major cleanup
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by JovanGerb. |
|
!radar |
|
Benchmark results for 4caf948 against b16dd71 are in. There are no significant changes. @riccardobrasca
Small changes (2✅, 1🟥)
|
|
Thanks! bors merge |
This PR adds `@[to_dual]` annotations extensively in `CompleteLattice/Defs.lean` and `CompleteLattice/Basic.lean`, auto-generating many dual theorems and deleting the hand-written versions. - [x] depends on: #35208 🤖 Prepared with Claude Code Co-authored-by: Jovan Gerbscheid <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
…unity#35209) This PR adds `@[to_dual]` annotations extensively in `CompleteLattice/Defs.lean` and `CompleteLattice/Basic.lean`, auto-generating many dual theorems and deleting the hand-written versions. - [x] depends on: leanprover-community#35208 🤖 Prepared with Claude Code Co-authored-by: Jovan Gerbscheid <[email protected]>
This PR adds
@[to_dual]annotations extensively inCompleteLattice/Defs.leanandCompleteLattice/Basic.lean, auto-generating many dual theorems and deleting the hand-written versions.🤖 Prepared with Claude Code