Repository navigation
Settings menu typed fields; the have-sketch lifter works on a real Lean - #9
Merged
Merged
Conversation
lineOptions was a JSON box alone, so the fleet's bucketPrior and
switchOnStall (chain of Lean) and every other line option had to be
typed as JSON. GET /api/parameters now lists the lines of the registry
that have options, each typed by its default, and the panel draws one
fold per line; setting a field writes {line: {option: value}}. Read from
LINES, so a new option needs no interface code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q6fEz5iDpWkPAMxFAudQKD
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
… back Run again with no model on run6's 9 drafts (real Lean 4.27), the fixed lifter lifted 7, and none of the lifted files checked: with the default printing options a coercion lost its target type and field notation after a postfix notation was misread. The probe now runs extract_goal with pp.coercions.types, pp.numericTypes, pp.proofs on and pp.fieldNotation off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6fEz5iDpWkPAMxFAudQKD
…as its tactics The second real-Lean check of run6's drafts lifted 5 of 9 with no error. Two causes remained: an ∃ printed without its binder types (1999 A2, "Function expected"), and a planner draft whose PROOF region began with `by` although the prompt asks for none (2003 B3). EXTRACT_BODY adds pp.funBinderTypes and pp.piBinderTypes; askPlanner strips a leading `by` (tacticsOf) for drafts and refinement rounds alike. The simulated Lean refuses a PROOF region that begins with `by`, as Lean does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6fEz5iDpWkPAMxFAudQKD
…o error Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6fEz5iDpWkPAMxFAudQKD
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Settings menu: typed fields for every line's options
Before this, the settings menu showed
lineOptionsas a JSON box alone. So the new fleet options of the chain of Lean (bucketPrior,switchOnStall), and every other line option, had to be typed as JSON.Now
GET /api/parametersalso returnslines: every line of the registry (LINES) that has options, each option typed by its default. The panel draws one fold per line:null, list or object default is a JSON field.Setting a field writes
{line: {option: value}}, and the JSON box stays under "Edit as JSON". Because the options are read from the registry, a line's new option appears in the menu with no interface code. The static bundle is rebuilt and its source stamp updated.The
have-sketch lifter (DP1) on a real LeanBefore this, the statements
extract_goalprinted did not read back on real goals. Fixes:extract_goalnow runs under printing options whose output Lean reads back (EXTRACT_BODY):pp.coercions.types,pp.numericTypes,pp.fieldNotation false,pp.proofs,pp.funBinderTypesandpp.piBinderTypes.byloses thatby(tacticsOf, inaskPlanner). This covers drafts and refinement rounds alike.What ran
pnpm check: 3441 tests pass and 1 is skipped.lineOptions: { fleet: { bucketPrior: true } };tacticsOfstrips a leadingby;byis lifted. This test fails without the fix.Checklist
pnpm checkpasses.documentation/ui.md"Settings",documentation/scheduler.md"The extraction"), with CHANGELOG and ledger.validate, the certifier's kernel replay).🤖 Generated with Claude Code
https://claude.ai/code/session_01Q6fEz5iDpWkPAMxFAudQKD