inlean 0.1.0

Inline Lean 4 in Rust, checked by Lean and compiled to Rust
Documentation
//! Inline Lean 4 in Rust.
//!
//! [`lean!`] takes Lean code written in a Rust source file, has Lean check it, proofs
//! included, and expands to Rust translated from what Lean's compiler produced for the
//! functions marked `@[export name]`. Nothing of Lean is linked into the program.
//!
//! ```ignore
//! inlean::lean! {
//!     @[export saturating_double]
//!     def saturatingDouble (x : UInt32) : UInt32 :=
//!       if x <= 2147483647 then 2 * x else 4294967295
//!
//!     theorem saturatingDouble_max : saturatingDouble 4294967295 = 4294967295 := by decide
//! }
//!
//! assert_eq!(saturating_double(21), 42);
//! ```

pub use inlean_macros::{lean, lean_file};
pub use inlean_runtime::{FromLean, Int, Nat, ParseIntError, ParseNatError, ToLean, TooLarge};

/// The runtime that generated code calls. Not a public API.
#[doc(hidden)]
pub use inlean_runtime as __rt;