
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Let `ABCD` be a square pyramid where `ABCD` is a square base and the apex `E` be vertically above the center of the square base at height `h`. If `M` is the midpoint of the diagonal `AC`, then find $\cos \angle EMF`, where `F` is the midpoint of another diagonal `BD`.

Present the answer in LaTex format: \boxed{Your answer}
user