Skip to content

Add Apache change notices to the relation algebra port - #1044

Merged
Vilin97 merged 1 commit into
mainfrom
fix/relation-algebra-apache-notices-20261127
Nov 27, 2026
Merged

Vilin97 merged 1 commit into
mainfrom
fix/relation-algebra-apache-notices-20261127

Conversation

@Vilin97

@Vilin97 Vilin97 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Adds the Apache-2.0 change notices identified in the review of #1035.

  • Compared the merged sources with the pinned Henson project and CSLib. The notice applies to 1,334 modified Henson files and four modified CSLib files. Original review · Apache-2.0 §4(b)
  • Verified that removing the inserted comment and blank line restores each exact source blob. The original copyright and author headers pass the current header check. The patch applies cleanly to main and passes git diff --check.

Lean CI will validate the resulting project through the usual checks.

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

No actionable defect was found in this comment-only patch; upstream notice coverage remains unverified.RetriggerView in Greptile

[Low impact] No actionable defect was found in this comment-only patch; upstream notice coverage remains unverified.

Summary

Adds a Lean Pool change notice to 1,338 relation-algebra source files.

  • Relation algebra source files now show a notice for Lean Pool changes.

Reviews (1) · Last reviewed commit: "Add Apache change notices to the relatio..." · Reviewed by Greptile

@github-actions

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

Statement changes

✅ No statements changed — all 93,634 tracked declarations across 1,338 modified files kept their type; only proofs / definition bodies changed.

Statements are compared textually against the merge base (comments and whitespace ignored; by proof terms embedded in a type are treated as proof-irrelevant), the same method as physlib's /check-golf. Anonymous instances and examples are not tracked.

Compile cost of modified files — base → head

Heartbeats: 199,609,088 → 199,609,086 (-2, -0.0%). Commands: 104,372 → 104,372.

Per-file wall sum: 44888.4 s → 44634.5 s (-0.6%). Wall clock is measured under parallel load and is noisy; heartbeats are deterministic and are the regression signal.

Files: 1,338 compared — 0 cheaper, 0 costlier, 1,338 within noise (threshold: |Δ heartbeats| ≥ 1,000 and ≥ 1%).

Both sides are elaborated against the merge-base build of the pool — sound when only proofs and definition bodies change; a file whose statements changed may fail there and is flagged ⚠. Heartbeats come from disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted to maxHeartbeats units. Failed measurements are not classified as cheaper or costlier. Δ lines counts added/deleted lines from this PR diff.

