lean4-htt/src/Init/Internal
Wojciech Rozowski 489d7b6d72
feat: add antitonicity lemmas for (co)inductive predicates (#8940)
This PR introduces antitonicity lemmas that support the elaboration of
mixed inductive-coinductive predicates defined using the
`least_fixpoint` / `greatest_fixpoint` constructs.

For instance, the following definition elaborates correctly because all
occurrences of the inductively defined predicate `tock `within the
coinductive definition of `tick` appear in negative positions. The dual
situation applies to the definition of `tock`:
```
  mutual
    def tick : Prop :=
      tock → tick
    greatest_fixpoint

    def tock : Prop :=
      tick → tock
    least_fixpoint
  end
```
2025-06-23 11:02:08 +00:00
..
Order feat: add antitonicity lemmas for (co)inductive predicates (#8940) 2025-06-23 11:02:08 +00:00
Order.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00