raffopazzo / depc

Like C and C++ but with Dependent Types
1 stars 1 forks source link

Search for false type #52

Open raffopazzo opened 2 months ago

raffopazzo commented 2 months ago

Type checking the impossible statement currently manually scans the context for a false assumption. This can be improved by using proof search instead, for example contradictory assumptions should be sufficient and proof search should know how to apply the contradiction lemma from prelude.