File Δ lines HB base HB head Δ HB Δ HB % Wall base (s) Wall head (s)
LeanPool/FiniteIntegralRelationAlgebras/Foundations/RelationAlgebra/IntegralAtomStructure.lean +2/-0 32,588 32,586 -1 -0.0% 4.87 3.09
LeanPool/FiniteIntegralRelationAlgebras/Foundations/RelationAlgebra/AtomStructure.lean +2/-0 53,175 53,175 -1 -0.0% 6.76 7.55
LeanPool/FiniteIntegralRelationAlgebras/Foundations/RelationAlgebra/Basic.lean +2/-0 67,102 67,102 +0 +0.0% 10.90 8.20
LeanPool/FiniteIntegralRelationAlgebras/Cert/Group.lean +2/-0 7,442 7,443 +0 +0.0% 2.08 2.46
LeanPool/FiniteIntegralRelationAlgebras/Foundations/RelationAlgebra/Hom.lean +2/-0 31,018 31,018 +0 +0.0% 6.25 4.68
LeanPool/FiniteIntegralRelationAlgebras/Cert/Elim.lean +2/-0 35,375 35,375 +0 +0.0% 7.71 7.98
LeanPool/FiniteIntegralRelationAlgebras/Cert/Enc.lean +2/-0 19,703 19,703 +0 +0.0% 4.43 3.67
LeanPool/FiniteIntegralRelationAlgebras/Cert/Orbit.lean +2/-0 30,434 30,434 -0 -0.0% 4.31 7.34
LeanPool/FiniteIntegralRelationAlgebras/Atoms1/S0N0/C0.lean +2/-0 265 265 +0 +0.0% 4.21 3.24
LeanPool/FiniteIntegralRelationAlgebras/Atoms1/S0N0/Group.lean +2/-0 216 216 +0 +0.0% 5.01 3.01
LeanPool/FiniteIntegralRelationAlgebras/Atoms1/Symm0Nsymm0.lean +2/-0 28 28 +0 +0.0% 3.46 2.07
LeanPool/FiniteIntegralRelationAlgebras/Atoms1/Total.lean +2/-0 14,035 14,035 +0 +0.0% 7.07 5.84
LeanPool/FiniteIntegralRelationAlgebras/Atoms2/S1N0/C0.lean +2/-0 629 629 +0 +0.0% 3.52 2.41
LeanPool/FiniteIntegralRelationAlgebras/Atoms2/S1N0/Group.lean +2/-0 247 247 +0 +0.0% 2.85 3.63
LeanPool/FiniteIntegralRelationAlgebras/Atoms2/Symm1Nsymm0.lean +2/-0 29 29 +0 +0.0% 2.16 3.34
LeanPool/FiniteIntegralRelationAlgebras/Atoms2/Total.lean +2/-0 13,419 13,419 +0 +0.0% 4.87 5.24
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S0N1/C0.lean +2/-0 1,724 1,724 +0 +0.0% 4.41 3.50
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S0N1/C1.lean +2/-0 1,718 1,718 +0 +0.0% 5.25 3.08
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S0N1/Group.lean +2/-0 410 410 +0 +0.0% 3.61 2.17
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S2N0/C0.lean +2/-0 1,753 1,753 +0 +0.0% 4.66 3.92
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S2N0/C1.lean +2/-0 1,709 1,709 +0 +0.0% 3.51 2.44
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/S2N0/Group.lean +2/-0 411 411 +0 +0.0% 2.82 3.58
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/Symm0Nsymm1.lean +2/-0 29 29 +0 +0.0% 2.15 3.33
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/Symm2Nsymm0.lean +2/-0 29 29 +0 +0.0% 3.39 3.54
LeanPool/FiniteIntegralRelationAlgebras/Atoms3/Total.lean +2/-0 16,282 16,282 +0 +0.0% 6.50 5.14
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S1N1/C0.lean +2/-0 4,166 4,166 +0 +0.0% 5.48 3.27
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S1N1/C1.lean +2/-0 4,132 4,132 +0 +0.0% 4.11 2.55
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S1N1/Group.lean +2/-0 467 467 +0 +0.0% 4.60 3.73
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S3N0/C0.lean +2/-0 4,217 4,217 +0 +0.0% 3.77 2.72
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S3N0/C1.lean +2/-0 4,130 4,130 +0 +0.0% 3.15 4.31
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S3N0/C2.lean +2/-0 4,078 4,078 +0 +0.0% 2.51 3.77
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/S3N0/Group.lean +2/-0 929 929 +0 +0.0% 3.51 3.74
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/Symm1Nsymm1.lean +2/-0 28 28 +0 +0.0% 1.81 2.08
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/Symm3Nsymm0.lean +2/-0 29 29 +0 +0.0% 2.05 1.64
LeanPool/FiniteIntegralRelationAlgebras/Atoms4/Total.lean +2/-0 14,703 14,703 +0 +0.0% 3.86 3.07
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/C0.lean +2/-0 8,917 8,917 +0 +0.0% 4.31 3.39
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/C1.lean +2/-0 8,606 8,606 +0 +0.0% 1.84 1.92
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/C2.lean +2/-0 8,661 8,661 +0 +0.0% 2.40 3.13
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/C3.lean +2/-0 8,566 8,566 +0 +0.0% 1.82 2.56
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/C4.lean +2/-0 8,636 8,636 +0 +0.0% 2.74 2.88
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S0N2/Group.lean +2/-0 1,429 1,429 +0 +0.0% 1.98 2.15
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S2N1/C0.lean +2/-0 9,140 9,140 +0 +0.0% 2.75 2.42
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S2N1/C1.lean +2/-0 9,021 9,021 +0 +0.0% 3.81 1.97
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S2N1/C2.lean +2/-0 8,701 8,701 +0 +0.0% 4.33 3.91
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S2N1/C3.lean +2/-0 8,746 8,746 +0 +0.0% 2.12 2.24
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S2N1/Group.lean +2/-0 881 881 +0 +0.0% 1.69 2.11
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S4N0/C0.lean +2/-0 9,228 9,228 +0 +0.0% 2.38 2.52
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S4N0/C1.lean +2/-0 9,014 9,014 +0 +0.0% 2.46 2.49
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S4N0/C2.lean +2/-0 8,705 8,705 +0 +0.0% 2.63 2.95
LeanPool/FiniteIntegralRelationAlgebras/Atoms5/S4N0/C3.lean +2/-0 8,648 8,648 +0 +0.0% 3.15 2.00
… +1,288 more files, each with a smaller move (≤ 0 HB); full table in the run's step summary
Total +2,676/-0 199,609,088 199,609,086 -2 -0.0% 44888.4 44634.5

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97

Vilin97 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review — refactor (gpt-6.2-sol)

Reviewed head: 35d291e412c64aa117fd0b9c353e6dcc6d7e2e8d

Verdict: ✅ approve

The PR adds the same change notice and a blank line before the module declaration in 1,338 relation algebra files. Removing those two lines reproduces every base file byte for byte. The posted /profile reports two fewer heartbeats in total and zero files above its regression threshold.

Aspect Value
Scope mechanical comment insertion
Introduces tech debt ✅ no
Maintainability ➖ unchanged
Brittleness ➖ unchanged
Risk ✅ low

The comment-only patch carries low maintenance risk, and the posted profile shows stable elaboration cost.


Tokens: 148,223 in / 3,749 out · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $0.3339 (Standard API equivalent; uncached input)
Automated review against .github/REFACTOR_REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.

@Vilin97
Vilin97 added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit ed24b77 Nov 27, 2026
41 checks passed
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