79328209

Date: 2025-01-04 04:00:04
Score: 1.5
Natty:
Report link

∘ can't compose dependent functions.

In first example, the argument p in f is infered as fun _ => a, so f become independent function so ∘ works coincidentally.

If you want to compose dependent functions, write fun a => g (f a), or use g ∘' f in Mathlib.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can't
  • Low reputation (1):
Posted by: Miyahara Kō