Introductory Proof with Lean 4 - Natural Numbers

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 27

  • @enceladus96
    @enceladus96 4 วันที่ผ่านมา

    this is so calm to watch

  • @mateodenis4614
    @mateodenis4614 22 วันที่ผ่านมา +1

    pls keep doing these! it was really simple to understand and follow!

    • @mathpom
      @mathpom  10 วันที่ผ่านมา

      Thank you -- I'm glad it was easy to understand!

  • @junemcontreras
    @junemcontreras หลายเดือนก่อน +3

    I love the way this started! How do you only have 89 subs!?

    • @mathpom
      @mathpom  10 วันที่ผ่านมา +1

      thank you! that intro took quite a while to make!

  • @alfonsobustamante6937
    @alfonsobustamante6937 ปีที่แล้ว +10

    The best tutorial on Lean ive seen so far. So clear and loved the fact that i wasnt needed to use any library, which really alouded to grasp the main concepts to set a theorem with its hypothesies and its variables. Thank you!

    • @mathpom
      @mathpom  10 หลายเดือนก่อน +2

      Thank you for the kind comment! I deliberately tried to keep the example simple.

  • @kemijarks
    @kemijarks หลายเดือนก่อน +2

    I really like your calm voice and your pace ! Kudos

    • @mathpom
      @mathpom  10 วันที่ผ่านมา

      Thank you!

  • @alfonsobustamante6937
    @alfonsobustamante6937 ปีที่แล้ว +3

    And by the way, loved the saul goodman style of opening of your video! So i know who i gonna call to defend my math statements and theorems 🎭

    • @mathpom
      @mathpom  10 หลายเดือนก่อน +2

      ha call anytime!

  • @mohamedtalaatharb2441
    @mohamedtalaatharb2441 9 หลายเดือนก่อน +1

    That is a new mode for proofs that i didn't know about, I almost exclusively use tactics mode but this one seems nice for simple calculations. Thank you for the video.

    • @mathpom
      @mathpom  9 หลายเดือนก่อน +1

      Thank you -- I'm glad it was helpful.

  • @CrankinIt43
    @CrankinIt43 หลายเดือนก่อน +2

    4:51 when she applies the succ to both sides of the equality 😩

    • @mathpom
      @mathpom  10 วันที่ผ่านมา

      I'm not sure I understand... can you further explain?

  • @acortis
    @acortis หลายเดือนก่อน

    Good job! Keep’em coming!

    • @mathpom
      @mathpom  10 วันที่ผ่านมา

      Thanks! Will do!

  • @phurisottatipreedawong1618
    @phurisottatipreedawong1618 หลายเดือนก่อน +1

    I’m working on an educational project where I plan to use Manim and/or Matplotlib (in Python) to visualize basic Real Analysis theorems verified by the Lean prover. I’m new to Lean and haven’t found many beginner-friendly tutorials. Since I am only familiar with Python, I would greatly appreciate any advice on how to get started with Lean or resources that can help me integrate Lean with Python visualization tools like Manim and Matplotlib. Additionally, I’m looking for guidance on a suitable folder structure for a Lean project.
    P.S. Thank you very much for your video and for reading my comment.

  • @bobvance9519
    @bobvance9519 3 หลายเดือนก่อน

    great vid, very chill too

  • @davidstainton8337
    @davidstainton8337 2 หลายเดือนก่อน

    Moar please. Moar Lean 4 videos. On any Lean 4 topic.

  • @andresgoens
    @andresgoens 6 หลายเดือนก่อน +2

    Oops, Lean is not automated :/ Lean is an interactive theorem prover. Nice style for the video otherwise!

    • @mathpom
      @mathpom  6 หลายเดือนก่อน +1

      good catch! I shouldn't have used a term with specific meaning. I meant more the tactics people can get "for free".

  • @marcourielmedinamandujano5872
    @marcourielmedinamandujano5872 5 หลายเดือนก่อน +1

    But how do I install lean? :(((

    • @mathpom
      @mathpom  4 หลายเดือนก่อน +1

      It's not too bad! Check out leanprover-community.github.io/install/linux.html and github.com/leanprover/elan.

  • @feraudyh
    @feraudyh หลายเดือนก่อน +1

    I find the equating of function and theorem a little off-putting.

    • @mathpom
      @mathpom  10 วันที่ผ่านมา

      do you mean you'd prefer if I highlight that using the "theorem" keyword implies the function is not used for computation?
      from Functional Programming in Lean:
      "Generally speaking, with a proof, what matters is that there is evidence that a proposition is true, but it's not particularly important which evidence was provided. With definitions, on the other hand, it matters very much which particular value is selected-after all, a definition of addition that always returns 0 is clearly wrong."
      The book also shows the equivalence of:
      def onePlusOneIsTwo : 1 + 1 = 2 := rfl
      and
      def OnePlusOneIsTwo : Prop := 1 + 1 = 2
      theorem onePlusOneIsTwo : OnePlusOneIsTwo := rfl

  • @poisionivy2006
    @poisionivy2006 หลายเดือนก่อน +1

    lean sucks