Skip to content

Comments

feat : Define anti_pascal#35128

Open
DAE123456 wants to merge 3 commits intoleanprover-community:masterfrom
DAE123456:anti_pascal
Open

feat : Define anti_pascal#35128
DAE123456 wants to merge 3 commits intoleanprover-community:masterfrom
DAE123456:anti_pascal

Conversation

@DAE123456
Copy link
Contributor


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-algebra Algebra (groups, rings, fields, etc) labels Feb 11, 2026
@github-actions
Copy link

github-actions bot commented Feb 11, 2026

PR summary 596a505d49

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ anti_pascal_triangle
+ anti_pascal_triangle_aux
+ anti_pascal_triangle_first
+ anti_pascal_triangle_get

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

@github-actions
Copy link

github-actions bot commented Feb 11, 2026

🚨 PR Title Needs Formatting

Please update the title to match our commit style conventions.

Errors from script:

error: the PR title should be of the form
  abbrev: main title
or
  abbrev(scope): main title
Details on the required title format

The title should fit the following format:

<kind>(<optional-scope>): <subject>

<kind> is:

  • feat (feature)
  • fix (bug fix)
  • doc (documentation)
  • style (formatting, missing semicolons, ...)
  • refactor
  • test (when adding missing tests)
  • chore (maintain)
  • perf (performance improvement, optimization, ...)
  • ci (changes to continuous integration, repo automation, ...)

<optional-scope> is a name of module or a directory which contains changed modules.
This is not necessary to include, but may be useful if the <subject> is insufficient.
The Mathlib directory prefix is always omitted.
For instance, it could be

  • Data/Nat/Basic
  • Algebra/Group/Defs
  • Topology/Constructions

<subject> has the following constraints:

  • do not capitalize the first letter
  • no dot(.) at the end
  • use imperative, present tense: "change" not "changed" nor "changes"

@DAE123456 DAE123456 changed the title Define anti_pascal feat : Define anti_pascal Feb 11, 2026
@grunweg
Copy link
Contributor

grunweg commented Feb 11, 2026

Hi! Thanks for your contribution. Can you elaborate more on this PR? What does it define? (I gather it defines "anti-Pascal triangles"... please say so, and tell us what these are. Right now, I have to guess, which does not suffice.) What is your motivation for defining these?

I have only seen references to this concept in the third problem of the IMO 2018. If this is your only motivation, this definition should be localised to a file providing the proof of that IMO problem.

@grunweg grunweg added the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 11, 2026
@DAE123456
Copy link
Contributor Author

DAE123456 commented Feb 11, 2026

Hi! Thanks for your contribution. Can you elaborate more on this PR? What does it define? (I gather it defines "anti-Pascal triangles"... please say so, and tell us what these are. Right now, I have to guess, which does not suffice.) What is your motivation for defining these?

I have only seen references to this concept in the third problem of the IMO 2018. If this is your only motivation, this definition should be localised to a file providing the proof of that IMO problem.

Okay, I will add the comments and put them in the IMO proof problem file, thank you.

we are working on an applied mathematics problem that required defining anti-Pascal triangles. I found it quite interesting, so I thought I'd try to contribute it here. I've also previously submitted some theorems about finite differences, and this is somewhat related to that topic. I'd like to include these in my graduation thesis, which is why I'm trying to submit this PR. If it could be merged into the IMO problem file, that would also be great.

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

Labels

awaiting-author A reviewer has asked the author a question or requested changes. new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants