Skip to content

ZRTMRH/LinearAlgebraGame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear Algebra Game

An interactive game that teaches linear algebra through theorem proving in Lean 4, built with the lean4game framework. Based on Sheldon Axler's Linear Algebra Done Right.

Developed at Duke University as part of a Duke MATH+ program led by Professor Colleen Robles. No advanced linear algebra prerequisite is required.

Play now: Linear Algebra Game

Game Content

The game contains 43 levels across 5 worlds, progressing from basic proof tactics to the triangle inequality:

World Levels Topics Highlight
Tutorial World 10 Introduction to Lean 4 tactics (rfl, rw, apply, intro, induction, ...) Proof by induction
Vector Space World 5 Scalar multiplication, additive inverses, subspaces Negatives in a subspace
Linear Independence & Span World 9 Linear combinations, independence, span span(S) = span(S \ {w}) when w is redundant
Linear Maps World 11 Linear transformations, kernel, range Isomorphism iff injective and surjective
Inner Product World 8 Inner products, norms, Cauchy-Schwarz inequality Triangle inequality

Building Locally

To run the game locally, see the lean4game documentation on running locally.

Contributing

PRs and issues for typos, missing hints, or unclear explanations are welcome! Please open them at Issues.

For more information about the project, see the project page.

Credits

Duke University Mathematics Department

  • Team: Huiyu Chen, Adam Kern, Justin Morrill, and Letian Yang
  • Project Manager: Daniel Zhou
  • Project Leader: Colleen Robles
  • 2023 Lean 3 Version: Yannan Bai, Annapurna Bhattacharya, Chun-Hsien Hsu, Stavan Jain, Kurt Ma, Ricardo Prado Cunha, Anoushka Sinha (Project Manager: Chun-Hsien Hsu)
  • Game Engine: lean4game by Alexander Bentkamp and Jon Eugster et al.
  • Cover Image: Daniel Zhou, Nina Ma

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.7%
  • C 1.1%
  • HTML 0.7%
  • Lean 0.6%
  • JavaScript 0.2%
  • CSS 0.2%
  • Other 0.5%