| > Are writing our next program in Lean then? Where does that run? That first question is hard to parse. If you mean "Are you writing your next program in Lean then?" then: No, but in principle we could, it runs on each OS we use (Windows and Linux, standard x64 hardware). If you mean something else, I can't figure out what it would be. > Either we prove things in the language we want to use Sure, I mentioned SPARK/Ada. There are systems for C, Java, and others that also work and understand their types so you don't have to add extra modeling. > which means modelling the behavior of the things we use in that language It would already be done for you, you wouldn't have to model Ada's integers in SPARK, for instance. > we prove things in Lean, but then cannot apply that to an actual implementation, because of issues like the one above. https://lean-lang.org/doc/reference/latest/Basic-Types/Fixed... If you knew your target system was using fixed-width integers, you'd use this. |