Skip to content

Add scaled invariance verification for infinity and zero as counting labels - #4

Open
tensorrent wants to merge 1 commit into
mainfrom
claude/infinity-zero-scaled-invariance-vzm54b
Open

Add scaled invariance verification for infinity and zero as counting labels#4
tensorrent wants to merge 1 commit into
mainfrom
claude/infinity-zero-scaled-invariance-vzm54b

Conversation

@tensorrent

Copy link
Copy Markdown
Owner

Summary

This PR adds a comprehensive mathematical note and machine-verified test suite establishing that "infinity" and "zero" are resolution-relative counting labels, not intrinsic properties of intervals. The core insight is that the count of representable points in an interval is a property of the pair (interval, resolution-unit), and this count is exactly invariant under joint rescaling of both factors.

Key Changes

  • New test suite (code/notes_verification/test_scaled_invariance.py):

    • Implements exact lattice-point counting using rational arithmetic (no floating-point error)
    • Verifies four machine-checked (T1) facts:
      • A. Unit-relativity: The interior of (1,2) contains 0, 9, 99, 999, 9999 points at units δ = 1, 1/10, 1/100, 1/1000, 1/10000 respectively
      • B. Joint-scaling invariance: Over 200,000 random configurations, the count is exactly preserved under (interval, unit) → (λ·interval, λ·unit) with 0 mismatches
      • C. Interval-only scaling breaks it: Holding unit fixed while stretching interval changes the count, demonstrating why the label is relative
      • D. Dimensionless invariant: Count depends only on ratios a/δ and b/δ, confirming width/δ is the frame-free quantity
    • Uses seed 20260423 for reproducibility
  • New mathematical note (papers/methodology/Scaled_Invariance_of_Infinity_and_Zero.tex):

    • Formalizes the observation that "infinitely many decimals between 1 and 2" and "no whole numbers between 1 and 2" are the same interval read at different units
    • Establishes Principle 1 (scaled invariance) and Proposition 1 (exact joint-scaling invariance with proof)
    • Derives Corollary 1 (the invariant is dimensionless)
    • Includes detailed scope boundary: this concerns representable points under a resolution, not set cardinality; Cantor's theorem is untouched
    • Connects to framework's existing relativity concepts (Form/Function Relativity FF06g, When a Number Lies)
  • Documentation updates:

    • Updated README.md to list the new note as FF06h in the methodology series
    • Updated MANIFEST.md to include the new verification test

Implementation Details

  • Uses Python's fractions.Fraction for exact rational arithmetic, eliminating floating-point errors in counting
  • Implements both closed-interval and open-interval counting with exact ceiling/floor operations on fractions
  • Randomized testing with 200,000+ trials ensures the invariance holds across diverse parameter spaces
  • All tests exit with nonzero status on any mismatch, making verification part of the CI contract

https://claude.ai/code/session_01PfjNn6a39Y1eDbxNfsQQA5

Formalize the observation that "infinite decimals between 1 and 2" and
"nothing between 1 and 2 (whole numbers)" are two readings of the SAME
interval at two resolution units related by a scale.

- New note papers/methodology/Scaled_Invariance_of_Infinity_and_Zero.tex:
  the count of representable points N_δ[a,b] is a coordinate on
  (interval × unit), not a property of the interval. Joint-scaling
  invariance N_δ[a,b] = N_λδ[λa,λb] (Prop 1, bijection proof); the only
  frame-free content is the dimensionless ratio width/δ (Cor 1). Places
  it in the Form/Function Relativity (FF06g) / When a Number Lies family:
  the unit is the reference frame, ∞/0 is the swinging label.

- Machine-verified (T1) companion code/notes_verification/test_scaled_invariance.py,
  exact rational arithmetic, seed 20260423: interior of (1,2) is
  0,9,99,999,9999 as δ→0 (A); joint-scaling invariance 0/2×10^5
  mismatches (B); interval-only scaling breaks it (C); count depends on
  ratios alone 50000/50000 (D). All PASS.

- Explicit scope boundary (the point): this is counting under a
  resolution, NOT set cardinality. |R|,|Q|,|Z| stay distinct and
  frame-free; Cantor and the density of Q are untouched.

- Registered in MANIFEST.md (T1 row) and README.md (tree + run entry).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PfjNn6a39Y1eDbxNfsQQA5
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.

2 participants