Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I don't want to formalize any of my work on mathematics.

I don't want to formalize any of my work on mathematics.

Scheduled Pinned Locked Moved Uncategorized
106 Posts 38 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • johncarlosbaez@mathstodon.xyzJ johncarlosbaez@mathstodon.xyz

    @dougmerritt - I follow some people who are into formalization, logic and type theory more sophisticated than Lean: @MartinEscardo, @andrejbauer, @pigworker and @JacquesC2 leap to mind. They're the ones to answer your question.

    andrejbauer@mathstodon.xyzA This user is from outside of this forum
    andrejbauer@mathstodon.xyzA This user is from outside of this forum
    andrejbauer@mathstodon.xyz
    wrote last edited by
    #40

    @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker Somewhat unexpectedly, I find myself on the same side as @xenaproject on this one, I suppose because I read "the right way" differently from @johncarlosbaez

    Formalized mathematics makes us think "the right way" in the sense that it requires mental hygiene, it encourages better organization, it invites abstraction, and it demands honesty.

    Formalized mathematics does not at all impose "One and Only Truth", nor does it "nail things down with rigidity" or "impose concensus". Those are impressions that an outsider might get by observing how, for the first time, some mathematicians have banded together to produce the largest library of formalized mathematics in history. But let's be honest, it's miniscule.

    Even within a single proof assistant, there is a great deal of freedom of exploration of foundations, and there are many different ways to formalize any given topic. Not to mention that having several proof assistants, each peddling its own foundation, has only contributed to plurality of mathematical thought.

    Current tools are relatively immature and do indeed steal time from creative thought to some degree, although people who are proficient in their use regularly explore mathematics with proof assistants (for example @MartinEscardo and myself), testifying to their creative potential.

    Finally, any fear that Mathlib and Lean will dominate mathematical thought, or even just formalized mathematics, is a hollow one. Mathlib will soon be left in the dust of history, but it will always be remembered as the project that brought formalized mathematics from the fringes of computer science to the mainstream of mathematics.

    markusde@mathstodon.xyzM leonardom@mathstodon.xyzL martinescardo@mathstodon.xyzM johncarlosbaez@mathstodon.xyzJ chrisamaphone@hci.socialC 5 Replies Last reply
    0
    • jacquesc2@types.plJ jacquesc2@types.pl

      @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker I would compare Lean+Mathlib to Java rather than FORTRAN and Pascal: Java is just as boring a PL as others, but it is a much stronger ecosystem (IDEs, libraries, tutorials, etc). Thus developers have a much better experience using Lean+Mathlib and the surrounding ecosystem (blueprints are super cool, as just one example).

      In my mind, it is purely 'social forces' that has made and is making Lean+Mathlib the apparent winner. And that has snowballed - almost to the point of smothering everything else, which is extremely dangerous for innovation.

      markusde@mathstodon.xyzM This user is from outside of this forum
      markusde@mathstodon.xyzM This user is from outside of this forum
      markusde@mathstodon.xyz
      wrote last edited by
      #41

      @JacquesC2 @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker Lean is worse, but, infamously, https://en.wikipedia.org/wiki/Worse_is_better

      sandmouth@types.plS Y 2 Replies Last reply
      0
      • jacquesc2@types.plJ jacquesc2@types.pl

        @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker Are there specific ideas around to make things better? Absolutely! Heck, there are old ideas (Epigram comes to mind, but even Automath has not been fully mined yet) that are still not implemented.

        I will continue later - need to attend to other things right now.

        jacquesc2@types.plJ This user is from outside of this forum
        jacquesc2@types.plJ This user is from outside of this forum
        jacquesc2@types.pl
        wrote last edited by
        #42

        @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker I agree with @andrejbauer 's take, including his skepticism of my comments on Lean choking things off: we're talking (implicitly) about different time scales. I'm witnessing a current funnelling of resources, which will cause short-term pain. Indeed this is unlikely to remain 'forever'.

        jacquesc2@types.plJ 1 Reply Last reply
        0
        • andrejbauer@mathstodon.xyzA andrejbauer@mathstodon.xyz

          @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker Somewhat unexpectedly, I find myself on the same side as @xenaproject on this one, I suppose because I read "the right way" differently from @johncarlosbaez

          Formalized mathematics makes us think "the right way" in the sense that it requires mental hygiene, it encourages better organization, it invites abstraction, and it demands honesty.

          Formalized mathematics does not at all impose "One and Only Truth", nor does it "nail things down with rigidity" or "impose concensus". Those are impressions that an outsider might get by observing how, for the first time, some mathematicians have banded together to produce the largest library of formalized mathematics in history. But let's be honest, it's miniscule.

          Even within a single proof assistant, there is a great deal of freedom of exploration of foundations, and there are many different ways to formalize any given topic. Not to mention that having several proof assistants, each peddling its own foundation, has only contributed to plurality of mathematical thought.

          Current tools are relatively immature and do indeed steal time from creative thought to some degree, although people who are proficient in their use regularly explore mathematics with proof assistants (for example @MartinEscardo and myself), testifying to their creative potential.

          Finally, any fear that Mathlib and Lean will dominate mathematical thought, or even just formalized mathematics, is a hollow one. Mathlib will soon be left in the dust of history, but it will always be remembered as the project that brought formalized mathematics from the fringes of computer science to the mainstream of mathematics.

          markusde@mathstodon.xyzM This user is from outside of this forum
          markusde@mathstodon.xyzM This user is from outside of this forum
          markusde@mathstodon.xyz
          wrote last edited by
          #43

          @andrejbauer @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker @xenaproject

          > Mathlib will soon be left in the dust of history

          Totally. Even on a technical level, having one dominant math library does not signal the degradation of the field. The other day I learned about [1] for automatically porting Lean definitions to Rocq. This project now gets to start with targeting a big, consistent library of formalized math, and even if the Mathlib people won't care that's still an great thing for the field!

          [1] https://github.com/rocq-community/rocq-lean-import

          mevenlennonbertrand@lipn.infoM 1 Reply Last reply
          0
          • markusde@mathstodon.xyzM markusde@mathstodon.xyz

            @andrejbauer @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker @xenaproject

            > Mathlib will soon be left in the dust of history

            Totally. Even on a technical level, having one dominant math library does not signal the degradation of the field. The other day I learned about [1] for automatically porting Lean definitions to Rocq. This project now gets to start with targeting a big, consistent library of formalized math, and even if the Mathlib people won't care that's still an great thing for the field!

            [1] https://github.com/rocq-community/rocq-lean-import

            mevenlennonbertrand@lipn.infoM This user is from outside of this forum
            mevenlennonbertrand@lipn.infoM This user is from outside of this forum
            mevenlennonbertrand@lipn.info
            wrote last edited by
            #44

            @markusde Have you seen what can be done with this nowadays https://theoremlabs.com/blog/lf-lean/ ?

            markusde@mathstodon.xyzM 1 Reply Last reply
            0
            • mevenlennonbertrand@lipn.infoM mevenlennonbertrand@lipn.info

              @markusde Have you seen what can be done with this nowadays https://theoremlabs.com/blog/lf-lean/ ?

              markusde@mathstodon.xyzM This user is from outside of this forum
              markusde@mathstodon.xyzM This user is from outside of this forum
              markusde@mathstodon.xyz
              wrote last edited by
              #45

              @mevenlennonbertrand I've read that article rocq-lean-import was the only interesting thing in it

              markusde@mathstodon.xyzM 1 Reply Last reply
              0
              • jacquesc2@types.plJ jacquesc2@types.pl

                @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker I agree with @andrejbauer 's take, including his skepticism of my comments on Lean choking things off: we're talking (implicitly) about different time scales. I'm witnessing a current funnelling of resources, which will cause short-term pain. Indeed this is unlikely to remain 'forever'.

                jacquesc2@types.plJ This user is from outside of this forum
                jacquesc2@types.plJ This user is from outside of this forum
                jacquesc2@types.pl
                wrote last edited by
                #46

                @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker On the more optimistic side:

                • there is a lot of structure to mathematics, which is currently not very well leveraged, i.e. Universal Algebra and its many generalizations. But people are working on that (myself included).
                • regardless of what some say, there is a lot of 'computational mathematics', which is currently not well supported by any system, and essentially eschewed by Lean+Mathlib. That requires thinking differently. Again, people are working on that.
                • in fact, there is quite a bit more to math in general -- see the Tetrapod approach for one.

                To me, what's really missing are experts in designing UX having a solid look at mechanized mathematics tools. For that to bear fruit, experts in requirements analysis need to better understand the full "mathematics workflow" -- where proof is just one small aspect. It might indeed be the most time-consuming part, but it is not necessarily where the most value lies. [See LaTeX as an example of a strong value proposition that has completely changed the practice of mathematics, but in a surreptitious way, as it is essentially invisible wrt "mathematical thought". Its effect is no less important.]

                jacquesc2@types.plJ 1 Reply Last reply
                0
                • markusde@mathstodon.xyzM markusde@mathstodon.xyz

                  @mevenlennonbertrand I've read that article rocq-lean-import was the only interesting thing in it

                  markusde@mathstodon.xyzM This user is from outside of this forum
                  markusde@mathstodon.xyzM This user is from outside of this forum
                  markusde@mathstodon.xyz
                  wrote last edited by
                  #47

                  @mevenlennonbertrand Porting a bunch of theorem statements and then saying it's "verified" is... bold

                  mevenlennonbertrand@lipn.infoM 1 Reply Last reply
                  0
                  • maxpool@mathstodon.xyzM maxpool@mathstodon.xyz

                    @johncarlosbaez @dougmerritt

                    This is just the beginning.

                    Current systems are the FORTRAN and Pascal of proof systems; they are for building pyramids--imposing, breathtaking, static structures built by armies pushing heavy blocks into place.

                    What we need is for someone to invent the Lisp of proof systems. Something that helps individuals to think new thoughts.

                    dlakelan@mastodon.sdf.orgD This user is from outside of this forum
                    dlakelan@mastodon.sdf.orgD This user is from outside of this forum
                    dlakelan@mastodon.sdf.org
                    wrote last edited by
                    #48

                    @maxpool @johncarlosbaez @dougmerritt

                    I mean, Maxima was literally written in the late 60's in LISP to give people help thinking new thoughts (beyond what they could reasonably accurately do by hand)

                    1 Reply Last reply
                    0
                    • jacquesc2@types.plJ jacquesc2@types.pl

                      @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker On the more optimistic side:

                      • there is a lot of structure to mathematics, which is currently not very well leveraged, i.e. Universal Algebra and its many generalizations. But people are working on that (myself included).
                      • regardless of what some say, there is a lot of 'computational mathematics', which is currently not well supported by any system, and essentially eschewed by Lean+Mathlib. That requires thinking differently. Again, people are working on that.
                      • in fact, there is quite a bit more to math in general -- see the Tetrapod approach for one.

                      To me, what's really missing are experts in designing UX having a solid look at mechanized mathematics tools. For that to bear fruit, experts in requirements analysis need to better understand the full "mathematics workflow" -- where proof is just one small aspect. It might indeed be the most time-consuming part, but it is not necessarily where the most value lies. [See LaTeX as an example of a strong value proposition that has completely changed the practice of mathematics, but in a surreptitious way, as it is essentially invisible wrt "mathematical thought". Its effect is no less important.]

                      jacquesc2@types.plJ This user is from outside of this forum
                      jacquesc2@types.plJ This user is from outside of this forum
                      jacquesc2@types.pl
                      wrote last edited by
                      #49

                      @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker On a more personal note, I'm strongly enjoying that all this work on proof assistants is forcing many many more people to think about meta-mathematics (and I don't mean just logic here, but all aspects of 'mathematics' as a subject of study.) /end

                      1 Reply Last reply
                      0
                      • markusde@mathstodon.xyzM markusde@mathstodon.xyz

                        @JacquesC2 @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker Lean is worse, but, infamously, https://en.wikipedia.org/wiki/Worse_is_better

                        sandmouth@types.plS This user is from outside of this forum
                        sandmouth@types.plS This user is from outside of this forum
                        sandmouth@types.pl
                        wrote last edited by
                        #50

                        @markusde @JacquesC2 @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker it is absolutely wild that lean is (unironically?) being used as an example of worse is better.

                        markusde@mathstodon.xyzM 1 Reply Last reply
                        0
                        • markusde@mathstodon.xyzM markusde@mathstodon.xyz

                          @mevenlennonbertrand Porting a bunch of theorem statements and then saying it's "verified" is... bold

                          mevenlennonbertrand@lipn.infoM This user is from outside of this forum
                          mevenlennonbertrand@lipn.infoM This user is from outside of this forum
                          mevenlennonbertrand@lipn.info
                          wrote last edited by
                          #51

                          @markusde Isn't the point that having a proof on the Rocq side + a proof that the statement translated from Lean is equivalent to the Rocq one makes it reasonable to not translate the whole proof? I find it not quite fully satisfying, but the approach sounds honestly very reasonable to me.

                          markusde@mathstodon.xyzM 1 Reply Last reply
                          0
                          • andrejbauer@mathstodon.xyzA andrejbauer@mathstodon.xyz

                            @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker Somewhat unexpectedly, I find myself on the same side as @xenaproject on this one, I suppose because I read "the right way" differently from @johncarlosbaez

                            Formalized mathematics makes us think "the right way" in the sense that it requires mental hygiene, it encourages better organization, it invites abstraction, and it demands honesty.

                            Formalized mathematics does not at all impose "One and Only Truth", nor does it "nail things down with rigidity" or "impose concensus". Those are impressions that an outsider might get by observing how, for the first time, some mathematicians have banded together to produce the largest library of formalized mathematics in history. But let's be honest, it's miniscule.

                            Even within a single proof assistant, there is a great deal of freedom of exploration of foundations, and there are many different ways to formalize any given topic. Not to mention that having several proof assistants, each peddling its own foundation, has only contributed to plurality of mathematical thought.

                            Current tools are relatively immature and do indeed steal time from creative thought to some degree, although people who are proficient in their use regularly explore mathematics with proof assistants (for example @MartinEscardo and myself), testifying to their creative potential.

                            Finally, any fear that Mathlib and Lean will dominate mathematical thought, or even just formalized mathematics, is a hollow one. Mathlib will soon be left in the dust of history, but it will always be remembered as the project that brought formalized mathematics from the fringes of computer science to the mainstream of mathematics.

                            leonardom@mathstodon.xyzL This user is from outside of this forum
                            leonardom@mathstodon.xyzL This user is from outside of this forum
                            leonardom@mathstodon.xyz
                            wrote last edited by
                            #52

                            @andrejbauer why will Mathlib soon be left in the dust of history?

                            1 Reply Last reply
                            0
                            • sandmouth@types.plS sandmouth@types.pl

                              @markusde @JacquesC2 @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker it is absolutely wild that lean is (unironically?) being used as an example of worse is better.

                              markusde@mathstodon.xyzM This user is from outside of this forum
                              markusde@mathstodon.xyzM This user is from outside of this forum
                              markusde@mathstodon.xyz
                              wrote last edited by
                              #53

                              @sandmouth @JacquesC2 @johncarlosbaez @dougmerritt @MartinEscardo @andrejbauer @pigworker I mean... I'm serious about it. I've seen really convincing arguments from type theorists about how Lean's type theory is missing features (transitive defeq, decidable defeq, consistency with various axioms). Some of the missing features are just mistakes, but some of them are made in the interest of usability or simplicity or speed or whatnot.

                              Personally, I don't think has decisively shown that these things _aren't_ in conflict, so that is the sense in which I see Lean as worse and better. Idk, just my opinion.

                              1 Reply Last reply
                              0
                              • mevenlennonbertrand@lipn.infoM mevenlennonbertrand@lipn.info

                                @markusde Isn't the point that having a proof on the Rocq side + a proof that the statement translated from Lean is equivalent to the Rocq one makes it reasonable to not translate the whole proof? I find it not quite fully satisfying, but the approach sounds honestly very reasonable to me.

                                markusde@mathstodon.xyzM This user is from outside of this forum
                                markusde@mathstodon.xyzM This user is from outside of this forum
                                markusde@mathstodon.xyz
                                wrote last edited by
                                #54

                                @mevenlennonbertrand I guess I don't understand their article. I can see how you'd verify that a round-trip Rocq translation is correct (ie. identical) but doesn't that say nothing about the correctness of your Lean code when linked against other Lean code?

                                Adding to the TCB is not that interesting to me.

                                mevenlennonbertrand@lipn.infoM 1 Reply Last reply
                                0
                                • markusde@mathstodon.xyzM markusde@mathstodon.xyz

                                  @mevenlennonbertrand I guess I don't understand their article. I can see how you'd verify that a round-trip Rocq translation is correct (ie. identical) but doesn't that say nothing about the correctness of your Lean code when linked against other Lean code?

                                  Adding to the TCB is not that interesting to me.

                                  mevenlennonbertrand@lipn.infoM This user is from outside of this forum
                                  mevenlennonbertrand@lipn.infoM This user is from outside of this forum
                                  mevenlennonbertrand@lipn.info
                                  wrote last edited by
                                  #55

                                  @markusde I guess it says that :
                                  - the definitions give you objects which once roundtripped are isomorphic to the original ones ; not the best specification, but rather solid (it rules out everything being unit or something, and is especially fine if you also translate the various operations/basic proofs which encode that they behave the way one expects)
                                  - the lemmas you admit on the Lean side are logically equivalent (up to Lean -> Rocq translation) to ones which are proven, which to me makes them very reasonable to assume

                                  Of course that brings the Lean -> Rocq translation to the TCB, as well as Rocq, but I still feel this is ok?

                                  And I don't see how the liking with other Lean code changes anything, you can treat the translated code as some sort of opaque module with a bunch of definitions and proofs and use that opaquely, just as you would any other Lean module? Except in this one the proofs are not there, they're on the Rocq side

                                  markusde@mathstodon.xyzM 1 Reply Last reply
                                  0
                                  • andrejbauer@mathstodon.xyzA andrejbauer@mathstodon.xyz

                                    @johncarlosbaez @dougmerritt @MartinEscardo @JacquesC2 @pigworker Somewhat unexpectedly, I find myself on the same side as @xenaproject on this one, I suppose because I read "the right way" differently from @johncarlosbaez

                                    Formalized mathematics makes us think "the right way" in the sense that it requires mental hygiene, it encourages better organization, it invites abstraction, and it demands honesty.

                                    Formalized mathematics does not at all impose "One and Only Truth", nor does it "nail things down with rigidity" or "impose concensus". Those are impressions that an outsider might get by observing how, for the first time, some mathematicians have banded together to produce the largest library of formalized mathematics in history. But let's be honest, it's miniscule.

                                    Even within a single proof assistant, there is a great deal of freedom of exploration of foundations, and there are many different ways to formalize any given topic. Not to mention that having several proof assistants, each peddling its own foundation, has only contributed to plurality of mathematical thought.

                                    Current tools are relatively immature and do indeed steal time from creative thought to some degree, although people who are proficient in their use regularly explore mathematics with proof assistants (for example @MartinEscardo and myself), testifying to their creative potential.

                                    Finally, any fear that Mathlib and Lean will dominate mathematical thought, or even just formalized mathematics, is a hollow one. Mathlib will soon be left in the dust of history, but it will always be remembered as the project that brought formalized mathematics from the fringes of computer science to the mainstream of mathematics.

                                    martinescardo@mathstodon.xyzM This user is from outside of this forum
                                    martinescardo@mathstodon.xyzM This user is from outside of this forum
                                    martinescardo@mathstodon.xyz
                                    wrote last edited by
                                    #56

                                    @andrejbauer @johncarlosbaez @dougmerritt @JacquesC2 @pigworker @xenaproject

                                    It is not inconceivable that one day in the not-too-distant future, proof assistants will be able to "understand" proofs written in sufficiently careful, informal, mathematical vernacular and translate it to a suitable formal language.

                                    And this formal language doesn't need to be fixed. The mathematician just chooses a foundation, or, in case they don't care, they let the proof assistant choose a suitable one for the informal (but hopefully rigorous) mathematics at hand.

                                    I don't mean AI, but people are certainly trying this with so-called AI nowadays (personally, I think this is the wrong approach, but **I don't want** this to become the subject of discussion here).

                                    In any case, a person will need to check that the definitions and the statements of the theorems and constructions are correctly translated (*). Then the formal proofs obtained from informal proofs don't need to be checked by people.

                                    (*) At least at the beginning. For example, we now trust that C compilers produce correct machine code and don't check it ourselves.

                                    In any case, all of the above can happen only step by step, and currently we are at an important step, I think, where the first were in the 1960's by de Bruijn.

                                    As I said before, I use proof assistants as smart blackboards. If I could get interactive help while I write in mathematical vernacular, I would immediately adopt this incredible new proof assistant.

                                    And, I repeat, I don't mean the kind of non-help I get from ChatGPT, Gemini, Claude, DeepSeek, or what-you-have - I feel I help them rather than the other way round.

                                    I mean the kind of help I already get in non-AI-based proof assistants

                                    martinescardo@mathstodon.xyzM mevenlennonbertrand@lipn.infoM tobybartels@mathstodon.xyzT 3 Replies Last reply
                                    0
                                    • highergeometer@mathstodon.xyzH highergeometer@mathstodon.xyz

                                      @RobJLow @johncarlosbaez Well, I heard Kevin talk about problems in the Langlands program where Jim Arthur claimed big results in a number of really meaty "forthcoming" papers and people took his word, and then it turned out there were big problems. In that kind of mathematics, the problem wasn't that it wasn't formalised, but that people are perhaps getting a bit too confident.....

                                      johncarlosbaez@mathstodon.xyzJ This user is from outside of this forum
                                      johncarlosbaez@mathstodon.xyzJ This user is from outside of this forum
                                      johncarlosbaez@mathstodon.xyz
                                      wrote last edited by
                                      #57

                                      @highergeometer @RobJLow - soon we will give mathematicians brain implants that make their glasses flash a red warning light when they state any result that hasn't been formalized, and this problem will be solved.

                                      highergeometer@mathstodon.xyzH 1 Reply Last reply
                                      0
                                      • mevenlennonbertrand@lipn.infoM mevenlennonbertrand@lipn.info

                                        @markusde I guess it says that :
                                        - the definitions give you objects which once roundtripped are isomorphic to the original ones ; not the best specification, but rather solid (it rules out everything being unit or something, and is especially fine if you also translate the various operations/basic proofs which encode that they behave the way one expects)
                                        - the lemmas you admit on the Lean side are logically equivalent (up to Lean -> Rocq translation) to ones which are proven, which to me makes them very reasonable to assume

                                        Of course that brings the Lean -> Rocq translation to the TCB, as well as Rocq, but I still feel this is ok?

                                        And I don't see how the liking with other Lean code changes anything, you can treat the translated code as some sort of opaque module with a bunch of definitions and proofs and use that opaquely, just as you would any other Lean module? Except in this one the proofs are not there, they're on the Rocq side

                                        markusde@mathstodon.xyzM This user is from outside of this forum
                                        markusde@mathstodon.xyzM This user is from outside of this forum
                                        markusde@mathstodon.xyz
                                        wrote last edited by
                                        #58

                                        @mevenlennonbertrand I am not comfortable with having that added to the TCB, so, getting back to my initial comment I would not call it "verified" given how easy it is to get wrong! Their article brings up several differences between the Lean and Rocq type theory... can they be sure they caught them all? Apply their technique to a proof development in a different language that is not classically valid. What goes wrong? What if all the definitions they choose to port are round-trippable but some of them are not true????

                                        The answer to this rhetorical question is probably that "they wouldn't trust that" but I think the translation is subtle enough that I wouldn't put faith in it.

                                        markusde@mathstodon.xyzM 1 Reply Last reply
                                        0
                                        • markusde@mathstodon.xyzM markusde@mathstodon.xyz

                                          @mevenlennonbertrand I am not comfortable with having that added to the TCB, so, getting back to my initial comment I would not call it "verified" given how easy it is to get wrong! Their article brings up several differences between the Lean and Rocq type theory... can they be sure they caught them all? Apply their technique to a proof development in a different language that is not classically valid. What goes wrong? What if all the definitions they choose to port are round-trippable but some of them are not true????

                                          The answer to this rhetorical question is probably that "they wouldn't trust that" but I think the translation is subtle enough that I wouldn't put faith in it.

                                          markusde@mathstodon.xyzM This user is from outside of this forum
                                          markusde@mathstodon.xyzM This user is from outside of this forum
                                          markusde@mathstodon.xyz
                                          wrote last edited by
                                          #59

                                          @mevenlennonbertrand
                                          There could be engineering value in this as a starting point to porting complete proofs, though ofc that is not demonstrated until you actually do the proofs. For example, I would consider a tool that translates Rocq canonical structures hierarchies into it's type-theoretically similar Lean code _wrong_, because in Lean, you want to use typeclasses 99% of the time. I'll reserve judgement until they fill in the gaps.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups