g `vec 0 $1 = &0`;;
# e (REWRITE_TAC[vec]);;
val it : goalstack = 1 subgoal (1 total)
`(lambda i. &0)$1 = &0`
# e (REWRITE_TAC[lambda]);;
val it : goalstack = 1 subgoal (1 total)
`(@f. !i. 1 <= i /\ i <= dimindex (:?224242) ==> f$i = &0)$1 = &0`
But
e (MESON_TAC[LE_REFL; DIMINDEX_GE_1]);;
does not work as hoped, and I can't figure out how to
get rid of @.
Also, I'd like to prove vec 0 $2 = &0, but that
would only work for vectors with dimindex at least 2, and
I don't even know how to write that theorem.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
hol-info mailing list
hol-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hol-info