Skip to content

Comment on Verified dynamic programming with Σ-types in Leanparent

Comments

Not if that language doesn't actually check the totality of your proof and ensures that the base case holds.

i don't know what you're saying - here is the proof that is described in the article:

1. build a table tab[n]

2. check that for every i, tab[i] == maxDollars_spec[i]

if you take the latter approach i proposed (bottom up) there is nothing to check the totality of.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.