Skip to content

Pattern-adoption P2: PDE, portrait trail, discrete LQR - #194

Merged
godofecht merged 2 commits into
mainfrom
feat/pattern-adoption-p2
Aug 5, 2026
Merged

godofecht merged 2 commits into
mainfrom
feat/pattern-adoption-p2

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • #163: stdlib/dynamics/pde.flow (laplacian_1d, heat_euler_step_1d); heat demo uses it
  • #165: stdlib/dynamics/portrait.flow trail helpers; Lorenz gfx drops hand ring math
  • #162: stdlib/dynamics/lqr.flow discrete LQR (n≤8, scalar u); cartpole Riccati is a thin wrapper

Grammar follow-ons remain open: field/boundary, represent phase_portrait, DSL analyze { lqr }.

Test plan

  • python3 -m flow.transpiler examples/evolution/heat_diffusion.flow --c --lenient
  • python3 -m flow.transpiler examples/evolution/lorenz_gfx.flow --c --lenient
  • python3 -m flow.transpiler apps/cartpole/main.flow --c --lenient
  • Optional: ./flow run examples/evolution/heat_diffusion.flow

Made with Cursor

Add laplacian/heat helpers, phase-portrait ring+project utils, and discrete
LQR for n≤8; rewire heat, Lorenz gfx, and cartpole onto them while leaving
field/represent/analyze grammar as follow-ons.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht force-pushed the feat/pattern-adoption-p2 branch from ba7d44f to 5171fb2 Compare August 5, 2026 13:11
@godofecht
godofecht merged commit 8d50600 into main Aug 5, 2026
13 checks passed
@godofecht
godofecht deleted the feat/pattern-adoption-p2 branch August 5, 2026 20:33
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.

1 participant