Repository navigation
Train 5b: spline proofs (#22), Aeneas forge-math (#18), forge-num, conic checks, DuplicateName fix, fixed-path gate - #51
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…nes and the through-spline's existence and uniqueness Defs.lean (core Lean, generic over the number type, so also the executable model over Rat): Cox-de Boor by span, rational B-splines, the closed cv form, the through-spline as C2 cubic pieces with natural, slope or periodic ends, its slope system, and the language's defaults. Slopes.lean: the slope system is row-dominant, so it has exactly one solution and any vector is within its row-scaled residual of it (the bound the oracle will use). Interp.lean: every interpolant is the Hermite form of a solution, so the through-spline exists and is unique for strictly increasing parameters. Standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…cle, the differential test SplineSpec/Basis.lean: on each span the basis sums to one and is nonnegative, so a curve with positive weights lies in its poles' convex hull; clamped ends give the first and last pole exactly. SplineSpec/Oracle.lean (lake exe splineoracle): from a curve's data, the spec's curve in exact rationals (Cox-de Boor; the through-spline's centripetal parameters enclosed in rational intervals and its slopes carried to them by slopes_bound) and the largest distance of the kernel's Bezier points from it, ok within the curve's scale over 2^30. kernel/forge-geom/tests/spline_diff.rs: 698 curves (random control splines of degree 1-5 with inner multiplicities and weights, the closed cv form, random through-splines with natural, slope and periodic ends, and the repository's own splines restated) all ok; the largest distance Lean bounds is 6.2e-12. A 1e-6 error planted in the natural end row is caught (up to 1.8e-4). The digest keeps the answers for runs without Lean, as parse_diff does. Spline::homogeneous exposes the pieces as held. Axioms.lean, CheckAxioms.lean (224 theorems, standard axioms) and a lean.yml job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Centripetal.lean: the parameters spline(..) uses, over the reals; they increase strictly when consecutive points differ, so the language's through-spline exists and is unique. Deriv.lean: N'_(i,k+1) = (k+1)(N_(i,k)/(u_(i+k+1)-u_i) - N_(i+1,k)/(u_(i+k+2)-u_(i+1))) on a nonempty span, so a B-spline's derivative is the B-spline of one degree less on the differenced poles. Continuity.lean: at a knot of multiplicity k <= p the spans either side agree in value and every derivative up to order p - k (C^(p-k)). 296 theorems, standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Cert.lean: a span's homogeneous curve is a polynomial of degree p, so the Bernstein coefficients the oracle finds from p + 1 values (now checked at those values, not trusted from the solver) are the spec's curve on the whole span; pieces within e at their Bezier points are within e everywhere on it. Interval.lean: the oracle's interval arithmetic encloses (+, -, x, /, square root, outward rounding); the slope system's rows, residuals and Hermite pieces in intervals enclose their values at the true centripetal parameters; through_cert: the spec's slopes are within the oracle's bm of the kernel's and its pieces in the intervals the oracle measures against. The oracle rounds up as minus rounding down. 369 theorems, standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
hasDerivAt_rational: C' = (A' - C W') / W, A' and W' the B-splines of one degree less on the differenced homogeneous poles. DESIGN.md: where each theorem is, what is not yet (Boehm insertion as a theorem; the oracle checks the kernel's insertion against Cox-de Boor instead). 377 theorems, standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Insert.lean: inserting x into [u s, u (s+1)) with the poles alpha P_i + (1 - alpha) P_(i-1), the basis identity N_(i,k) = alpha^k_i Nbar_(i,k) + (1 - alpha^k_(i+1)) Nbar_(i+1,k) by induction on k (two coefficient identities, case by case on i against s; a new function with no support is zero), and from it the curve on every nonempty new span equals the old span's. So the Bezier pieces Spline::from_nurbs reaches by insertion are the spec's curve, as a theorem rather than case by case. 441 theorems, standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…d points a typed error The owner's rule and the master's answers to the spec's R1 and R2: - A through-point spline is open unless closed: true (it was closed unless closed: false or an end slope). Points on their own (cv: true) stay a closed control polygon unless closed: false; poly is unchanged. - Closedness is the flag, not a distance: Spline::through is always open (natural or slope ends), Spline::through_periodic the closed one (the first point repeated last, exactly). An open spline whose ends meet is open, its slopes kept, a corner where they meet; before, ends within 1e-5 made it periodic and dropped its slopes. Form::Through records closed. - Consecutive points within the tolerance (and the last and first of a closed one) are SplinePointsMeet at the points, not a generic Degenerate later. Migration: the tests that relied on the old default now say closed: true (shapes.rs, sketch_constraints.rs); no part in the repository did (parts/sheet/spline.fg already says it). The sketcher writes closed: true for a closed through-spline and reads the new default (rows.rs, edit.rs); fgw.py already writes it. Every kernel caller that closed a spline by repeating its first point calls through_periodic (sketch, projection of a closed edge, tests), bit-identical: the spline diff (698 curves) gives the same digest. research/forge-lang/lean does not model spline defaults (its model is the grammar and edits), so nothing there changes; the spec's formOf states the new default, checked by evaluation. reference.md says it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
The outline check took sixteen samples a spline piece, so a hairpin whose tip turns a small loop crossed itself unseen (from CADFS 00468533, through the import session). forge-ops simple.rs decides it on the loop's exact pieces (lines, arcs as rational quadratics, the spline's own Bezier pieces, joints made exact): non-neighbours may not come within the tolerance, neighbours may meet only at their joint. Subdivision until each pair is decided by facts proven in SplineSpec/Simple.lean: boxes apart (apart_of_boxes), control cones apart at a joint (cone_sep, convex_in_cone), a tangent joint on a half plane (bern_pos_off_start, exact orient2d), a piece one to one where its hodograph keeps a positive component (injective_of_dir_deriv_pos, bern_pos); meeting where two evaluated points are within the allowance or two nearly straight pieces cross by more than their flatness. Undecided within the budget is refused there: ProfileError::SelfIntersectionUndecided. Loops of lines and arcs alone keep the outline check and its knife edges. Repro in my own numbers (a_near_cusp_hairpin_that_crosses_is_refused, a_hairpin_spline_that_crosses_itself_is_refused): sixteen samples a piece see no crossing, four thousand do, refused now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…ouched; the exact search out of line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…Bascom05/forgeCAD into claude/repo-review-mbdrlj-spline-spec
research/spline-loops/fp (on verify/ieee754 and its Mathlib pin): one rounding is within u|q| + eta of its exact value in either range (round_err, from the library's relative and absolute bounds); the kernel's lerp a + (b - a) * s, its three roundings (lerp_err), within 8 u M + 4 eta for |a|, |b| <= M and s in [0, 1] (lerp_err_M); a de Casteljau level from points within E of the exact ones within E + 8 u (M + E) + 4 eta of the exact level (dc_step), so p levels bound Spline::point. Standard axioms only; built in the lean.yml spline-spec job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…etic Thomas.lean: tridiagonal's forward sweep and back substitution, line by line; on row-dominant rows (which the open slope system's are, rows_dominant) every reduced |c'_i| < 1 and every pivot exceeds |c_i| (so nonzero), and the result satisfies every row (thomas_solves). The algorithm, not only its output on the oracle's cases, gives the spec's slopes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
Cyclic.lean: the periodic system's matrix is T + u v^T with the kernel's gamma, alpha, beta (cyc_split); Sherman-Morrison x - f z solves it once 1 + v^T z is nonzero (sm_solves), which the cyclic rows' dominance guarantees (sm_den_ne); so cyclic, built on tridiagonal (thomas_solves), solves every row (cyclic_solves). The two-unknown case is Cramer's rule with a nonzero determinant (two_solves). 486 theorems, standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…rom -0.0); slow-path rewrite as a measured proposal - bridge/AeneasF64/Core.lean: std's Iterator::sum default, Sum<&f64> for f64 (fold from -0.0, by Aeneas's loop), <[T]>::last, Option::copied, defined as the pinned std defines them. - ForgeMath/Estimate.lean: slice_sum (the sum over a slice is foldl add from -0.0) and estimate_eq, about the unchanged kernel code; in the axioms check. - research/aeneas/proposals/predicates.md + .patch: rewrites that make every predicate slow path translate (41 definitions; only Big opaque). Bits identical, native = wasm, scoreboard 0 worse, FUZZ_SEEDS=150 150/150, kernel callgrind lines 0 above base; 30 whole-process language lines +1..+910 Ir, all in libc memcpy/memcmp (heap layout; the base alone varies up to +361). Not applied: by the strict per-line rule it is the owner's call. - tools/aeneas: survey.sh now translates a crate at once and attributes by source span (survey-modules.sh is the per-module fallback); the bridge's definitions are read from all its files. Kernel code unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
The exact simplicity search added code to forge-ops, and recompiled forge-ops shifted inlining in functions it does not touch (call counts base against head: the same inserts, the same solve_point callees, only the inline boundaries moved; no hidden input), costing clamp and insert up to +0.12%. Interval's +, -, x, neg, x f64, + f64, point, out and min4/max4 were calls from every other crate; #[inline] makes them not. Bit-identical (bits). The callgrind gate against the merged base (29a524e, saved in this checkout): every line at or below it, the largest -0.03%; clamp app -0.2%, insert app -0.1%, tour -0.5%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…/David-Bascom05/forgeCAD into claude/repo-review-mbdrlj-spline-spec
…ackErr: the setback's error with dmath's sine and cosine fold.rs: setback(rho, s, c) = rho * s / (1 + c), bit-identical to shop.rs's (tested on 10000 cases). SetbackErr.lean (proven): with (s, c) within eps of sin, cos and each op within u|r| + eta, for eps <= C/4 and eta <= C/8 (C = 1 + cos theta) the computed setback is within |rho|(4 eps + 4 eta)/C^2 + 10 u |rho|/C + 3 eta/C + eta of rho sin theta / C. RefineSetback.lean (setback_spec on the translation, through Dmath.sinCos_err) is in progress and not yet in the default target. verify/ieee754 brought to the ieee branch's 36ef345 unchanged (adds Dmath, TwoSum, TwoProduct). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…signature cannot be translated (Iterator's cloned/map/...); STYLE.md: what the survey and the gates taught; survey_report.py Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…binary64 (Aeneas, L4) verify/aeneas/forge-geom translates kernel/forge-geom itself (lerp, decasteljau, tridiagonal) with the f64 bridge, and proves: - lerp_spec: spline::lerp is SplineFP.lerp coordinate by coordinate; - decasteljau_spec: both loops, every degree up to 15, return ok and exactly the levels of those lerps, so SplineFP.dc_step bounds each level of the evaluation that ships; - tridiagonal_spec: on any n >= 1 rows, ok, n points, each SplineSpec's sweep/backSub with the binary64 field operations in the Rust's order. Axioms.lean checks standard axioms only. translate.sh forge-geom --check is clean. The Rust: the de Casteljau levels and the back substitution are now plain while loops, which is what Aeneas translates. Bits are identical (native and wasm32-wasip1). The callgrind gate against the base is below on every line (worst -0.03%). Reliability: 0 worse. FUZZ_SEEDS=150: 150/150. spline_diff under FG_LEAN=1 passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…h's sine and cosine within the stated bound For finite rho, finite |theta| <= 2^20 with C = 1 + cos theta >= 2^-50, the translated setback, when finite, is within |rho|(4 eps + 4 eta)/C^2 + 10 u |rho|/C + 3 eta/C + eta of rho sin theta / C (eps = 2^-52 from Dmath.sinCos_err). Standard axioms only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
… vertex classes Build.lean: the mold lines are one segment when their far ends are one vertex class, (la - lb)^2 <= TOL^2 (OneSegment, oneSegment_iff), the segment la (fix-sheet 8a88dbb). Valid takes TOL; InDomain drops the 0 < |la - lb| <= TOL band; decide_ok_iff re-proven. Region.lean: closes (consecutive pieces' ends within the spread cap 2L) and closes_of_classes (pieces meeting in one class close); Checker.lean states condition 8 so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
…as signs of expansions filtered_eq: a filter whose verdicts are the exact ones, backed by an exact fallback, is the exact rule. near_exact, disc_exact, within_exact: the spec's decisions are the signs of the term lists region.rs forms from TwoSum pairs of the differences, TwoProduct pairs of the products, and (for within) orient2d's exact expansion squared minus L^2 |b - a|^2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
… (46 regions, 0 disagreements) 18cd72c's rerun had linked a stale forge-sheet build from a worktree of fix-sheet's head through a shared target directory, so it recorded that tree's 47 regions. Rerun after cargo clean -p forge-sheet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
… definitions, the survey tools Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…nding2d) verify/winding2d copied unchanged from claude/repo-review-mbdrlj-winding2d ae22b62 and required by verify/sheet. Sheet/Winding.lean: side_pos_iff (the two SoS side rules agree), crosses_iff (an edge counts iff its SoS crossing is nonzero), edges_sides, inPoly_wind (inPoly = windSoS mod 2 /= 0, at every point) and inPoly_simple (Jordan's inside off a simple polygon, via wind_simple). Cargo.toml excludes verify/winding2d; sheet-lean.yml watches it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzzgYhAhYt846NwbZwe
…(Aeneas, L4) insert_knot_spec: whenever its indices are in range, spline::insert_knot returns ok. The knots it returns have k after the span. The poles are the first poles kept, then the binary64 lerps by (k - U[i]) / (U[i+p] - U[i]) (0 on an empty span), then the rest. The supporting lemmas are the counting and lerp loops, extend_from_slice of poles, and the pole clone. The Rust: one pass over the sorted knots now gives the span and the multiplicity of k, in place of partition_point and filter().count(), which Aeneas cannot take (closures). The lerp range is a while loop. The result is the same for sorted knots. Bits are identical (native and wasm32-wasip1). The callgrind gate against the base is below on every line (worst -0.03%). Reliability: 0 worse, 3 better. FUZZ_SEEDS=150: 150/150. nary 167/167. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q19LzyxEjALvQNpHRRB9jW
…nline] (comment only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawyh9MKsEbjQPJ9FL4j
…fb5b48a (MERGE #22: spline spec and proofs; forge-topo and forge-machine-core translations) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…om roots via forge_math::poly::real_roots_small) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…crate, the shared exact numbers) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…H.curveOK asserts on boolean conic operands) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…rain5b # Conflicts: # verify/aeneas/forge-math/lean/ForgeMath/Funs.lean # verify/aeneas/forge-math/lean/ForgeMath/FunsExternal_Template.lean
…nto #22 + num-core + curveok; forge-math source line comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawzk4EzQbVx9RRkma3R
…e gets a name of its own (DuplicateName, wrong Ok) Name::piece keeps the first whole's high half through any number of splits, and region_name names a piece of a split face by its least boundary piece. A face W split once names its region X = W.piece(n) by boundary piece n; split again later with X kept in place (the local split of a face of 8+ loops, or the fast hole-extend path: the keeper spec presets the face's own name), the new region whose least boundary piece is still n comes out as X.piece(n) = W.piece(n) = X: two faces of one name, a body with DuplicateName handed out as Ok (found by a 100-boolean chain of tilted prisms on one plate, op 94; E.names). sole_pieces_keep_names now tells apart a kept region whose name equals the name its face's keeper keeps (retell, cold: only there, so no other name changes; a first version that renamed every region named as its face changed 29 names in gearbox's CLI build for nothing and cost gearbox cli +0.64%). Tests (forge-bool tests/booleans.rs): a_region_split_again_by_its_naming_edge_gets_its_own_name (the 10 tools of the minimised chain) and a_hundred_tilted_booleans_on_one_plate (every result checked, names included); both fail on main at op 94 with this DuplicateName. Band vs main 4846170 (exact callgrind, one VM): strict total +0.0013%, worst +0.0261% (tour nary1), bits.txt identical. Debug tests forge-bool/model/ops (58) and the forge-lang CI tests pass; clippy clean. (FLAT-SITES' a92a9a47, sent as a patch; applied on train 5b with the tests appended at the end of booleans.rs, which has grown since its base.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawx9MPCJQJvxtMfau59 Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
… ::new constructors; importers refuse non-finite conics) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
… came out as its face's A face's run of several specs can share a name with the face only through a region named in sole_pieces_keep_names' NONE branch (the keeper's preset name is the face's own), so one compare there flags the run and the cold retell scans it; no scan of every multi-spec run. Same names as a92a9a47 (bits identical to main on the gate). (FLAT-SITES' 6edfa0de, sent as a patch.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawx9MPCJQJvxtMfau59 Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…erflows is refused bezier_parabola returns None (its callers refuse: CornerError::Orientation) and a glyph's quadratic is taken as its chord when focal = l^2 / (4|a|) is not finite and non-zero -- what H.curveOK asks of a parabola, and what Parabola::new asserts. Reachable, if far: a vertex tangent near 1e-161 (its square a subnormal, so its frame is made) over 4|a| = 400 rounds to 0. Tests a_parabola_whose_focal_length_underflows_is_refused and a_focal_length_that_underflows_is_taken_as_the_chord, each failing before (a zero-focal parabola made; the glyph's tripping Parabola::new). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawvTfttkoAtbqGu3AmW
…cannot move the counts
benchparts holds its manifest's directory (env!("CARGO_MANIFEST_DIR")) and
each path crate's metadata hash names its symbols, so checkouts at paths of
different lengths built binaries whose counts could differ (UI-BUGHUNT).
With GATE_COUNTER=callgrind (exact), the checkout's files -- tracked, and
untracked ones not ignored -- are copied with their times into
/tmp/forge-gate-src under a lock (gates may run at once: each builds in
turn, then counts in parallel) and built into this checkout's own target
directory, so neither side of a comparison reuses the other's build.
GATE_SELFTEST now also checks no binary carries the checkout's path and
benchparts was built from the fixed one (exit 66).
Validated: two GATE_SELFTEST gates at once from checkouts of different path
lengths (/home/user/wtgsrc and /home/user/wtgsrc-with-a-much-longer-path-name)
both pass and save byte-identical baselines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WJtawvTfttkoAtbqGu3AmW
…clock + builds from one fixed source path; tooling only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…uilds ellipses through it since conic-new); the bridge defines <f64 as Display>::fmt (opaque, from a debug-only assert message); translations regenerated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawzk4EzQbVx9RRkma3R
…rabolas refused or drawn as chords) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…onics with ::new curveok-assert met conic-new on 5b. The tests' Ellipse/Parabola literals were E0639 against the now #[non_exhaustive] structs: a good conic is made with ::new and then spoilt by its field (::new would refuse a bad one itself). The merge left mod curve_ok ungated, so release warned of an unused import and an unused fn: it is #[cfg(debug_assertions)] as size is beside it (all its callers already are). Release code unchanged. forge-bool tests 64/0; clippy -D warnings clean, debug and release, all targets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawvTfttkoAtbqGu3AmW
…h crate) CI parity failed: cargo build --release --locked --bin forge-parity could not update the lock. Only the path crate is added; no external crates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
|
Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
…bola::new conic-new made Parabola #[non_exhaustive]; forge-render is its own workspace and its one literal was missed (CI gpu: E0639 at src/shell/sketching.rs:2766). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw
|
Generated by Claude Code |
|
Generated by Claude Code |
The frame that takes the build's result draws it and then writes the state, and the page draws only when asked: two follow-up frames come, then none. A poll that read the state one frame late found one left and waited for two forever (CI's 10-minute e2e timeouts, PRs #50 and #51). The pixels check that the new part is drawn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtax11GnJCjfyG5XiZG3a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtawwrcJMe9MW7GeYQtHw # Conflicts: # .github/workflows/aeneas.yml # verify/aeneas/forge-bool/lean/ForgeBool/Funs.lean
The frame that takes the build's result draws it and then writes the state, and the page draws only when asked: two follow-up frames come, then none. A poll that read the state one frame late found one left and waited for two forever (CI's 10-minute e2e timeouts, PRs #50 and #51). The pixels check that the new part is drawn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WJtax11GnJCjfyG5XiZG3a (cherry picked from commit 565d675)
Train 5b: kernel and proof work. It contains #22 (MERGE's spline spec and proofs) and #18 (TRANSLATE's Aeneas forge-math translations), so both close as merged when this lands. It also brings the shared exact-number crate, conic constructors and checks, a DuplicateName fix and the fixed-path gate tooling.
Built on main dca68ca (PR #50). Every branch is merged with
--no-ff. TRANSLATE re-merged #18 onto the train and regenerated the translations once on top.Constituents (in merge order)
Gates on this head
cargo test --no-fail-fast: 410 test binaries, 0 failed.cargo clippy --workspace --all-targets -D warnings: clean, exceptitems_after_test_moduleat kernel/forge-geom/src/curve.rs:674. That lint fires on main too (curve.rs:642), and its fix rides with train 5. forge-bool's release clippy is clean.translate.sh --checkis up to date for all nine crates (math 375, geom 36, bool 34, bool-core 680, mesh 260, sheet-core 63, topo 113, machine-core 35, weld 13).lake buildpasses for forge-bool (with geom and math, D2Flat and the axioms check), bool-core, mesh, sheet-core, topo, machine-core and weld. d5b501e touches no translated file.Speed band (official tools/speed/gate.sh, callgrind exact, gate-src's gate.sh and fixedrandom.c on both sides; main dca68ca vs this train)
strict total −0.0111% (20,034,359,961 → 20,032,141,080). All regen1 kernel lines are at or under main. The only strict lines over main are conrod app +0.0010% (+580) and conrod edit +0.0007% (+758).
The two strict lines over main, explained per function (callgrind
--inclusive=no, the gate environment,benchparts edit conrod, main dca68ca vs 5b; this run totals +288 against the gate's +758, as the gate also subtracts its noop run):_dl_relocate_object(dl-machine.h + do-rel.h)__vfscanf_internal,strtoul(/proc/self/maps parsing)No other forge function's own cost increases. conrod app's gate line (+580) shows the same pattern; this run puts it at −34. So both lines are the judged dup-name correctness cost plus layout (the coordinator's layout exception), and the train total is −0.0111%.
Constituent bands, as measured by their owners: poly-roots −0.0070%; num-core −0.0029%; curveok-assert +0.0000%; conic-new +0.0000% (worst +0.0014%); conic-refuse +0.0000%; #18 −0.0000% (worst +0.0006%); dup-name worst +0.028% (judged correctness exception: one compare per named region, a few hundred instructions of forge code, documented above).
No patent material (David's rule)
git diff origin/main...HEAD | grep -iE 'patent|FTO|freedom.to.operate|design.around|counsel|US n,nnn,nnn'finds nothing outside LICENSE files, and no commit message on the train matches either.Generated by Claude Code