2024-11-20 19:29:09 -08:00
|
|
|
======
|
|
|
|
|
Arrows
|
|
|
|
|
======
|
|
|
|
|
|
2024-12-10 21:40:39 -08:00
|
|
|
def foo (A B : ★) (f : A → A → B) (x : A) := f x x;
|
2024-11-20 19:29:09 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2024-12-10 21:40:39 -08:00
|
|
|
(program
|
|
|
|
|
(definition
|
|
|
|
|
(identifier)
|
|
|
|
|
(param_block
|
|
|
|
|
(identifier)
|
|
|
|
|
(identifier)
|
2024-11-21 13:14:46 -08:00
|
|
|
(expr
|
2024-12-10 21:40:39 -08:00
|
|
|
(app_term
|
|
|
|
|
(binex
|
2024-11-21 13:14:46 -08:00
|
|
|
(app
|
|
|
|
|
(term
|
2024-12-10 21:40:39 -08:00
|
|
|
(sort
|
|
|
|
|
(star))))))))
|
|
|
|
|
(param_block
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(arrow
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
2024-11-20 21:46:51 -08:00
|
|
|
(app
|
|
|
|
|
(term
|
2024-12-10 21:40:39 -08:00
|
|
|
(identifier)))))
|
|
|
|
|
(expr
|
|
|
|
|
(arrow
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))))))
|
|
|
|
|
(param_block
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier))
|
|
|
|
|
(term
|
|
|
|
|
(identifier))
|
|
|
|
|
(term
|
|
|
|
|
(identifier))))))))
|