[verb (plain)] + というのは事実だ [i-adj (plain)] + というのは事実だ [na-adj] + だというのは事実だ [noun] + だというのは事実だ
The structure ~というのは事実だ is used to assert that something is a fact or an undeniable truth. It literally means "the thing that ~ is a fact," and is used to acknowledge or emphasize the factual nature of a statement.
The clause before というのは takes the plain form of verbs, adjectives, or noun phrases. The という nominalizes the preceding clause (turning it into "the claim/idea that ~"), and じじつ事実だ states that it is a fact.
This pattern is used to concede a point – acknowledging that something is true even when the speaker may feel conflicted or wishes it were otherwise. In this usage, it frequently appears with けど, が, or しかし to introduce a contrasting follow-up.
The ending can be adjusted for politeness or tense:
A similar expression is ~ということは事実だ, which carries the same meaning. You may also encounter ~のは事実だ as a slightly shorter alternative, though というのは adds a sense of framing or quoting the claim before affirming it as fact.