lean4-raytracer VS mathlib4

Compare lean4-raytracer vs mathlib4 and see what are their differences.

lean4-raytracer

A simple raytracer written in Lean 4 (by kmill)

mathlib4

The math library of Lean 4 (by leanprover-community)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
lean4-raytracer mathlib4
2 10
113 837
- 19.0%
3.5 10.0
5 months ago 4 days ago
Lean Lean
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

lean4-raytracer

Posts with mentions or reviews of lean4-raytracer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-29.
  • Functional Programming in Lean – a book on using Lean 4 to write programs
    2 projects | news.ycombinator.com | 29 May 2023
    Lean is currently moving to the 4th iteration which is the first intended to be a general-purpose programming language. It "is currently being released as milestone releases towards a first stable release". For now the main goal is to port mathlib to the new version, and then they will concentrate on the compiler. So it is not production ready. But that doesn't mean it is not suitable for building any programs now. There is a simple raytracer written in Lean [1]. I have built a chip8 interpreter with it and the only problem was the lack of an ecosystem, meaning I had to build the necessary libraries myself.

    Now it has a RC GC and boxes everything >= 64 bits, and as the compiler isn't polished it is probably significantly slower. In the referenced raytracer repo you can find rendering time compared to the C implementation (Lean is 25x slower, but that was a year ago).

    [1] https://github.com/kmill/lean4-raytracer

  • A simple ray tracer in Lean 4
    1 project | news.ycombinator.com | 1 Feb 2021

mathlib4

Posts with mentions or reviews of mathlib4. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-06.
  • A Linear Algebra Trick for Computing Fibonacci Numbers Fast
    3 projects | news.ycombinator.com | 6 Nov 2023
    We essentially implemented this matrix version in Lean/mathlib to both compute the fibonacci number and generate an efficient proof for the calculation.

    https://github.com/leanprover-community/mathlib4/blob/master...

    In practice this isn't very useful (the definition of Nat.fib unfolds quick enough and concrete large fibonacci numbers don't often appear in proofs) but still it shaves a bit of time off the calculation and the proof verification.

  • Show HN: The first complete open source implementation of Turing's famous paper
    2 projects | news.ycombinator.com | 17 Sep 2023
    As an aside, there are a number of Turing machines defined in Lean's mathlib. https://github.com/leanprover-community/mathlib4/blob/2c3ee3...
  • Lean 4.0.0, first official lean4 release
    10 projects | news.ycombinator.com | 7 Sep 2023
    Thanks,

    and there is Subobject, which looks like the subobject classifier.

    https://github.com/leanprover-community/mathlib4/blob/master...

  • Are There People Doing Formal Math In Berlin?
    3 projects | /r/berlinsocialclub | 13 Jun 2023
    I just wonder if there are any irl meetups of people involved with formalizing mathematics, I thought that it would be a cool hobby to pick up (with some background in math and programming) but the existing libraries, like MathLib, TypeTopology or UniMath look a bit intimidating...
  • Good First Formal Proof?
    1 project | /r/askmath | 10 Jun 2023
    What is a good proof in either unimath or mathlib4 or somewhere else to get started with formal proofs? Like some well known result without too many dependencies, but still nothing trivial like propositional logic?
  • Functional Programming in Lean – a book on using Lean 4 to write programs
    2 projects | news.ycombinator.com | 29 May 2023
    For searching using search terms for theorems in mathlib, there is the mathlib documentation page (for Lean 3 https://leanprover-community.github.io/mathlib_docs/ and Lean 4 https://leanprover-community.github.io/mathlib4_docs/). To find theorems by type, I find the best way is to use the `library_search` tactic from inside Lean itself.
  • Good Entry Points For `mathlib4`?
    1 project | /r/math | 16 May 2023
    Hello, I'd like to start learning Lean 4. I'm already reading the book, but I'm really curious to study real-life parallel. So I looked into mathlib4, but there seem to be a lot of dependencies between the the files. So I wonder the following:

What are some alternatives?

When comparing lean4-raytracer and mathlib4 you can also consider the following projects:

lean4-mode - Emacs major mode for Lean 4

lean4 - Lean 4 programming language and theorem prover

tinyraytracer - A brief computer graphics / rendering course

lean4-metaprogramming-book

gmp-wasm - Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly.

turing - A reference implementation of Alan Turing's 1936 paper, On Computable Numbers

WickedEngine - 3D engine with modern graphics

logical_verification_2023 - Hitchhiker's Guide to Logical Verification (2023 Edition)

TypeTopology - Logical manifestations of topological concepts, and other things, via the univalent point of view.

mathlib - Lean 3's obsolete mathematical components library: please use mathlib4