lean4-htt/tests/lean/unification_hints1.lean.expected.out
Sebastian Ullrich fd2c42a8bf chore(library, tests): switch to new attribute declaration syntax
sed -Ei 's/^(\s*)((private |protected )?(noncomputable )?(abbreviation|definition|meta_definition|theorem|lemma|proposition|corollary)\s+\S+\s*)((\s*\[(\S+(\s+[0-9]+)*|priority.*)\])+)\s*/\1attribute \6\n\1\2/' library/**/*.lean tests/**/*.lean
sed -Ei 's/\s+$//' library/**/*.lean  # remove trailing whitespace
2016-08-12 15:36:12 -07:00

32 lines
1.1 KiB
Text

unification_hints1.lean:10:11:failed to generate bytecode for 'toy.g'
code generation failed, VM does not have code for 'toy.f'
g x y =?= f z
fail
unification_hints1.lean:15:11:failed to generate bytecode for 'toy.toy_hint'
code generation failed, VM does not have code for 'toy.f'
g x y =?= f z
g x y =?= f z
success
unification hints:
(toy.g, toy.f) g #1 #0 =?= f z {}
n + 1 =?= succ n
fail
n + 1 =?= succ n
n + 1 =?= succ n
success
unification hints:
(add, nat.succ) #4 + 1 =?= succ #3 {#4 =?= #3}
(toy.g, toy.f) toy.g #1 #0 =?= toy.f toy.z {}
unification_hints1.lean:47:11:failed to generate bytecode for 'canonical.A_canonical'
code generation failed, VM does not have code for 'canonical.f'
Canonical.carrier A_canonical =?= A
fail
unification_hints1.lean:52:11:failed to generate bytecode for 'canonical.Canonical_hint'
code generation failed, VM does not have code for 'canonical.f'
Canonical.carrier A_canonical =?= A
Canonical.carrier A_canonical =?= A
success
unification hints:
(add, nat.succ) #4 + 1 =?= succ #3 {#4 =?= #3}
(toy.g, toy.f) toy.g #1 #0 =?= toy.f toy.z {}
(canonical.Canonical.carrier, canonical.A) Canonical.carrier #0 =?= A {#0 =?= A_canonical}