Conversation
|
@katyhr, would love your feedback and comments on this! Main questions:
|
🤖 Gemini PR SummaryThis Pull Request introduces the initial implementation of computable bivariate polynomials ( Beyond the core feature, this PR includes a significant toolchain adjustment (downgrading to Lean v4.26.0) and extensive proof refactoring across the binary field and univariate modules to improve maintainability and tactic stability. Features
Fixes
Refactoring
Documentation
Analysis of Changes
❌ **Added:** 7 `sorry`(s)
🎨 **Style Guide Adherence**The following code changes violate the CompPoly Style and Naming Guidelines:
📄 **Per-File Summaries**
Last updated: 2026-02-20 16:32 UTC. |
|
Currently kind of waffling on the namespace definition - we should either have bivariate polynomials defined within |
|
I kinda lean in favour of CBivariate for conciseness |
|
/review External: Internal: Comments: |
|
weird .. something went wrong with the history of this branch, it should only affect |
1d8b6f9 to
f72eb43
Compare
|
ok, fixed - now properly ready for review. |
🤖 AI Review (with external context)🤖 AI ReviewOverall Summary: 📄 **Review for `CompPoly.lean`**Hello. I have reviewed the changes in 1. Analysis of ImplementationThe changes in this PR involve adding two new import statements to the
Logic and Consistency: Specification Compliance: 2. Check for Misformalization
3. Verdict & FeedbackVerdict: The formalization is correct. The changes are low-risk and structural, properly integrating the new Bivariate modules into the top-level library entry point. No misformalization issues are present. 📄 **Review for `CompPoly/Bivariate/Basic.lean`**This review focuses on The file introduces a computable bivariate polynomial type 1. Critical Misformalization in
|
As described on the Roadmap, for Phase 1 we want to have a basic, computable implementation for Bivariate polynomials. This pull request adds a
Bivariatedirectory and a new typeCBivariate. It defines bivariate polynomials as nested computable Univariate polynomials:CPolynomial (CPolynomial R). It includes the basic type definition, basic definitions for operations, and a basic structure for the equivalence with Mathlib'sR[X][Y].The rough outline of continued work on this, mimicking what's on Univariate:
CBivariateR[X][Y]