Skip to content

refactor(Core/Scales): hoist Comparison to shared scale primitive#20

Merged
hawkrobe merged 5 commits into
mainfrom
refactor/comparison-to-core
May 30, 2026
Merged

refactor(Core/Scales): hoist Comparison to shared scale primitive#20
hawkrobe merged 5 commits into
mainfrom
refactor/comparison-to-core

Conversation

@hawkrobe
Copy link
Copy Markdown
Owner

Moves the reified five-way comparison (eq/ge/gt/le/lt) out of Numeral into Core.Scale.Comparison, the shared degree-comparison primitive behind numerals, measure phrases, and gradable comparatives. Comparison.interval/over bottom out in mathlib's order-interval + preimage API, and mem_interval/mem_over/boundary_mem are @[simp] so downstream proofs reduce into Set.mem_Ici & friends rather than a bespoke lemma set. Numeral.Entry now carries a Core.Scale.Comparison.

Also softens the Class A/B docstring (Nouwen 2010's strict/non-strict split is descriptive; the ignorance-implicature correlation is contested per Schwarz–Buccola–Hamilton 2012 and Cremers et al. 2022, granularity-based per Enguehard 2018) and adds those three references.

@hawkrobe hawkrobe merged commit 9936e7f into main May 30, 2026
1 check passed
@hawkrobe hawkrobe deleted the refactor/comparison-to-core branch May 30, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant