<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bmifivi="http://www.bny.com/20260618"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef xlink:href="cik0000819940-20260618.xsd" xlink:type="simple"/>
    <context id="D20251031_20260430_C000000734Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="D20251031_20260430_C000000765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="D20251031_20260430_C000000766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="TI20260430_C000000734Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_AlphabetIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:AlphabetIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_AlphabetIncClCMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:AlphabetIncClCMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_AmazonComIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:AmazonComIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_BerkshireHathawayIncClBMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:BerkshireHathawayIncClBMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_BroadcomIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:BroadcomIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_ConsumerDiscretionarySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerDiscretionarySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_ConsumerStaplesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerStaplesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_InformationTechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:InformationTechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_MaterialsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:MaterialsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_MetaPlatformsIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:MetaPlatformsIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_MicrosoftCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:MicrosoftCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_NVIDIACorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:NVIDIACorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_RealEstateSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:RealEstateSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_TeslaIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifivi:TeslaIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000734Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000734Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_CommercialMortgageBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CommercialMortgageBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_ConsumerCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:ConsumerCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_ConsumerNonCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:ConsumerNonCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_CorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:CorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_ForeignGovernmentalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:ForeignGovernmentalMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_GovernmentSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:GovernmentSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_InvestmentCompaniesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:InvestmentCompaniesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_MortgageSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:MortgageSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_MunicipalSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:MunicipalSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_NetOtherAssetsAndLiabilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:NetOtherAssetsAndLiabilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_TechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_USGovernmentAgenciesCollateralizedMunicipalBackedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesCollateralizedMunicipalBackedMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_USGovernmentAgenciesMortgageBackedLongMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesMortgageBackedLongMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_USGovernmentAgenciesMortgageBackedShortMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesMortgageBackedShortMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_USTreasurySecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasurySecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000765Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_CommercialMortgageBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CommercialMortgageBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_ConsumerCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:ConsumerCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_ConsumerNonCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:ConsumerNonCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_CorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:CorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_ForeignGovernmentalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:ForeignGovernmentalMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_GovernmentSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:GovernmentSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_InvestmentCompaniesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:InvestmentCompaniesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_MortgageSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:MortgageSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_MunicipalSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:MunicipalSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_NetOtherAssetsAndLiabilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifivi:NetOtherAssetsAndLiabilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_TechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_USGovernmentAgenciesCollateralizedMunicipalBackedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesCollateralizedMunicipalBackedMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_USGovernmentAgenciesMortgageBackedLongMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesMortgageBackedLongMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_USGovernmentAgenciesMortgageBackedShortMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifivi:USGovernmentAgenciesMortgageBackedShortMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_USTreasurySecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasurySecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <context id="TI20260430_C000000766Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000819940</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifivi:C000000766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-04-30</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>bmifivi:Holding</measure>
    </unit>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_GovernmentSectorMember"
      decimals="4"
      id="h_01dbe666_6c14_4fbd_983d_e3434bb9d03c"
      unitRef="pure">0.495</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_ConsumerDiscretionarySectorMember"
      decimals="4"
      id="h_07449a6a_8364_46ef_9b65_1de9024da015"
      unitRef="pure">0.099</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_USGovernmentAgenciesCollateralizedMunicipalBackedMember"
      decimals="4"
      id="h_087c779c_74cf_49d9_bad6_4441b28e1828"
      unitRef="pure">0.008</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_CommunicationsSectorMember"
      decimals="4"
      id="h_0bcb2afa_88c4_481e_88b4_012b1f1ad7e8"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_MunicipalSecuritiesMember"
      decimals="4"
      id="h_0caba1ce_bcaf_450c_907e_99e22f46198e"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_InvestmentCompaniesSectorMember"
      decimals="4"
      id="h_10223681_8798_4e41_acc2_9060cd1f2e9a"
      unitRef="pure">0.056</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_TechnologySectorMember"
      decimals="4"
      id="h_1a1f46f5_a823_42a1_81e1_5d10ede4d7a5"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_ConsumerNonCyclicalMember"
      decimals="4"
      id="h_1e2f7460_87fc_4942_98f0_1ae7c6d7ce04"
      unitRef="pure">0.042</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_USGovernmentAgenciesCollateralizedMunicipalBackedMember"
      decimals="4"
      id="h_218278d3_6d6e_4b72_9411_c361a3cbf0a4"
      unitRef="pure">0.008</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_USGovernmentAgenciesMortgageBackedLongMember"
      decimals="4"
      id="h_2670e7d4_c232_4d28_9135_bb2f324cdd2d"
      unitRef="pure">0.267</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_MetaPlatformsIncClAMember"
      decimals="4"
      id="h_29fc7f8a_499c_4396_b244_3df161a057fa"
      unitRef="pure">0.021</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_USGovernmentAgenciesMortgageBackedShortMember"
      decimals="4"
      id="h_366ef828_aae4_4236_bcc6_15ea1a53aad8"
      unitRef="pure">-0.029</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_CommercialMortgageBackedSecuritiesMember"
      decimals="4"
      id="h_3a234778_43b2_4d0b_9f91_8319d6d6ea6d"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_3aebb68f_e26a_4c91_adb3_a17c97c91b94"
      unitRef="pure">0.056</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_USTreasurySecuritiesMember"
      decimals="4"
      id="h_3f187da9_b464_4aca_b36e_61034ec456b2"
      unitRef="pure">0.455</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_IndustrialSectorMember"
      decimals="4"
      id="h_436a2a44_3f13_4acb_bb77_13e58e3ad145"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_UtilitiesSectorMember"
      decimals="4"
      id="h_4703214e_bfb2_4a03_b039_4c6a7712931f"
      unitRef="pure">0.025</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_GovernmentSectorMember"
      decimals="4"
      id="h_496e23dd_33fe_433d_85d9_adbfab01a3ee"
      unitRef="pure">0.495</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_49ec48f9_c03c_47bd_8de3_881083e40545"
      unitRef="pure">-0.050</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_4c72a610_bf0d_4344_b20c_871a1fb513ea"
      unitRef="pure">0.078</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_MicrosoftCorpMember"
      decimals="4"
      id="h_4de560e3_4f2a_4754_a725_782993f45532"
      unitRef="pure">0.049</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_EnergySectorMember"
      decimals="4"
      id="h_4ea5a5bf_6cea_458e_923c_6ce272e9c7f7"
      unitRef="pure">0.017</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_CommercialMortgageBackedSecuritiesMember"
      decimals="4"
      id="h_5e1c3e91_ae3f_4a8d_8ded_92b84ae47ee1"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_5f80f3e5_599d_4e62_9828_f0f286c63ab2"
      unitRef="pure">0.009</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_MaterialsSectorMember"
      decimals="4"
      id="h_60a52f3c_c697_44fc_802f_4d51f6685157"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_USGovernmentAgenciesMortgageBackedLongMember"
      decimals="4"
      id="h_6d18dd0f_c5a6_496c_87bc_7c907466f437"
      unitRef="pure">0.267</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_CorporateBondsAndNotesMember"
      decimals="4"
      id="h_6d49bff1_b8ff_4367_afa6_c202170db79d"
      unitRef="pure">0.256</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_USGovernmentAgenciesMortgageBackedShortMember"
      decimals="4"
      id="h_7174ca37_bf11_4013_bb98_bd14720ddab1"
      unitRef="pure">-0.029</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_TeslaIncMember"
      decimals="4"
      id="h_740cd38a_cb6c_4fd9_a400_f330a81d4962"
      unitRef="pure">0.017</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_CorporateBondsAndNotesMember"
      decimals="4"
      id="h_772dd2ff_79d7_4289_aea1_fbd4621f1ef2"
      unitRef="pure">0.256</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_UtilitiesSectorMember"
      decimals="4"
      id="h_79fd5ad5_c164_4e9f_8cc3_6e6486098ed9"
      unitRef="pure">0.023</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_AssetBackedSecuritiesMember"
      decimals="4"
      id="h_83a35246_291c_4c3d_bc35_8ee4ec94b6fe"
      unitRef="pure">0.004</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_MunicipalSecuritiesMember"
      decimals="4"
      id="h_85bc651e_aff2_41e4_b8ac_11160801cbc2"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_BroadcomIncMember"
      decimals="4"
      id="h_8902af5f_e8a7_4f75_80c2_6d7fd7afb2d2"
      unitRef="pure">0.032</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_AlphabetIncClCMember"
      decimals="4"
      id="h_891d6df1_2365_4a65_89e1_623eb218928b"
      unitRef="pure">0.029</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_ConsumerCyclicalMember"
      decimals="4"
      id="h_8bfc25ed_3359_448a_90d2_63651e689e7b"
      unitRef="pure">0.015</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_9115c40c_ce08_4a7f_bc66_c78c99a4e28c"
      unitRef="pure">0.119</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_931dac59_71ca_4c45_9851_18aede19e304"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_NVIDIACorpMember"
      decimals="4"
      id="h_9483df85_5132_4811_92f3_eb98efd90ea2"
      unitRef="pure">0.078</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_InvestmentCompaniesSectorMember"
      decimals="4"
      id="h_9831569c_8fe7_4aca_baf4_a989da34f4f4"
      unitRef="pure">0.056</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_BerkshireHathawayIncClBMember"
      decimals="4"
      id="h_988682d2_0bf3_4db5_800c_c67c4ca746d0"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_USTreasurySecuritiesMember"
      decimals="4"
      id="h_99b788f5_7b08_4db5_bfd6_16148d8a5654"
      unitRef="pure">0.455</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_ConsumerCyclicalMember"
      decimals="4"
      id="h_a234e370_acdd_473c_8703_a9f249e61e94"
      unitRef="pure">0.015</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_HealthcareSectorMember"
      decimals="4"
      id="h_a65aad93_4374_45ab_a46c_685398740a5d"
      unitRef="pure">0.084</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_MortgageSecuritiesMember"
      decimals="4"
      id="h_a8aba9a8_f1e9_41f0_aa64_61eb8d1db967"
      unitRef="pure">0.252</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_NetOtherAssetsAndLiabilitiesSectorMember"
      decimals="4"
      id="h_ad2c601f_4655_4ea1_af30_744f5aba5616"
      unitRef="pure">-0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_IndustrialSectorMember"
      decimals="4"
      id="h_b1f88a6e_fe08_45d5_98d4_2ad1c2a4c128"
      unitRef="pure">0.088</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_TechnologySectorMember"
      decimals="4"
      id="h_b6922bd2_089b_4a76_9c8e_a216a6084e84"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_ba58262e_dd00_4411_bbc8_660d8626c8df"
      unitRef="pure">0.056</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_UtilitiesSectorMember"
      decimals="4"
      id="h_baefbdad_5339_4945_949b_493e1d80b98b"
      unitRef="pure">0.025</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_bc7cbd3c_1f34_4ff4_b26e_eb6f4a14fae1"
      unitRef="pure">0.078</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_MortgageSecuritiesMember"
      decimals="4"
      id="h_bd1e716d_ac3e_4071_9bac_080c54eb47ee"
      unitRef="pure">0.252</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_AssetBackedSecuritiesMember"
      decimals="4"
      id="h_c2b830fe_1fb5_4d89_b98e_8d65df8c5336"
      unitRef="pure">0.004</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_CommunicationsSectorMember"
      decimals="4"
      id="h_c5d13d64_3928_4507_9836_ccd3b96d67b4"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_CommunicationsSectorMember"
      decimals="4"
      id="h_cb62c02f_768f_49ee_8fda_7dc6e9f21a18"
      unitRef="pure">0.109</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_ForeignGovernmentalMember"
      decimals="4"
      id="h_cb855478_f6d0_420b_a3d3_6a0a2da4cff5"
      unitRef="pure">0.015</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_ForeignGovernmentalMember"
      decimals="4"
      id="h_cccc21d8_2eb5_4067_8e56_bf2175b26da9"
      unitRef="pure">0.015</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_AppleIncMember"
      decimals="4"
      id="h_d750fe6e_a5b7_4451_ad56_6db593d31de6"
      unitRef="pure">0.064</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_AlphabetIncClAMember"
      decimals="4"
      id="h_d9690193_9bc1_43da_bf99_d9a106df9dd7"
      unitRef="pure">0.036</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_ConsumerStaplesSectorMember"
      decimals="4"
      id="h_da10c84c_ee80_4f59_9f50_6f9f523971d3"
      unitRef="pure">0.049</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_ConsumerNonCyclicalMember"
      decimals="4"
      id="h_dacbabdc_6723_4389_ba01_697e12accb3f"
      unitRef="pure">0.042</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_InformationTechnologySectorMember"
      decimals="4"
      id="h_e77fd61c_6285_4679_9417_4065f577c037"
      unitRef="pure">0.347</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_e8358fd5_1831_4533_8b5d_89eacf4d75af"
      unitRef="pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_NetOtherAssetsAndLiabilitiesSectorMember"
      decimals="4"
      id="h_ecd7a80e_c6f7_46c7_8e56_2bd1cf2c1d30"
      unitRef="pure">-0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_RealEstateSectorMember"
      decimals="4"
      id="h_efc75539_1f3c_4d07_b810_978617132e1f"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_AmazonComIncMember"
      decimals="4"
      id="h_f0461151_267b_42be_b7f2_5c38f664fef0"
      unitRef="pure">0.042</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_IndustrialSectorMember"
      decimals="4"
      id="h_f2ce9b78_504e_42c6_b852_a69b55614f5c"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000766Member_EnergySectorMember"
      decimals="4"
      id="h_f59b2004_5ed9_4789_968e_d16d34b27752"
      unitRef="pure">0.017</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000734Member_EnergySectorMember"
      decimals="4"
      id="h_fc50b55b_9b04_4482_88ef_0a76d56b554f"
      unitRef="pure">0.035</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260430_C000000765Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_fe8338c4_4c07_4514_9c12_3cee5f0400fb"
      unitRef="pure">-0.050</oef:PctOfNav>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_504cc72f_97f4_417b_b5cf_c64724e86a75">0000819940</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_c900a02b_2e04_4674_a760_cfff2d1e0cc2">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_3_65af9fb8-527e-3f02-1dc8-f9b204721526">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_2_082ac79b_59c9_f864_5e73_73237f809d97"
      xs:nil="false">N-CSRS</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_1_dfc1369a_5935_c6eb_4480_947cc1e08c44">BNY Mellon Investment Funds IV, Inc.</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_2_e6f79b70_12c4_38ad_fb34_96d3c3441337">2026-04-30</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="D20251031_20260430_C000000766Member"
      id="t_33_766c08d8_8cb4_987f_1a6f_666b75beb12f">BNY Mellon Bond Market Index Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251031_20260430_C000000766Member"
      id="t_34_56307303_f1cc_15d1_2ba8_364328375064">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251031_20260430_C000000766Member"
      id="t_35_24d5c654_73c0_2108_a4af_4b8ee7df8659">DBIRX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_1_e5220876_b584_4aa7_ba0e_2b26ba7e0268">This semi-annual shareholder report contains important information about BNY Mellon Bond Market Index Fund (the &#x201c;Fund&#x201d;) for the period of November 1, 2025 to April 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251031_20260430_C000000766Member"
      id="t_2_0b34e2cc_9f75_4557_af5c_44da626f6d9e">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_3_b227798d_7efb_481d_97f3_abad3ed84524">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251031_20260430_C000000766Member"
      id="t_5_be21b439_4cdd_45d4_8936_6abe8972a22a">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251031_20260430_C000000766Member"
      id="t_6_0087ca11_4ed5_401d_be05_34ba02416d18">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251031_20260430_C000000766Member"
      id="t_4_709f4799_8324_4e63_a741_e941cf49cac0">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_7_c5d31ff3_52aa_495f_b3a5_df2f1174a98b">&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt; &lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt; &lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_8_d3786e6f_6011_4961_b9b2_7a7ba9b12e77">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Class &lt;span style="white-space:nowrap"&gt;I&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;7&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.15&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251031_20260430_C000000766Member"
      decimals="INF"
      id="h_1_5a0c843c_5677_45f3_81b7_d3d88edc81d8"
      unitRef="USD">7</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251031_20260430_C000000766Member"
      decimals="4"
      id="h_2_cec6ddc1_a9e5_424b_9d34_3a2edd3c272b"
      unitRef="pure">0.0015</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_9_7d47796c_d50b_4c5f_b53a_4917e0ff91b0">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;401&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;2,443&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;83.66&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260430_C000000766Member"
      decimals="INF"
      id="h_3_95acaadc_e1df_4fb3_8902_13be548e6ae7"
      unitRef="USD">401000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260430_C000000766Member"
      decimals="INF"
      id="h_4_fb4ded21_1b2d_41a0_bb9d_9ba9f7f1dae3"
      unitRef="Holding">2443</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251031_20260430_C000000766Member"
      decimals="4"
      id="h_5_fe7edd83_687b_4783_bbf7_222c34c758a8"
      unitRef="pure">0.8366</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_36_ac863199_0c81_f326_69d7_e4c3fb51a39e">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_11848789.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_11848765.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_37_781f9b0e_1667_7826_6b4a_43ee7cd992ab">&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);break-inside:avoid;"&gt;
&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:4pt;margin-top:0px;"&gt; &lt;b&gt;Changes in or Disagreements with Accountants&lt;/b&gt; &lt;/div&gt;
&lt;ul style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid;"&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended October 31, 2025 and October 31, 2024 and the subsequent interim period through January 1, 2026.&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_41_7292e51f_c884_d84e_72a8_4bdb5ef511be">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251031_20260430_C000000766Member"
      id="t_42_a0388740_2d20_cbe7_7ce3_dcbfe70c6ea4">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251031_20260430_C000000766Member"
      id="t_38_f177c053_bf1c_4f26_02ff_714352dc6262">&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:10pt;"&gt; &lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;November 1, 2025&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;February 27, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space:nowrap"&gt; &lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:8.5pt;word-break:break-all;white-space:nowrap;font-weight:bold;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt;  or upon request at 1-800-373-9387.&lt;/b&gt; &lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251031_20260430_C000000766Member"
      id="t_39_8c2701e3_56b5_0b17_1257_280666489d4d">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251031_20260430_C000000766Member"
      id="t_40_ab8025a4_2595_95ce_4588_8c7cc8f20381">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="D20251031_20260430_C000000765Member"
      id="t_34_412d01d6_b996_bcc9_f215_5e645bbca53c">BNY Mellon Bond Market Index Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251031_20260430_C000000765Member"
      id="t_35_aa8af2c1_4fbc_9cdf_884c_d6d2964e2c6c">Investor Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251031_20260430_C000000765Member"
      id="t_36_eb93ad13_b5be_fd8c_9057_25ca59daced3">DBMIX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_11_84bb8429_b816_4bce_bc15_792f73b73cda">This semi-annual shareholder report contains important information about BNY Mellon Bond Market Index Fund (the &#x201c;Fund&#x201d;) for the period of November 1, 2025 to April 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251031_20260430_C000000765Member"
      id="t_12_f1932ab8_5b90_499b_97e2_eb9cd29e3ff4">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_13_a4f680d4_8812_4921_b458_d9879167da47">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251031_20260430_C000000765Member"
      id="t_15_a9c90c58_0be7_47a4_9eb7_9649fce2801f">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251031_20260430_C000000765Member"
      id="t_16_0da98795_c3d8_4bcc_bf54_e2df9d36970b">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251031_20260430_C000000765Member"
      id="t_14_384abbfc_5a76_4263_81aa_e114f1da42b1">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_17_2ef32d08_de6c_44e6_b63d_925735fb27b0">&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt; &lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt; &lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_18_6e2513cb_1612_456a_83f2_cd68057e25b5">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Investor &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;20&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.40&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251031_20260430_C000000765Member"
      decimals="INF"
      id="h_6_f755f89a_bd50_49f9_a81b_0648298928b9"
      unitRef="USD">20</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251031_20260430_C000000765Member"
      decimals="4"
      id="h_7_171ac9f1_cb2c_48e2_95e2_59bedf2d84c1"
      unitRef="pure">0.0040</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_19_dba4690d_3ec7_4d4d_ae9a_789eba514ac2">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;401&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;2,443&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;83.66&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260430_C000000765Member"
      decimals="INF"
      id="h_8_5ed77f38_8449_4d84_bb97_a15d6c4355ec"
      unitRef="USD">401000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260430_C000000765Member"
      decimals="INF"
      id="h_9_922e81b8_905a_4a89_9c29_bda7af7d6a9e"
      unitRef="Holding">2443</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251031_20260430_C000000765Member"
      decimals="4"
      id="h_10_d38f6537_e4ff_4c00_9d98_4a2a6f6cc468"
      unitRef="pure">0.8366</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_37_5b5ededa_964d_81e3_e8bf_4f33b51919d7">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_11848840.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_11848816.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_38_3f897888_7b2a_01a6_3bfe_12758801b78f">&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);break-inside:avoid;"&gt;
