Skip to content

Fix FindYearForwards#26

Merged
voiestad merged 1 commit into
mainfrom
epochtimetoepochyear-fix
Dec 3, 2025
Merged

Fix FindYearForwards#26
voiestad merged 1 commit into
mainfrom
epochtimetoepochyear-fix

Conversation

@aria-eide
Copy link
Copy Markdown
Collaborator

When t = EpochTimeForYear y0 for some 1970 < y0, FindYearForwards would return y0 - 1 which is incorrect.

I've also added three unproven theorems which explicitly state in Rocq the properties defining EpochTimeToEpochYear.

@aria-eide aria-eide requested a review from voiestad December 3, 2025 20:33
Copy link
Copy Markdown
Member

@voiestad voiestad left a comment

Choose a reason for hiding this comment

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

Edit: Chose the wrong button

Copy link
Copy Markdown
Member

@voiestad voiestad left a comment

Choose a reason for hiding this comment

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

Looks great!

@voiestad voiestad merged commit 60a6086 into main Dec 3, 2025
1 check passed
@voiestad voiestad deleted the epochtimetoepochyear-fix branch December 3, 2025 20:49
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.

2 participants