accusative singular masculine (sammādiṭṭhimpahaṁ = sammādiṭṭhi-m-pahaṁ, a contraction with pahaṁ 'by', instrumental/ablative)
Analysis. sammā 'rightly, well' (sam + ā, placing-together-toward) + diṭṭhi 'view, opinion' (past participle of dassati 'see'). The compound sammādiṭṭhi is one of the eight components of the Noble Eightfold Path (sammā-diṭṭhi, sammā-saṅkappa, etc.); sammādiṭṭhimpahaṁ is the accusative ('by means of right view') used in contexts like 'one accomplishes the Path by right view'.
Etymology. sam + ā + dassati (√drs 'see'); diṭṭhi is the feminine verbal noun. English cognates: dis-, Latin dis- (different directions); English 'see'; Greek 'view' (theōria, from theaomai 'to see'). Sammā places things together (sam-) and draws them toward (ā-) a single direction—hence 'rightly' and 'well'.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version