## Overview The [[🧩 LeanNotes coding style|LeanNotes coding style]] attempts to provide a gentler first exposure to the concepts that make Lean such a powerful proof assistant. The `LeanNote style` provides: - explicit type information whenever practical. - a naming convention that errors on the side of elaboration. - a commenting style that provides a before and after context for tactic applications.. - code substitutions that clear up to obfuscated Lean effects. See the [[πŸ”© Ln-apply-relabeled-tactic]]. ## LeanNotes-tactics (Ln-tactic) LeanNotes tactics are listed in the Tactics section, they have a prefix that distinguishes them: `Ln-` | β£β€β£β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€Œβ£β€Œβ£Idiom | Description | Effects the goal | Effects a hypotheses | | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | :--------------: | :------------------: | | [[πŸ”© Ln-apply-relabeled-tactic]] | Correct the mislabeled conclusion term after applying Modus Ponens. | | ⎷ | | [[πŸ”© Ln-exact-show-tactic]] | Provide explicit term : type information to close a proof. | ⎷ | | | [[πŸ”© Ln-intro-typing-tactic]] | Provide explicit term : type information when a goal premise is assumed. | ⎷ | ⎷ | ## Related topics | β£β€β£β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β£β€Œβ£Topic | Description | | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [[πŸ”Ž AI prompts]] | This wiki note includes my generic prompt that is included in .lean files as the first comment. It has proved useful for code that has errors or confusing syntax. | | [[🧩 LeanNotes file header template]] | All LeanNote .lean files include a customized version of this header template. The key piece of information is the URL to a LeanNotes wiki note associated with the .lean file that includes annotations, copyright information, author credits and a README section. | | [[🧩 LeanNotes naming conventions]] | This wiki notes defines which letters are commonly used for various types and naming conventions for hypothesis, shadowing, etc. | | | | | | | --- **`LeanNotes curator:`** [[πŸ‘€ dducoff]], [Contact dducoff](https://tally.so/r/rjQYWL) **`Posted Date`**: 2026-08-15