Skip to content

Conversation

RemyDegenne
Copy link
Contributor

@RemyDegenne RemyDegenne commented Oct 10, 2025

Add notations:

  • X ⟂ᵢ[μ] Y for independence of X and Y. Simplified to X ⟂ᵢ Y if the measure is volume.
  • X ⟂ᵢ[Z, hZ; μ] Y for independence of X and Y given Z. Simplified to X ⟂ᵢ[Z, hZ] Y if the measure is volume.

I don't use a double uptack because neither my browser nor my vscode font have that character (U+2AEB). Instead I have chosen a \perp with an i for indepedence.


Open in Gitpod

@RemyDegenne RemyDegenne added the WIP Work in progress label Oct 10, 2025
@github-actions github-actions bot added the t-measure-probability Measure theory / Probability theory label Oct 10, 2025
Copy link

github-actions bot commented Oct 10, 2025

PR summary 2b8db8b0ae

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/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).

@RemyDegenne RemyDegenne removed the WIP Work in progress label Oct 10, 2025
Copy link
Collaborator

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

Great idea, thank you! I just have a minor comment about discoverability of the notation.
maintainer delegate

@grunweg grunweg changed the title chore: notation for independence chore: notation for (conditional) independence Oct 11, 2025
Copy link

🚀 Pull request has been placed on the maintainer queue by grunweg.

@grunweg
Copy link
Collaborator

grunweg commented Oct 14, 2025

Thanks for adding the comment! How about also mentioning in the doc-strings that the notation is scoped?

@fpvandoorn
Copy link
Member

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 14, 2025

✌️ RemyDegenne can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@RemyDegenne
Copy link
Contributor Author

Thanks for the reviews!
bors r+

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Oct 14, 2025
mathlib-bors bot pushed a commit that referenced this pull request Oct 14, 2025
Add notations:
- `X ⟂ᵢ[μ] Y` for independence of X and Y. Simplified to `X ⟂ᵢ Y` if the measure is `volume`.
- `X ⟂ᵢ[Z, hZ; μ] Y` for independence of X and Y given Z. Simplified to `X ⟂ᵢ[Z, hZ] Y` if the measure is `volume`.

I don't use a double uptack because neither my browser nor my vscode font have that character (U+2AEB). Instead I have chosen a \perp with an i for indepedence.

Co-authored-by: Remy Degenne <remydegenne@gmail.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 14, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: notation for (conditional) independence [Merged by Bors] - chore: notation for (conditional) independence Oct 14, 2025
@mathlib-bors mathlib-bors bot closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated ready-to-merge This PR has been sent to bors. t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants