- Lean Version:
stable(currently 4.27.0) - auto-tracks latest stable - Mathlib:
stablebranch - auto-updates with Lean stable releases - Global Packages:
.lake/packages→~/.lake/packages(symlinked)- No local packages directory ever created!
- Build Status: Core Hyper.Hyper module compiles successfully
- Updated
lean-toolchaintoleanprover/lean4:stable - Configured
lakefile.tomlto use mathlibstablebranch - Fixed API compatibility issues:
- EReal import moved to
Mathlib.Data.EReal.Basic - Bool literals:
0/1→false/truefor exceptional field List.get?→list[index]?syntax- Field instance:
add_left_neg→neg_add_cancel
- EReal import moved to
- Added
sorryplaceholders for Field scalar multiplication proofs
- Field Instance: Uses
sorryfor 7 scalar multiplication proof obligations- These can be properly implemented later if needed
- Doesn't affect basic Hyper functionality
- HyperGeneral Module: Has additional API issues, not yet fixed
- HyperExamples.lean: Depends on HyperGeneral, currently broken
See example_working.lean for a functional demonstration of:
- Basic Hyper number operations
- Epsilon (ε) and Omega (ω) definitions
- Key theorems:
ε * ω = 1,ε * ε = 0,ω * ω = 0
# Build the project
lake build
# Test the working example
lake env lean example_working.lean
# Work with Hyper numbers
lake env lean your_file.leanThe project will automatically use the latest stable versions:
- Run
lake updateto fetch latest stable mathlib - Lean toolchain updates automatically via elan
All dependencies are cached globally in ~/.lake/packages for efficiency!