lambdaclass / lambdaclass/lambda_compiler_kit

refactor: remove asymmetry between singleton and cons in ValidJsonArray

オープン
#29 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Lean
スター
2
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Problem

ValidJsonArray has separate singleton and cons constructors, creating asymmetry. A uniform nil / cons inductive pattern would be simpler and more consistent with standard list-shaped inductives in Lean/Mathlib.

Expected fix

Refactor ValidJsonArray to use a uniform nil/cons structure. Verify that all downstream proofs (Proofs.lean) still hold with the refactored definition.

References

  • Suggested by AI code review on PR #8

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ValidJsonArray の定義を見つけ、Proofs.lean を読んで、下流のすべての使用箇所と証明義務を特定します。構造体を統一された nil/cons 形式にリファクタリングし、既存の証明が引き続きコンパイルされ、成立することを確認します。

索引モデルが issue の本文から書いたものです。

評価

領域
compilers
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。