Commit graph

11 commits

Author SHA1 Message Date
Kim Morrison
c3948cba24
feat: upstream definition of Vector from Batteries (#6197)
This PR upstreams the definition of `Vector` from Batteries, along with
the basic functions.
2024-11-24 23:01:32 +00:00
Joachim Breitner
7d60d8b563
feat: safer #eval, and #eval! (#4810)
previously, `#eval` would happily evaluate expressions that contain
`sorry`, either explicitly or because of failing tactics. In conjunction
with operations like array access this can lead to the lean process
crashing, which isn't particularly great.

So how `#eval` will refuse to run code that (transitively) depends on
the `sorry` axiom (using the same code as `#print axioms`).

If the user really wants to run it, they can use `#eval!`.

Closes #1697
2024-07-23 15:26:56 +00:00
int-y1
ce4ae37c19 chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
Timo
e49a81bb56 doc: fix typo 2022-06-27 19:48:45 -07:00
Sebastian Ullrich
388ed62858 chore: update Alectryon 2022-06-07 17:14:41 +02:00
Leonardo de Moura
39093188bf chore: use cdot 2022-04-06 16:32:20 -07:00
Sebastian Ullrich
020fb82888 doc: clean up examples markup 2022-04-06 09:06:49 -07:00
Sebastian Ullrich
85c7772f4c doc: fix ReST markup 2022-03-26 22:50:04 +01:00
Leonardo de Moura
3c9556ec18 doc: finish deBruijn.lean example 2022-03-24 16:17:53 -07:00
Leonardo de Moura
170b911a6f doc: expand deBruijn 2022-03-22 19:35:58 -07:00
Leonardo de Moura
412bc14fbe doc: add well-typed interpreter as an example 2022-03-22 16:32:41 -07:00