Skip to content

Add examples gallery of solved physics problems#85

Open
madeleinesong wants to merge 4 commits intomainfrom
res-538-examples-gallery
Open

Add examples gallery of solved physics problems#85
madeleinesong wants to merge 4 commits intomainfrom
res-538-examples-gallery

Conversation

@madeleinesong
Copy link
Copy Markdown
Collaborator

Summary

  • Create examples/ directory with 7 worked physics problem walkthroughs organized by subfield
  • Each example shows: problem statement, GPD workflow (commands used), key derivation steps with self-critique, and verification (dimensional analysis, limiting cases, literature comparison)
  • Examples cover classical mechanics (Kepler), quantum mechanics (hydrogen atom, coherent states), statistical mechanics (Ising model Monte Carlo), electrodynamics (Larmor radiation), fluid dynamics (Rayleigh-Benard), and QFT (Schwinger anomalous magnetic moment)
  • Link from main README.md navigation bar and Worked Example section to the gallery

Test plan

  • pytest passes (2175 passed; 1 pre-existing failure in test_graph_scope_counts_match_live_prompt_inventory unrelated to this PR)
  • Verify all internal links in examples/README.md resolve correctly on GitHub
  • Spot-check physics content in at least two examples for accuracy

Closes RES-538

🤖 Generated with Claude Code

Create examples/README.md with a gallery of 7 worked physics problems
covering classical mechanics, quantum mechanics, statistical mechanics,
electrodynamics, fluid dynamics, and QFT. Each entry links to a
detailed walkthrough showing the GPD workflow.

Refs RES-538
- Kepler problem: LRL vector, so(4) symmetry, orbit equation from algebra
- Hydrogen atom: so(4) algebraic derivation of E_n = -13.6/n^2
- Coherent states: time evolution, classical limit, minimum uncertainty

Each example demonstrates GPD's convention locking, derive-equation,
dimensional analysis, limiting cases, and literature verification.

Refs RES-538
- 2D Ising model: Monte Carlo, Wolff cluster, finite-size scaling
- Larmor radiation: retarded potentials to Lienard formula
- Rayleigh-Benard: linear stability, critical Rayleigh number
- QED anomalous magnetic moment: Schwinger result with self-correction

The QFT example intentionally shows GPD catching a factor-of-2 error
mid-derivation, demonstrating the self-critique verification workflow.

Refs RES-538
Add Examples link to the top navigation bar and a callout below the
Worked Example section pointing to the full gallery.

Refs RES-538
@madeleinesong madeleinesong force-pushed the res-538-examples-gallery branch from 5146813 to beaf75b Compare April 6, 2026 17:07
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