An exceptionally dense sentence. Key structures: ~ていたとき ('when I was studying'), ~というのは ('as for what's called X'), に対する ('toward, regarding'), ~べきもの ('something that should'), ~ということを学んだ ('learned that'). 科学哲学 ('philosophy of science'). 既存 (きそん, 'existing'). Multiple layers of embedding make this N1-level material.