Skip to content

feat(ModelTheory/ElementarySubstructures): add a variant of Tarski-Vaught test taking sets as input#33520

Open
NoneMore wants to merge 6 commits intoleanprover-community:masterfrom
NoneMore:TVvariant
Open

feat(ModelTheory/ElementarySubstructures): add a variant of Tarski-Vaught test taking sets as input#33520
NoneMore wants to merge 6 commits intoleanprover-community:masterfrom
NoneMore:TVvariant

Conversation

@NoneMore
Copy link
Copy Markdown
Contributor

@NoneMore NoneMore commented Jan 3, 2026

There should exist an ElementarySubstructure.copy such that we can directly bundle the set itself instaed of its closure as an elementary substructure.


Open in Gitpod

@github-actions github-actions bot added new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-logic Logic (model theory, etc) labels Jan 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 3, 2026

PR summary c4c0a46689

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.ModelTheory.ElementarySubstructures 771 773 +2 (+0.26%)
Import changes for all files
Files Import difference
Mathlib.ModelTheory.Graph 1
11 files Mathlib.ModelTheory.Algebra.Field.IsAlgClosed Mathlib.ModelTheory.Bundled Mathlib.ModelTheory.Complexity Mathlib.ModelTheory.ElementarySubstructures Mathlib.ModelTheory.Equivalence Mathlib.ModelTheory.Fraisse Mathlib.ModelTheory.Order Mathlib.ModelTheory.Satisfiability Mathlib.ModelTheory.Skolem Mathlib.ModelTheory.Topology.Types Mathlib.ModelTheory.Types
2

Declarations diff

+ MeetsDefinable
+ closure_eq_self
+ isElementary_closure
+ meetsDefinable
+ toElementarySubstructure

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 relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

Copy link
Copy Markdown
Contributor

@Citronhat Citronhat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also don’t know the math here, but I again have some minor stylistic suggestions.

@NoneMore
Copy link
Copy Markdown
Contributor Author

Thanks for your suggestions on styles of both PRs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-logic Logic (model theory, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants