lean4-htt/tests
Leonardo de Moura 4ee131981d feat: in an inductive family the longest fixed prefix of indices is now promoted to parameters
This modification is relevant for fixing regressions on recent changes
to the auto implicit behavior for inductive families.

The following declarations are now accepted:
```lean
inductive HasType : Fin n → Vector Ty n → Ty → Type where
  | stop : HasType 0 (ty :: ctx) ty
  | pop  : HasType k ctx ty → HasType k.succ (u :: ctx) ty

inductive Sublist : List α → List α → Prop
  | slnil : Sublist [] []
  | cons l₁ l₂ a : Sublist l₁ l₂ → Sublist l₁ (a :: l₂)
  | cons2 l₁ l₂ a : Sublist l₁ l₂ → Sublist (a :: l₁) (a :: l₂)

inductive Lst : Type u → Type u
  | nil  : Lst α
  | cons : α → Lst α → Lst α
```

TODO: universe inference for `inductive` should be improved. The
current approach is not good enough when we have auto implicits.

TODO: allow implicit fixed indices that do not depend on indices that
cannot be moved to become parameters.
2022-03-08 17:56:34 -08:00
..
bench chore: remove leanpkg 2022-02-04 19:03:40 +01:00
compiler chore: fix tests 2022-01-15 12:18:09 -08:00
elabissues
ir
lean feat: in an inductive family the longest fixed prefix of indices is now promoted to parameters 2022-03-08 17:56:34 -08:00
pkg chore: fix function name 2022-02-28 16:16:22 +01:00
playground feat: add procedure for solving subgoals generated by mkSplitterProof 2021-08-24 20:23:13 -07:00
plugin
simpperf
.gitignore
common.sh chore: replace sed with perl in test driver 2021-09-16 21:33:56 +02:00