&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:4pt;margin-top:0px;"&gt; &lt;b&gt;Changes in or Disagreements with Accountants&lt;/b&gt; &lt;/div&gt;
&lt;ul style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid;"&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended October 31, 2025 and October 31, 2024 and the subsequent interim period through January 1, 2026.&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_42_0c0851a2_d733_5340_33f8_eb906eb35936">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251031_20260430_C000000765Member"
      id="t_43_4feea644_428a_60b1_8ffb_fa6f1cf188ce">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251031_20260430_C000000765Member"
      id="t_39_d38699a7_88d4_ae3e_7f38_adb0541d91a4">&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:10pt;"&gt; &lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;November 1, 2025&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;February 27, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space:nowrap"&gt; &lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:8.5pt;word-break:break-all;white-space:nowrap;font-weight:bold;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt;  or upon request at 1-800-373-9387.&lt;/b&gt; &lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251031_20260430_C000000765Member"
      id="t_40_062e3bbf_ac15_696e_b239_fc8392cfd96c">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251031_20260430_C000000765Member"
      id="t_41_65987ba6_f7fc_29f1_c8bf_7d682bd0b094">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="D20251031_20260430_C000000734Member"
      id="t_38_592439e8_8e3a_4609_344d_695705ff754c">BNY Mellon Institutional S&amp;P 500 Stock Index Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251031_20260430_C000000734Member"
      id="t_39_72025e9e_e1e5_0dc0_c1ae_e341c03cb973">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251031_20260430_C000000734Member"
      id="t_40_e3babfea_32aa_5e56_8c92_fb4c404318ab">DSPIX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_21_ef22de7a_3aa4_4a04_bea2_0f5c364f8879">This semi-annual shareholder report contains important information about BNY Mellon Institutional S&amp;amp;P 500 Stock Index Fund (the &#x201c;Fund&#x201d;) for the period of November 1, 2025 to April 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251031_20260430_C000000734Member"
      id="t_22_7df0e11f_2cf3_4cce_8723_fab7b16352f9">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_23_37606b87_6d94_4efe_879a_3785b229f8d3">You can find additional information about the Fund at &lt;span style="white-space: nowrap;"&gt;&lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 7.5pt; word-break: break-all; white-space: nowrap; font-weight: 400; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251031_20260430_C000000734Member"
      id="t_25_2dcb4ab1_e1bd_4e52_a10f_f69fb2dc0ecd">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251031_20260430_C000000734Member"
      id="t_26_24da8966_aa0f_4c90_83a9_feada8061548">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251031_20260430_C000000734Member"
      id="t_24_4e0c05b6_b78e_491c_91bf_b2767d1de5be">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_27_9fdc4438_b5bf_4a46_9e4d_8b6ad0a44f69">
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 8pt;"&gt;&lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_41_1804bf9c_c3fe_410c_20cd_ec7437ee0142">
&lt;div style="margin-top: 0px; line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid;"&gt;

