Skip to content

Instantly share code, notes, and snippets.

@lovely-error
Created February 17, 2025 11:39
Show Gist options
  • Save lovely-error/c1b3cfecf6ccd49bdb1bd03ff2052d33 to your computer and use it in GitHub Desktop.
Save lovely-error/c1b3cfecf6ccd49bdb1bd03ff2052d33 to your computer and use it in GitHub Desktop.
dependent elimination failed
import Mathlib
set_option pp.proofs true in
example
{V:Real}{n1:Int}{r1 : (2:Real) = V}
{eq1:@HEq { i:Int // n1 = i } ⟨n1, rfl⟩ { i:Int // V = ↑i } ⟨(2:Int), Eq.symm r1⟩ }
: n1 = 2 ∧ (HEq (rfl (a:=n1)) (Eq.symm r1))
:= by
-- cases eq1
admit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment