-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
End to end subcircuit soundness #40
Conversation
#eval! | ||
#eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could remove !
because there's no sorry
left!
| case2 ops _ ih | case3 ops _ ih | case4 ops _ ih | case5 ops _ ih => | ||
dsimp only [to_flat_operations] at h | ||
generalize to_flat_operations ops = flatops at h ih | ||
cases ops | ||
<;> cases flatops | ||
<;> try dsimp only [constraints_hold, constraints_hold_from_list] at h; tauto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fanciest proof I did so far, the final tactic is applied to 4 * 2 * 2 = 16 cases at once 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Very nice PR
cases v | ||
cases w | ||
simp [Subtype.mk_eq_mk] at h | ||
simp [h] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know about ext
, very nice!
closes #37
Vector
sorry
proofs in the core lib!