&lt;tr style="break-after: avoid; break-inside: avoid-page; page-break-inside: avoid; height: auto; background-color: rgb(0, 72, 94); border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; background-color: rgb(227, 235, 237); height: 19pt;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;Class &lt;span style="white-space: nowrap;"&gt;I&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;10&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.20&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;**&lt;/sup&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid; margin-bottom: 10pt;"&gt;

&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;Annualized.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251031_20260430_C000000734Member"
      decimals="INF"
      id="h_11_98474db4_723d_4f96_9a13_eb264a19dec4"
      unitRef="USD">10</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251031_20260430_C000000734Member"
      decimals="4"
      id="h_12_eefc00ac_75d8_46e2_a351_16a4508c2033"
      unitRef="pure">0.0020</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_42_da6d1343_dd39_805f_7a55_d66887c70634">
&lt;div style="line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid;"&gt;

&lt;tr style="break-after: avoid; break-inside: avoid-page; page-break-inside: avoid; height: auto; background-color: rgb(0, 72, 94); border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Portfolio Turnover&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; background-color: rgb(227, 235, 237); height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;1,367&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;505&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;1.19&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260430_C000000734Member"
      decimals="INF"
      id="h_13_46a3205b_5e95_447b_8ee5_b75fd7002c59"
      unitRef="USD">1367000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260430_C000000734Member"
      decimals="INF"
      id="h_14_fdd32cbd_35fd_4e04_9b51_d8c263f4cd62"
      unitRef="Holding">505</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251031_20260430_C000000734Member"
      decimals="4"
      id="h_15_5005d89b_cec2_4b77_b4ba_847f7eb08b5e"
      unitRef="pure">0.0119</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_51_b1725dec_c274_251b_1e3c_1607c39e39d4">&lt;div style="margin-top: 0px; line-height: inherit; text-transform: uppercase; margin-bottom: 3pt; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; letter-spacing: 0px;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;4/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; letter-spacing: 0px; text-transform: none; margin-bottom: 0px; page-break-after: avoid;"&gt;&lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align: super; font-size: smaller;"&gt;*&lt;/sup&gt; &lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: 'times new roman'; font-size: 9pt; font-weight: 400; color: rgb(0, 0, 0); width: 540pt; margin-left: 18pt; margin-bottom: 8pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_11848738.jpg" style="margin-left: 50pt; width: 482pt;"/&gt; &lt;/div&gt;&lt;div style="font-weight: 400; font-family: 'times new roman'; font-size: 9pt; line-height: 10pt; color: rgb(0, 0, 0); margin-top: -4pt; margin-bottom: 0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;&lt;div style="margin-top: 0px; line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; letter-spacing: 0px; text-transform: none; margin-bottom: 0px; page-break-after: avoid;"&gt;&lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: 'times new roman'; font-size: 9pt; font-weight: 400; color: rgb(0, 0, 0); width: 540pt; margin-bottom: 6pt; margin-left: 18pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_11848714.jpg" style="margin-left: 29pt; width: 437pt;"/&gt; &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:LargestHoldingsTableTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_52_5e042e8c_fdde_d3c9_5b72_185ccf5897d0">&lt;div style="margin-top: 0px; line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; letter-spacing: 0px; text-transform: none; margin-bottom: 0px; page-break-after: avoid;"&gt;&lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align: super; font-size: smaller;"&gt;*&lt;/sup&gt; &lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: 'times new roman'; font-size: 9pt; font-weight: 400; color: rgb(0, 0, 0); width: 540pt; margin-left: 18pt; margin-bottom: 8pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_11848738.jpg" style="margin-left: 50pt; width: 482pt;"/&gt; &lt;/div&gt;&lt;div style="font-weight: 400; font-family: 'times new roman'; font-size: 9pt; line-height: 10pt; color: rgb(0, 0, 0); margin-top: -4pt; margin-bottom: 0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;</oef:LargestHoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_49_a906f774_77b2_fca6_65d5_4e9accd88514">&lt;div style="font-family: 'times new roman'; font-size: 9pt; font-weight: 400; color: rgb(0, 0, 0); break-inside: avoid;"&gt;
