lean4-htt/tests
Leonardo de Moura 4f7d3bb692
feat: instantiate tactic parameters (#10746)
This PR implements parameters for the `instantiate` tactic in the
`grind` interactive mode. Users can now select both global and local
theorems. Local theorems are selected using anchors. It also adds the
`show_thms` tactic for displaying local theorems. Example:

```lean
example (as bs cs : Array α) (v₁ v₂ : α)
        (i₁ i₂ j : Nat)
        (h₁ : i₁ < as.size)
        (h₂ : bs = as.set i₁ v₁)
        (h₃ : i₂ < bs.size)
        (h₃ : cs = bs.set i₂ v₂)
        (h₄ : i₁ ≠ j ∧ i₂ ≠ j)
        (h₅ : j < cs.size)
        (h₆ : j < as.size)
        : cs[j] = as[j] := by
  grind =>
    instantiate = Array.getElem_set
    instantiate Array.getElem_set
```
2025-10-11 21:35:21 +00:00
..
bench chore: rename Stream to Std.Stream (#10645) 2025-10-02 15:25:56 +00:00
compiler refactor: discipline around arithmetic of String.Pos.Raw (#10713) 2025-10-09 07:47:45 +00:00
elabissues
ir
lake fix: lake: local cache w/ --old (#10741) 2025-10-11 02:20:31 +00:00
lean feat: instantiate tactic parameters (#10746) 2025-10-11 21:35:21 +00:00
pkg fix: simp should not pick up inaccessible definitional equations (#10696) 2025-10-08 12:48:35 +00:00
playground
plugin
simpperf
.gitignore
common.sh
lakefile.toml
lean-toolchain