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 3efa02168fImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type |
|---|---|---|
| 492 | -2 | porting notes |
Current commit a9fae26090
Reference commit 3efa02168f
You can run this locally as
./scripts/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).
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]>
|
This PR/issue depends on:
|
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]>
289247c to
046d6a5
Compare
483f2b5 to
8760618
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]>
Add @[to_dual] to 10 primal theorems (iSup_bool_eq, sup_eq_iSup, iSup_nat_gt_zero_eq, and distributivity lemmas) and delete hand-written duals. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to 8 primal theorems (iSup_eq_iSup_finset, iSup_singleton, iSup_union, iSup_insert, etc.) and delete hand-written duals. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to iSup_iUnion, sSup_iUnion, sSup_sUnion, iSup_sUnion and delete hand-written duals. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add `@[to_dual]` to: - `iSup_ge_eq_iSup_nat_add` (generates `iInf_ge_eq_iInf_nat_add`) - `sup_iSup_nat_succ` (generates `inf_iInf_nat_succ`, explicit name needed due to `succ`→`Pred` name dictionary collision) - `nonempty_iInter_Iic_iff` (generates `nonempty_iInter_Ici_iff`) Add TODO comments for pairs that can't use `@[to_dual]`: - `Monotone.iSup_nat_add`/`Antitone.iInf_nat_add` (Monotone/Antitone not in name dictionary) - `iSup_iInf_ge_nat_add`/`iInf_iSup_ge_nat_add` (same reason) - `iSup_finset_image`/`iInf_finset_image` (iSup_coe/iInf_coe not registered duals) Co-Authored-By: Claude Opus 4.6 <[email protected]>
Register dual mappings for ConditionallyCompleteLattice and ConditionallyCompleteLinearOrder fields. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to ~40 primal theorems across MonotoneOn, AntitoneOn, Monotone, Antitone, and image2 sections. Delete hand-written duals. Antitone proofs rewritten to be self-contained (not via dual_right). Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add `@[to_dual]` to `IsGLB.of_image` (generates `IsLUB.of_image`). Add TODO comment for `BddAbove.range_mono`/`BddBelow.range_mono` (different explicit/implicit parameter structure prevents conversion). Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add @[to_dual] to ~25 primal theorems (le_csSup, csSup_le, csSup_singleton, csSup_union, csSup_insert, etc.) and delete hand-written duals. Register existing dual pairs with attribute [to_dual existing]. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add `@[to_dual]` to: - `Monotone.le_csSup_image` (generates `Monotone.csInf_image_le`) - `Monotone.csSup_image_le` (generates `Monotone.le_csInf_image`) - `MonotoneOn.csInf_eq_of_subset_of_forall_exists_le` (generates `MonotoneOn.csSup_eq_of_subset_of_forall_exists_le`) Co-Authored-By: Claude Opus 4.6 <[email protected]>
8760618 to
a9fae26
Compare
|
Merged into #35213 to reduce the PR chain depth. |
This PR adds
@[to_dual existing]annotations inConditionallyCompleteLattice/Defsand@[to_dual]annotations to primal theorems inConditionallyCompleteLattice/Basic, auto-generating their dual counterparts and deleting the hand-written versions.Diff relative to previous PR
🤖 Prepared with Claude Code