&lt;div style="line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 11pt; font-weight: bold; margin-bottom: 4pt; margin-top: 0px;"&gt;&lt;b&gt;How has the Fund changed?&lt;/b&gt;&lt;/div&gt;
&lt;ul style="counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid; padding: 0; margin: 0;"&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 5pt;"&gt;Effective November 14, 2025, the Fund may operate as a non-diversified fund, as defined under the Investment Company Act of 1940, as amended, to the approximate extent the S&amp;amp;P 500&lt;sup style="vertical-align: top; font-size: initial;"&gt;&#xae;&lt;/sup&gt; Index is non-diversified, without shareholder approval. The Fund may therefore operate as non-diversified solely as a result of a change in relative market capitalization or index weighting of one or more constituents of the index.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 6pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;November 1, 2025&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;February 27, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space: nowrap;"&gt; &lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 8.5pt; word-break: break-all; white-space: nowrap; font-weight: bold; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt; or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:MaterialFundChngRisksChngTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_44_9c728f52_d36f_9a50_6c34_8c8b504b4d5e">Effective November 14, 2025, the Fund may operate as a non-diversified fund, as defined under the Investment Company Act of 1940, as amended, to the approximate extent the S&amp;amp;P 500&lt;sup style="vertical-align: top; font-size: initial;"&gt;&#xae;&lt;/sup&gt; Index is non-diversified, without shareholder approval. The Fund may therefore operate as non-diversified solely as a result of a change in relative market capitalization or index weighting of one or more constituents of the index.</oef:MaterialFundChngRisksChngTextBlock>
    <oef:MaterialChngDate
      contextRef="D20251031_20260430_C000000734Member"
      id="t_45_85bb6869_70a3_ecf0_7315_7ab95e210234">2025-11-14</oef:MaterialChngDate>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_50_ee79e8ed_e077_a4c1_391e_7044d75105c9">&lt;div style="font-family: 'times new roman'; font-size: 9pt; font-weight: 400; color: rgb(0, 0, 0); break-inside: avoid;"&gt;
