Skip to content

chore: fix mathlib/Std deprecation warnings - #10

Closed
gotrevor wants to merge 4 commits into
masterfrom
deprecation-warnings
Closed

chore: fix mathlib/Std deprecation warnings#10
gotrevor wants to merge 4 commits into
masterfrom
deprecation-warnings

Conversation

@gotrevor

@gotrevor gotrevor commented Jul 3, 2026

Copy link
Copy Markdown
Owner

What

Silence current mathlib/Std deprecation warnings in Foundation:

  • Set.insert_diff_singletonSet.insert_sdiff_singleton (Logic/Semantics)
  • Irreflexive/TransitiveStd.Irrefl/IsTrans (Vorspiel/List/ChainI)
  • Reflexive/Symmetric Coherence → raw -forms (∀ x, ∀ ⦃x y⦄) + Std.Refl/Std.Symm instances (Semantics/CoherenceSpace/Basic)
  • import Mathlib.Data.Nat.LatticeMathlib.Order.Lattice.Nat (Vorspiel/Nat/Basic)

Pure API-rename cleanup - no change in what's proved.

🤖 Generated with Claude Code

gotrevor and others added 4 commits July 2, 2026 22:05
Update deprecated names surfaced by the current mathlib/Std:
- Set.insert_diff_singleton → insert_sdiff_singleton (Logic/Semantics, Kripke/Completeness)
- Irreflexive/Transitive → Std.Irrefl/IsTrans (Vorspiel/List/ChainI)
- Reflexive/Symmetric Coherence → explicit ∀-forms (Semantics/CoherenceSpace)
- Mathlib.Data.Nat.Lattice → Mathlib.Order.Lattice.Nat (Vorspiel/Nat/Basic)

Split out of the Δ₁-definability PR (unrelated cleanup).
… strictly helpful regardless of future migration
- CoherenceSpace.symmetric: back to strict-implicit ⦃x y⦄ (matches the old
  `Symmetric` def exactly), so ⟨symmetric⟩ and `symmetric h` compile unchanged
- ChainI: project the class hypotheses directly with dot-notation
  (IR.irrefl _ hR, TR.trans _ _ _ …) instead of `letI := _; exact Class.method`,
  restoring the original succinct one-liners

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gotrevor

gotrevor commented Jul 3, 2026

Copy link
Copy Markdown
Owner Author

shipped upstream: FormalizedFormalLogic#834

@gotrevor gotrevor closed this Jul 3, 2026
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