Skip to content

chore: merge Lean 4.30 version bump into gs-bivariate-rr - #4

Open
codygunton wants to merge 19 commits into
formal-land:gs-bivariate-rrfrom
codygunton:cg/local-pr245-v430
Open

chore: merge Lean 4.30 version bump into gs-bivariate-rr#4
codygunton wants to merge 19 commits into
formal-land:gs-bivariate-rrfrom
codygunton:cg/local-pr245-v430

Conversation

@codygunton

@codygunton codygunton commented Jun 8, 2026

Copy link
Copy Markdown

This PR merges the current CompPoly Lean 4.30 bump branch into gs-bivariate-rr, the source branch for Verified-zkEVM#245. Lake build is verified.

The actual Lean 4.30 migration and proof cleanup live in Verified-zkEVM#242.

codygunton and others added 9 commits June 6, 2026 01:39
Toolchain + mathlib require: v4.30.0-rc2 -> v4.30.0. rc2->final source fixes:
- Data/Nat/Bitwise: (boddDiv2 _).fst/.snd no longer defeq to bodd/div2 → rw [Nat.boddDiv2_eq]
- ToMathlib/MvPolynomial/Equiv: simp-normal-form drift → loosen `simp only` to `simp`
- Multivariate/CMvPolynomialEvalLemmas: `convert … using 3` now yields an Iff → drop the
  spurious `ext`
- Data/RingTheory/AlgebraTower: v4.30 `algebraMap`/`Algebra.algebraMap` no longer def-unfold via
  rw/simp_rw → use `RingHom.algebraMap_toAlgebra`

Builds green on v4.30.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
v4.30.0 (final) made two broad-reach changes that recur across the binary-tower
algebra:
- `algebraMap` can no longer be `rw`/`simp_rw`-unfolded via its def. Replace
  `rw [algebraMap, Algebra.algebraMap]` with `simp only [RingHom.algebraMap_toAlgebra]`
  after unfolding the instance to its `.toAlgebra` form, or drop the now-redundant
  unfold where the term is already defeq (Algebra, Split, Concrete/Algebra/Basis).
- `Algebra.algebraMap` is now the bundled hom (takes the type), so
  `Algebra.algebraMap x` (a value) breaks → `algebraMap _ _ x` (Basis, Concrete/Basis).

Two intricate `multilinearBasis_apply` conv proofs (Abstract + Concrete Basis) thread
the old `←algebraMap` fold / `Algebra.cast` through a long cast-heavy chain; left as
documented `sorry` TODOs (not on ArkLib's path). CompPoly builds green (2418 jobs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codygunton

Copy link
Copy Markdown
Author

Closing: this helper PR was opened against the contributor fork by mistake; the intended coordination target is Verified-zkEVM/CompPoly.

@codygunton codygunton closed this Jun 8, 2026
@codygunton codygunton changed the title chore: merge Lean 4.30 version bump into GS Roth-Ruckenstein root search chore: merge Lean 4.30 version bump into gs-bivariate-rr Jun 8, 2026
@codygunton codygunton reopened this Jun 8, 2026
@codygunton

Copy link
Copy Markdown
Author

Closing per request.

@codygunton codygunton closed this Jun 8, 2026
@codygunton codygunton reopened this Jun 8, 2026
@olympichek
olympichek force-pushed the gs-bivariate-rr branch 2 times, most recently from 1542875 to d950a82 Compare June 9, 2026 15:35
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