&lt;div style="line-height: inherit; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 11pt; font-weight: bold; margin-bottom: 4pt; margin-top: 0px;"&gt;&lt;b&gt;Changes in or Disagreements with Accountants&lt;/b&gt;&lt;/div&gt;
&lt;ul style="counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid; padding: 0; margin: 0;"&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 5pt;"&gt;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended October 31, 2025 and October 31, 2024 and the subsequent interim period through January 1, 2026.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_47_6056d33b_b306_0483_db0a_31a98fe4c413">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund&#x2019;s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251031_20260430_C000000734Member"
      id="t_48_c72226fc_2fc6_057a_ae61_4093c684d345">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251031_20260430_C000000734Member"
      id="t_46_bc442c2d_8214_528e_daf9_e6f13da5979f">
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 6pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;November 1, 2025&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;February 27, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space: nowrap;"&gt; &lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 8.5pt; word-break: break-all; white-space: nowrap; font-weight: bold; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt; or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;
</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251031_20260430_C000000734Member"
      id="t_36_658e7587_d7b1_4f4d_be04_f69949267c38">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251031_20260430_C000000734Member"
      id="t_35_123cb732_a306_49c2_9bb3_f945b10eae4f">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_1_5a0c843c_5677_45f3_81b7_d3d88edc81d8"
          xlink:label="h_1_5a0c843c_5677_45f3_81b7_d3d88edc81d8"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1_5a0c843c_5677_45f3_81b7_d3d88edc81d8"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_11_98474db4_723d_4f96_9a13_eb264a19dec4"
          xlink:label="h_11_98474db4_723d_4f96_9a13_eb264a19dec4"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000005" xlink:label="f_0005_000005" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_11_98474db4_723d_4f96_9a13_eb264a19dec4"
          xlink:to="f_0005_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_12_eefc00ac_75d8_46e2_a351_16a4508c2033"
          xlink:label="h_12_eefc00ac_75d8_46e2_a351_16a4508c2033"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_eefc00ac_75d8_46e2_a351_16a4508c2033"
          xlink:to="f_0005_000005"
          xlink:type="arc"/>
        <link:footnote id="f_0005_000006" xlink:label="f_0005_000006" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_eefc00ac_75d8_46e2_a351_16a4508c2033"
          xlink:to="f_0005_000006"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2_cec6ddc1_a9e5_424b_9d34_3a2edd3c272b"
          xlink:label="h_2_cec6ddc1_a9e5_424b_9d34_3a2edd3c272b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_cec6ddc1_a9e5_424b_9d34_3a2edd3c272b"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:footnote id="f_0001_000002" xlink:label="f_0001_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Annualized.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_cec6ddc1_a9e5_424b_9d34_3a2edd3c272b"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_29fc7f8a_499c_4396_b244_3df161a057fa"
          xlink:label="h_29fc7f8a_499c_4396_b244_3df161a057fa"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000007" xlink:label="f_0005_000007" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_29fc7f8a_499c_4396_b244_3df161a057fa"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_4de560e3_4f2a_4754_a725_782993f45532"
          xlink:label="h_4de560e3_4f2a_4754_a725_782993f45532"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_4de560e3_4f2a_4754_a725_782993f45532"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6_f755f89a_bd50_49f9_a81b_0648298928b9"
          xlink:label="h_6_f755f89a_bd50_49f9_a81b_0648298928b9"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000003" xlink:label="f_0003_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_f755f89a_bd50_49f9_a81b_0648298928b9"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7_171ac9f1_cb2c_48e2_95e2_59bedf2d84c1"
          xlink:label="h_7_171ac9f1_cb2c_48e2_95e2_59bedf2d84c1"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_171ac9f1_cb2c_48e2_95e2_59bedf2d84c1"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:footnote id="f_0003_000004" xlink:label="f_0003_000004" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_171ac9f1_cb2c_48e2_95e2_59bedf2d84c1"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_740cd38a_cb6c_4fd9_a400_f330a81d4962"
          xlink:label="h_740cd38a_cb6c_4fd9_a400_f330a81d4962"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_740cd38a_cb6c_4fd9_a400_f330a81d4962"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_8902af5f_e8a7_4f75_80c2_6d7fd7afb2d2"
          xlink:label="h_8902af5f_e8a7_4f75_80c2_6d7fd7afb2d2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_8902af5f_e8a7_4f75_80c2_6d7fd7afb2d2"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_891d6df1_2365_4a65_89e1_623eb218928b"
          xlink:label="h_891d6df1_2365_4a65_89e1_623eb218928b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_891d6df1_2365_4a65_89e1_623eb218928b"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_9483df85_5132_4811_92f3_eb98efd90ea2"
          xlink:label="h_9483df85_5132_4811_92f3_eb98efd90ea2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_9483df85_5132_4811_92f3_eb98efd90ea2"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_988682d2_0bf3_4db5_800c_c67c4ca746d0"
          xlink:label="h_988682d2_0bf3_4db5_800c_c67c4ca746d0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_988682d2_0bf3_4db5_800c_c67c4ca746d0"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_d750fe6e_a5b7_4451_ad56_6db593d31de6"
          xlink:label="h_d750fe6e_a5b7_4451_ad56_6db593d31de6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_d750fe6e_a5b7_4451_ad56_6db593d31de6"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_d9690193_9bc1_43da_bf99_d9a106df9dd7"
          xlink:label="h_d9690193_9bc1_43da_bf99_d9a106df9dd7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_d9690193_9bc1_43da_bf99_d9a106df9dd7"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_f0461151_267b_42be_b7f2_5c38f664fef0"
          xlink:label="h_f0461151_267b_42be_b7f2_5c38f664fef0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_f0461151_267b_42be_b7f2_5c38f664fef0"
          xlink:to="f_0005_000007"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
