TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is there a system formalizing US tax code as set of inequalities

8 点作者 chaoxu超过 4 年前
The rules for taxes although complicated, still seems can be expressed with lots of equalities and inequalities. For example, there are multiple rules on 401k contributions, and it seems to be just set of inequalities:<p>Let x be a 401k plan (the wording I&#x27;m using might not be correct)<p><pre><code> 1. employee contribution = after tax contribution + salary deferred 2. sum salary deferred over for all 401k plans &lt;= 19500 3. salary deferral for plan x &lt;= earned income from the company associated with x 4. employer contribution &lt;= 0.25 \* earned income from the company 5. employer contribution + employee contribution &lt;= 56000 6. there are lot more but looks like all can be expressed as some form of inequalities. </code></pre> The problem with all the tax software I know is that it is for tax reporting, not planning. It is a blackbox function. But if it can be expressed as a set of inequalities, it can help with tax planning as one can do optimization over it.<p>I did some search and it looks like people do use linear programming for international tax planning. https:&#x2F;&#x2F;www.ttn-taxation.net&#x2F;pdfs&#x2F;Speeches_NewYork_2012&#x2F;N08-MiklosVasarhelyi.pdf<p>As another example, this tax planning related article about the long term capital gain bump would be very easy to incorporate into an optimization system(in fact, completely automatic) if we do have the system of inequalities in place. https:&#x2F;&#x2F;www.kitces.com&#x2F;blog&#x2F;long-term-capital-gains-bump-zone-higher-marginal-tax-rate-phase-in-0-rate&#x2F;

2 条评论

chaoxu超过 4 年前
btw, took me a lot of time to figure this out. <a href="http:&#x2F;&#x2F;mathb.in&#x2F;49229" rel="nofollow">http:&#x2F;&#x2F;mathb.in&#x2F;49229</a><p>This is useful for people with multiple unrelated employers with 401k plans.
yummypaint超过 4 年前
It should be possible to convert the tax code to some kind of decision tree. I suspect this is essentially what tax prep software does internally.