Commit Graph
2 Commits
Author SHA1 Message Date
Julius FischerandClaude Opus 5.5 46a00284b0 Algorithmic: a sound, terminating bidirectional checker
Typecheck / agda (push) Successful in 2m33s
Algorithmic/Checker: infer / check returning declarative derivations;
pairs and refl are checked, everything else inferred; types are only
weak-head reduced, and compared with the lazy conversion algorithm.
Algorithmic/Strengthening decides syntactically whether a codomain level
depends on the bound variable (⊢-∀ vs ⊢-∀-dep); Algorithmic/Sorts tracks
the sort of each type and reads sorts off type formers. Not complete
(documented in README and TODO). Tests/Algorithmic checks the syntactic
parts that compute inside Agda.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
2026-11-23 01:11:55 +01:00
Julius FischerandClaude Opus 5.5 4b2f230fa2 Algorithmic: lazy conversion
conv : SN a → SN b → Dec (a ≈ b) follows weak head steps, compares the
heads of the weak head normal forms and recurses into their parts (AÖV
style); levels are compared by the level normaliser. Recursion is
structural on the SN derivations. Negative answers are justified through
normal forms (convertible terms have ~-equal normal forms with the same
head), but only in the proof. The module is generated by
gen_conversion.py (the mismatch cases are mechanical).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
2026-11-23 01:02:36 +01:00