yes the calculation looks like.
we changed (in the new speed universe) the multi production that they is shown in the economy, so this calc is a bit differently:
prod = (minesprod + mine tech + base prod)*proddmultiplicator
end prod = prod+(prod*alliance_mentoring)+(prod*building_upgrade)