<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:5c96d1cb-bdb6-4916-9efc-1d607d2f8534,g:0a6c6015-97fa-43ae-b75e-11428d84d844-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://rileypermian.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="rep-20250331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_8ddd8ee6-91b1-45b6-be90-b1b4dc90b87a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_StatementTable_8ddd8ee6-91b1-45b6-be90-b1b4dc90b87a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ddd8ee6-91b1-45b6-be90-b1b4dc90b87a" xlink:to="loc_srt_ProductOrServiceAxis_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5" xlink:to="loc_srt_ProductsAndServicesDomain_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_23aaaff9-e8f1-41a2-84bb-e18d6a5b59c2" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_4ffb495b-4fae-40ef-bb54-9fb22f5e8db5" xlink:to="loc_srt_ProductsAndServicesDomain_23aaaff9-e8f1-41a2-84bb-e18d6a5b59c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasMember_ad152968-d9f1-4739-929d-70fedfb7f581" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_23aaaff9-e8f1-41a2-84bb-e18d6a5b59c2" xlink:to="loc_us-gaap_OilAndGasMember_ad152968-d9f1-4739-929d-70fedfb7f581" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_3793baaa-f0b9-4fc2-a733-7de07d89b924" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_23aaaff9-e8f1-41a2-84bb-e18d6a5b59c2" xlink:to="loc_us-gaap_ServiceMember_3793baaa-f0b9-4fc2-a733-7de07d89b924" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ddd8ee6-91b1-45b6-be90-b1b4dc90b87a" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2" xlink:to="loc_us-gaap_RelatedPartyDomain_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0474dfb9-0b61-40a3-a5a8-2e8800e8c740" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6ea00f54-fdd9-407d-bb9b-51dfddd74cc2" xlink:to="loc_us-gaap_RelatedPartyDomain_0474dfb9-0b61-40a3-a5a8-2e8800e8c740" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_5b15e324-df96-4a13-b0b8-e5c6bdb66ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0474dfb9-0b61-40a3-a5a8-2e8800e8c740" xlink:to="loc_us-gaap_RelatedPartyMember_5b15e324-df96-4a13-b0b8-e5c6bdb66ebc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_1f7f206e-616b-4544-92d4-1900563e3da1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_RevenuesAbstract_1f7f206e-616b-4544-92d4-1900563e3da1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a1acae21-5d25-4b74-a11e-b31dc95681b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_1f7f206e-616b-4544-92d4-1900563e3da1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a1acae21-5d25-4b74-a11e-b31dc95681b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_be277fbb-3721-4d57-a218-b5dd2bac8167" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_OperatingLeaseExpense_be277fbb-3721-4d57-a218-b5dd2bac8167" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductionTaxExpense_ce556f21-ca41-4183-b7e9-2b4ecfebcb88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductionTaxExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_ProductionTaxExpense_ce556f21-ca41-4183-b7e9-2b4ecfebcb88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExplorationExpense_3de88040-016f-40c0-b918-56f7f2707652" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExplorationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_ExplorationExpense_3de88040-016f-40c0-b918-56f7f2707652" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_c81eb9c9-de52-450d-9f0e-91f01e97738b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_c81eb9c9-de52-450d-9f0e-91f01e97738b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpenseAbstract_075b6ab3-3200-489e-8277-a8955f15da6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingGeneralAndAdministrativeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpenseAbstract_075b6ab3-3200-489e-8277-a8955f15da6e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_28077487-d7a0-4324-98b7-d794767fa690" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpenseAbstract_075b6ab3-3200-489e-8277-a8955f15da6e" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_28077487-d7a0-4324-98b7-d794767fa690" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_137e5921-7ac4-48c6-b5d0-b392ee0be79f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpenseAbstract_075b6ab3-3200-489e-8277-a8955f15da6e" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_137e5921-7ac4-48c6-b5d0-b392ee0be79f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_92503286-ebd7-4575-ba27-d91a9c4eab3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_92503286-ebd7-4575-ba27-d91a9c4eab3d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_99a2afa5-accd-407a-b466-dec45789b6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_575ae668-0f01-4f5d-ba6a-b9f76731046f" xlink:to="loc_us-gaap_CostsAndExpenses_99a2afa5-accd-407a-b466-dec45789b6c3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_25f92898-8598-438c-abd1-14eec93cbd7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_OperatingIncomeLoss_25f92898-8598-438c-abd1-14eec93cbd7e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_16bb1059-8d94-45a6-9ac8-8b450456b3e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:to="loc_us-gaap_InterestExpenseNonoperating_16bb1059-8d94-45a6-9ac8-8b450456b3e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_be61563c-5721-4a01-ac2b-1d3ea2e18b68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_be61563c-5721-4a01-ac2b-1d3ea2e18b68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_388f8311-4a94-4a96-92eb-3b35f3f4ed06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_388f8311-4a94-4a96-92eb-3b35f3f4ed06" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_8cc8ee4b-dd94-4ad0-9682-b928f98ae021" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_644f7943-8f98-4f87-96ce-55c4274d0f68" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_8cc8ee4b-dd94-4ad0-9682-b928f98ae021" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fc41b697-c3ba-4188-9792-70454b644fb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fc41b697-c3ba-4188-9792-70454b644fb8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5b72284d-ddb6-40b8-873d-fd44c3e3e5dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_5b72284d-ddb6-40b8-873d-fd44c3e3e5dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8b59f53f-123e-45ff-b2a0-c76e2fceca11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_NetIncomeLoss_8b59f53f-123e-45ff-b2a0-c76e2fceca11" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_9002d536-5e1e-4b68-a6ca-dc3a09581e3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_EarningsPerShareAbstract_9002d536-5e1e-4b68-a6ca-dc3a09581e3a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_3ec9e8aa-2ad5-4845-8e06-8b462f5c22ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_9002d536-5e1e-4b68-a6ca-dc3a09581e3a" xlink:to="loc_us-gaap_EarningsPerShareBasic_3ec9e8aa-2ad5-4845-8e06-8b462f5c22ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_68adcbb5-a15c-48ad-a6a9-8fbe2c6503b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_9002d536-5e1e-4b68-a6ca-dc3a09581e3a" xlink:to="loc_us-gaap_EarningsPerShareDiluted_68adcbb5-a15c-48ad-a6a9-8fbe2c6503b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_952479de-f812-4ffc-96c0-18a59a198495" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f41eaca9-b197-4968-bc28-1cd009185bce" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_952479de-f812-4ffc-96c0-18a59a198495" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1b1d739b-892a-4813-a15d-404f47b510b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_952479de-f812-4ffc-96c0-18a59a198495" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1b1d739b-892a-4813-a15d-404f47b510b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d5e1cee6-4aa7-4a73-b986-2abcbf580ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_952479de-f812-4ffc-96c0-18a59a198495" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d5e1cee6-4aa7-4a73-b986-2abcbf580ed2" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY" xlink:type="simple" xlink:href="rep-20250331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_b3e7c70b-ed22-4d8e-b0bc-43a0c2994f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_208357ea-764d-44f1-82ba-fcb415f8fe95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_b3e7c70b-ed22-4d8e-b0bc-43a0c2994f4b" xlink:to="loc_us-gaap_StatementTable_208357ea-764d-44f1-82ba-fcb415f8fe95" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_085be018-4896-4339-8730-e293a349ca30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_208357ea-764d-44f1-82ba-fcb415f8fe95" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_085be018-4896-4339-8730-e293a349ca30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_085be018-4896-4339-8730-e293a349ca30_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_085be018-4896-4339-8730-e293a349ca30" xlink:to="loc_us-gaap_EquityComponentDomain_085be018-4896-4339-8730-e293a349ca30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_104aa4e2-858f-4a14-b262-00bb0053a118" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_085be018-4896-4339-8730-e293a349ca30" xlink:to="loc_us-gaap_EquityComponentDomain_104aa4e2-858f-4a14-b262-00bb0053a118" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_5cf21a59-4dde-4767-8ec2-a76cf793c24b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_104aa4e2-858f-4a14-b262-00bb0053a118" xlink:to="loc_us-gaap_CommonStockMember_5cf21a59-4dde-4767-8ec2-a76cf793c24b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_821ea09f-ef14-4c9f-8792-5fb93d0cbe67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_104aa4e2-858f-4a14-b262-00bb0053a118" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_821ea09f-ef14-4c9f-8792-5fb93d0cbe67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_988100f7-65d5-46e1-94dc-600d909f2e87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_104aa4e2-858f-4a14-b262-00bb0053a118" xlink:to="loc_us-gaap_RetainedEarningsMember_988100f7-65d5-46e1-94dc-600d909f2e87" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b3e7c70b-ed22-4d8e-b0bc-43a0c2994f4b" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_6ef3dfd9-bb72-4cbe-840e-c27e4ecd6542" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_6ef3dfd9-bb72-4cbe-840e-c27e4ecd6542" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_983e8b75-125b-46e3-bfbd-c751b0320004" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_StockholdersEquity_983e8b75-125b-46e3-bfbd-c751b0320004" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_APICShareBasedPaymentArrangementSharesIncreaseForCostRecognition_a6402ece-069b-49a8-85d7-57c0394400d4" xlink:href="rep-20250331.xsd#rep_APICShareBasedPaymentArrangementSharesIncreaseForCostRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_rep_APICShareBasedPaymentArrangementSharesIncreaseForCostRecognition_a6402ece-069b-49a8-85d7-57c0394400d4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_044adef0-0fab-4198-8920-fcc823259748" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_044adef0-0fab-4198-8920-fcc823259748" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_03dd5040-5e9b-4e19-814f-4c7151891218" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_03dd5040-5e9b-4e19-814f-4c7151891218" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_96c6582f-822b-4fff-becc-e3f814c13ff3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_96c6582f-822b-4fff-becc-e3f814c13ff3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_736c170e-79c2-497b-bf99-a6796dbf270c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_DividendsCommonStockCash_736c170e-79c2-497b-bf99-a6796dbf270c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_241d5894-060c-4494-8615-59bb27e5c86f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4e3df0db-15c1-44f9-afae-d7800ac10461" xlink:to="loc_us-gaap_NetIncomeLoss_241d5894-060c-4494-8615-59bb27e5c86f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_32488a54-9199-491b-802d-072d7ce64c26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8fe428ca-ce41-4561-abde-276ee160edca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/SummaryofSignificantAccountingPoliciesScheduleofOtherPropertyandEquipmentDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#SummaryofSignificantAccountingPoliciesScheduleofOtherPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/SummaryofSignificantAccountingPoliciesScheduleofOtherPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1c24c5b3-32cb-44df-bb36-a861be0a0bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_31f7d94b-9ef6-41ad-aae7-fdb719b30eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1c24c5b3-32cb-44df-bb36-a861be0a0bdd" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_31f7d94b-9ef6-41ad-aae7-fdb719b30eb1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_a9306565-83bb-4b16-9b27-ee78f30ee84a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_31f7d94b-9ef6-41ad-aae7-fdb719b30eb1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_a9306565-83bb-4b16-9b27-ee78f30ee84a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a9306565-83bb-4b16-9b27-ee78f30ee84a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_a9306565-83bb-4b16-9b27-ee78f30ee84a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a9306565-83bb-4b16-9b27-ee78f30ee84a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6e516b0-a8a8-4624-9883-78cf8c688d91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_a9306565-83bb-4b16-9b27-ee78f30ee84a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6e516b0-a8a8-4624-9883-78cf8c688d91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_MidstreamPropertyAndEquipmentMember_7589f162-9fa4-4779-bf1a-2b724d9ca419" xlink:href="rep-20250331.xsd#rep_MidstreamPropertyAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6e516b0-a8a8-4624-9883-78cf8c688d91" xlink:to="loc_rep_MidstreamPropertyAndEquipmentMember_7589f162-9fa4-4779-bf1a-2b724d9ca419" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_FurnitureFixturesAndOtherMember_8d1c699d-2874-4744-a519-ccb822196eff" xlink:href="rep-20250331.xsd#rep_FurnitureFixturesAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6e516b0-a8a8-4624-9883-78cf8c688d91" xlink:to="loc_rep_FurnitureFixturesAndOtherMember_8d1c699d-2874-4744-a519-ccb822196eff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_3bed2056-d1d1-4831-b3d5-a380f3185d22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6e516b0-a8a8-4624-9883-78cf8c688d91" xlink:to="loc_us-gaap_LandMember_3bed2056-d1d1-4831-b3d5-a380f3185d22" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_375d4810-ae4e-405f-a9e2-fa195648f9cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1c24c5b3-32cb-44df-bb36-a861be0a0bdd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_375d4810-ae4e-405f-a9e2-fa195648f9cf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_b302794f-3506-4e24-bbc7-f410883ebfd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1c24c5b3-32cb-44df-bb36-a861be0a0bdd" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_b302794f-3506-4e24-bbc7-f410883ebfd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a00026c3-0dd7-45c4-ad89-40a3e9980a4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1c24c5b3-32cb-44df-bb36-a861be0a0bdd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a00026c3-0dd7-45c4-ad89-40a3e9980a4a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/SummaryofSignificantAccountingPoliciesScheduleofRevenueDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#SummaryofSignificantAccountingPoliciesScheduleofRevenueDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/SummaryofSignificantAccountingPoliciesScheduleofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_b9e575f7-b3bb-4ad1-ac62-53c305c9f666" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_dc7c6091-30d6-46a8-9f66-8d9c72b5becf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_b9e575f7-b3bb-4ad1-ac62-53c305c9f666" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_dc7c6091-30d6-46a8-9f66-8d9c72b5becf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_7848264e-d9c0-4a1c-be46-0238140f8b14" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_dc7c6091-30d6-46a8-9f66-8d9c72b5becf" xlink:to="loc_srt_ProductOrServiceAxis_7848264e-d9c0-4a1c-be46-0238140f8b14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_7848264e-d9c0-4a1c-be46-0238140f8b14_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_7848264e-d9c0-4a1c-be46-0238140f8b14" xlink:to="loc_srt_ProductsAndServicesDomain_7848264e-d9c0-4a1c-be46-0238140f8b14_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_967297b6-e080-42ba-8ff8-9e9958ab5a13" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_7848264e-d9c0-4a1c-be46-0238140f8b14" xlink:to="loc_srt_ProductsAndServicesDomain_967297b6-e080-42ba-8ff8-9e9958ab5a13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasMember_5789ae0c-8e96-4283-a9ae-26e91281a925" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_967297b6-e080-42ba-8ff8-9e9958ab5a13" xlink:to="loc_us-gaap_OilAndGasMember_5789ae0c-8e96-4283-a9ae-26e91281a925" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OilReservesMember_65bca7d2-4ede-4aef-9821-496faf4ae0cc" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OilReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OilAndGasMember_5789ae0c-8e96-4283-a9ae-26e91281a925" xlink:to="loc_srt_OilReservesMember_65bca7d2-4ede-4aef-9821-496faf4ae0cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasReservesMember_3ddd3965-c85b-47d7-a964-9b95428a09e8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_NaturalGasReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OilAndGasMember_5789ae0c-8e96-4283-a9ae-26e91281a925" xlink:to="loc_srt_NaturalGasReservesMember_3ddd3965-c85b-47d7-a964-9b95428a09e8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasLiquidsReservesMember_4a7f5405-0be6-4e82-9e19-786e72fa9dcc" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_NaturalGasLiquidsReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OilAndGasMember_5789ae0c-8e96-4283-a9ae-26e91281a925" xlink:to="loc_srt_NaturalGasLiquidsReservesMember_4a7f5405-0be6-4e82-9e19-786e72fa9dcc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7d064e66-ac34-4a33-9e37-71d91d007915" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_b9e575f7-b3bb-4ad1-ac62-53c305c9f666" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7d064e66-ac34-4a33-9e37-71d91d007915" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/AcquisitionsofOilandNaturalGasPropertiesDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#AcquisitionsofOilandNaturalGasPropertiesDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/AcquisitionsofOilandNaturalGasPropertiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b94eead2-5fef-48d2-87e6-a70a197beb4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b94eead2-5fef-48d2-87e6-a70a197beb4c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_a3326844-2135-4826-ba3f-d6997fd14618" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b94eead2-5fef-48d2-87e6-a70a197beb4c" xlink:to="loc_us-gaap_AssetAcquisitionAxis_a3326844-2135-4826-ba3f-d6997fd14618" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_a3326844-2135-4826-ba3f-d6997fd14618_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_a3326844-2135-4826-ba3f-d6997fd14618" xlink:to="loc_us-gaap_AssetAcquisitionDomain_a3326844-2135-4826-ba3f-d6997fd14618_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_b014966a-6813-4507-ad58-f368752ba8db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_a3326844-2135-4826-ba3f-d6997fd14618" xlink:to="loc_us-gaap_AssetAcquisitionDomain_b014966a-6813-4507-ad58-f368752ba8db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NewMexicoAssetAcquisition2024Member_4e5fbc88-b93d-4020-8dd7-6000291a1125" xlink:href="rep-20250331.xsd#rep_NewMexicoAssetAcquisition2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_b014966a-6813-4507-ad58-f368752ba8db" xlink:to="loc_rep_NewMexicoAssetAcquisition2024Member_4e5fbc88-b93d-4020-8dd7-6000291a1125" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NewMexicoMineralRightsAcquisitionMember_d58b514e-b2d7-4975-a54c-f50185dcda3f" xlink:href="rep-20250331.xsd#rep_NewMexicoMineralRightsAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_b014966a-6813-4507-ad58-f368752ba8db" xlink:to="loc_rep_NewMexicoMineralRightsAcquisitionMember_d58b514e-b2d7-4975-a54c-f50185dcda3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NumberOfNetAcresOfLeaseholdTargetingAcquired_9b7ce81c-ef72-4c69-9669-ae2b15b0fa83" xlink:href="rep-20250331.xsd#rep_NumberOfNetAcresOfLeaseholdTargetingAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_rep_NumberOfNetAcresOfLeaseholdTargetingAcquired_9b7ce81c-ef72-4c69-9669-ae2b15b0fa83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_PaymentsForAssetAcquisitions_c1d6e061-6827-4132-b6f5-d2f72411805f" xlink:href="rep-20250331.xsd#rep_PaymentsForAssetAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_rep_PaymentsForAssetAcquisitions_c1d6e061-6827-4132-b6f5-d2f72411805f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_cb7893fa-2511-480c-8b03-d1c4b07ce62a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_cb7893fa-2511-480c-8b03-d1c4b07ce62a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_AssetAcquisitionNumberOfAcres_3c7c35c6-f306-44d3-a850-d4745f265ba9" xlink:href="rep-20250331.xsd#rep_AssetAcquisitionNumberOfAcres"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_rep_AssetAcquisitionNumberOfAcres_3c7c35c6-f306-44d3-a850-d4745f265ba9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionContingentConsiderationLiability_cbc15eb0-4482-487a-b978-23c2d79543a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1fa2f752-b684-4128-b5bb-d2674f20578b" xlink:to="loc_us-gaap_AssetAcquisitionContingentConsiderationLiability_cbc15eb0-4482-487a-b978-23c2d79543a6" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/DerivativeInstrumentsScheduleofNotionalAmountsCrudeOilandNaturalGasDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#DerivativeInstrumentsScheduleofNotionalAmountsCrudeOilandNaturalGasDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/DerivativeInstrumentsScheduleofNotionalAmountsCrudeOilandNaturalGasDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_d2d9cbcd-bc9b-4d4f-ac08-f9cb79c98e6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_011bad92-3dce-4887-ac02-d60b8de0877b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_d2d9cbcd-bc9b-4d4f-ac08-f9cb79c98e6a" xlink:to="loc_us-gaap_DerivativeTable_011bad92-3dce-4887-ac02-d60b8de0877b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_951490be-3ad4-4520-a65a-436f2f13d441" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_011bad92-3dce-4887-ac02-d60b8de0877b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_951490be-3ad4-4520-a65a-436f2f13d441" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_951490be-3ad4-4520-a65a-436f2f13d441_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_951490be-3ad4-4520-a65a-436f2f13d441" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_951490be-3ad4-4520-a65a-436f2f13d441_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_951490be-3ad4-4520-a65a-436f2f13d441" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilSwapQ22025Member_02d8a934-6c81-43eb-abe9-980220a386d4" xlink:href="rep-20250331.xsd#rep_CrudeOilSwapQ22025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilSwapQ22025Member_02d8a934-6c81-43eb-abe9-980220a386d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilSwapQ32025Member_6abc80e6-9aba-4be2-a174-2a29df9f0187" xlink:href="rep-20250331.xsd#rep_CrudeOilSwapQ32025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilSwapQ32025Member_6abc80e6-9aba-4be2-a174-2a29df9f0187" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilSwapQ42025Member_7bd66a47-f974-4ca7-b783-bafcd0967c48" xlink:href="rep-20250331.xsd#rep_CrudeOilSwapQ42025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilSwapQ42025Member_7bd66a47-f974-4ca7-b783-bafcd0967c48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasSwapsQ22025Member_5fe1e608-1ffb-4023-a791-0837909003f2" xlink:href="rep-20250331.xsd#rep_NaturalGasSwapsQ22025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasSwapsQ22025Member_5fe1e608-1ffb-4023-a791-0837909003f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasSwapsQ32025Member_b8b32eb9-c8a6-4bf7-b463-d0b0a05cb5fc" xlink:href="rep-20250331.xsd#rep_NaturalGasSwapsQ32025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasSwapsQ32025Member_b8b32eb9-c8a6-4bf7-b463-d0b0a05cb5fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasSwapsQ42025Member_f9a70e55-1bac-4f69-a9dd-58da086f9975" xlink:href="rep-20250331.xsd#rep_NaturalGasSwapsQ42025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasSwapsQ42025Member_f9a70e55-1bac-4f69-a9dd-58da086f9975" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasSwaps2026Member_74ea2f6b-f942-4d90-8d71-8df4a2676bf6" xlink:href="rep-20250331.xsd#rep_NaturalGasSwaps2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasSwaps2026Member_74ea2f6b-f942-4d90-8d71-8df4a2676bf6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasSwaps2027Member_da0e88b8-c6ab-4ca5-b096-07c27764eee3" xlink:href="rep-20250331.xsd#rep_NaturalGasSwaps2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasSwaps2027Member_da0e88b8-c6ab-4ca5-b096-07c27764eee3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilCollarsQ22025Member_d14615e5-6420-482d-9f26-b7a5ceaf71d7" xlink:href="rep-20250331.xsd#rep_CrudeOilCollarsQ22025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilCollarsQ22025Member_d14615e5-6420-482d-9f26-b7a5ceaf71d7" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilCollarsQ32025Member_99edce71-3f04-42f4-a17e-3daf048511cf" xlink:href="rep-20250331.xsd#rep_CrudeOilCollarsQ32025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilCollarsQ32025Member_99edce71-3f04-42f4-a17e-3daf048511cf" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilCollarsQ42025Member_51f57f48-fa3b-4b50-b948-17a33f3b44ad" xlink:href="rep-20250331.xsd#rep_CrudeOilCollarsQ42025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilCollarsQ42025Member_51f57f48-fa3b-4b50-b948-17a33f3b44ad" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CrudeOilCollars2026Member_03ad940d-587d-4378-9f13-ca65f6678e58" xlink:href="rep-20250331.xsd#rep_CrudeOilCollars2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_CrudeOilCollars2026Member_03ad940d-587d-4378-9f13-ca65f6678e58" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasCollarsQ22025Member_a6c598c1-96eb-4fb3-b58e-eb1dbe57bda7" xlink:href="rep-20250331.xsd#rep_NaturalGasCollarsQ22025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasCollarsQ22025Member_a6c598c1-96eb-4fb3-b58e-eb1dbe57bda7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasCollarsQ32025Member_345f2192-cc13-46bc-9666-ef2b4b8428cf" xlink:href="rep-20250331.xsd#rep_NaturalGasCollarsQ32025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasCollarsQ32025Member_345f2192-cc13-46bc-9666-ef2b4b8428cf" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasCollarsQ42025Member_6ab5ac24-c471-4c65-a0a6-28a335f2e54b" xlink:href="rep-20250331.xsd#rep_NaturalGasCollarsQ42025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasCollarsQ42025Member_6ab5ac24-c471-4c65-a0a6-28a335f2e54b" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NaturalGasCollars2026Member_6c258ab9-1d3c-42bf-a0cf-6bc97fd62ea1" xlink:href="rep-20250331.xsd#rep_NaturalGasCollars2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_032e6cb5-d7ed-49bf-8f60-c12bffd6e530" xlink:to="loc_rep_NaturalGasCollars2026Member_6c258ab9-1d3c-42bf-a0cf-6bc97fd62ea1" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionAxis_6ec9291c-5ae9-4408-86c2-50379a4b45da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_011bad92-3dce-4887-ac02-d60b8de0877b" xlink:to="loc_us-gaap_PositionAxis_6ec9291c-5ae9-4408-86c2-50379a4b45da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_6ec9291c-5ae9-4408-86c2-50379a4b45da_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PositionAxis_6ec9291c-5ae9-4408-86c2-50379a4b45da" xlink:to="loc_us-gaap_PositionDomain_6ec9291c-5ae9-4408-86c2-50379a4b45da_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_3422a143-2718-4769-8008-670125f55968" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PositionAxis_6ec9291c-5ae9-4408-86c2-50379a4b45da" xlink:to="loc_us-gaap_PositionDomain_3422a143-2718-4769-8008-670125f55968" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortMember_55e75ae1-89b0-471a-9324-a08b8a3cb7a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_3422a143-2718-4769-8008-670125f55968" xlink:to="loc_us-gaap_ShortMember_55e75ae1-89b0-471a-9324-a08b8a3cb7a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongMember_47981065-0331-4190-a547-e9aecc22f019" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_3422a143-2718-4769-8008-670125f55968" xlink:to="loc_us-gaap_LongMember_47981065-0331-4190-a547-e9aecc22f019" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_d1a28423-e880-43a1-913f-2a1893fa7cf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNonmonetaryNotionalAmountVolume"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_d2d9cbcd-bc9b-4d4f-ac08-f9cb79c98e6a" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_d1a28423-e880-43a1-913f-2a1893fa7cf2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeSwapTypeFixedPrice_6dd1c727-65ab-4a17-be17-6db4d5999594" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeSwapTypeFixedPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_d2d9cbcd-bc9b-4d4f-ac08-f9cb79c98e6a" xlink:to="loc_us-gaap_DerivativeSwapTypeFixedPrice_6dd1c727-65ab-4a17-be17-6db4d5999594" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/DerivativeInstrumentsNarrativeDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#DerivativeInstrumentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/DerivativeInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_04515f3c-bcaa-420b-a89c-6a32268bfb09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_6a62ee45-59da-40ca-8529-75fa9be8ef0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_04515f3c-bcaa-420b-a89c-6a32268bfb09" xlink:to="loc_us-gaap_DerivativeTable_6a62ee45-59da-40ca-8529-75fa9be8ef0a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_6a62ee45-59da-40ca-8529-75fa9be8ef0a" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_769baa3f-f767-4232-9435-28b245a904c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9e886a16-01e4-4ae2-94ca-0d87ce6feaa6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_769baa3f-f767-4232-9435-28b245a904c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_5582f3c6-b57d-4026-99df-98e5cc257c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_769baa3f-f767-4232-9435-28b245a904c9" xlink:to="loc_us-gaap_InterestRateSwapMember_5582f3c6-b57d-4026-99df-98e5cc257c2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_ba00c1a0-efb5-4947-8356-9aace60ce248" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_04515f3c-bcaa-420b-a89c-6a32268bfb09" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_ba00c1a0-efb5-4947-8356-9aace60ce248" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_f94c1cf9-37d0-45dc-9b19-5d86194f3329" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_04515f3c-bcaa-420b-a89c-6a32268bfb09" xlink:to="loc_us-gaap_DerivativeNotionalAmount_f94c1cf9-37d0-45dc-9b19-5d86194f3329" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/DerivativeInstrumentsScheduleofNotionalAmountsInterestRateContractsDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#DerivativeInstrumentsScheduleofNotionalAmountsInterestRateContractsDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/DerivativeInstrumentsScheduleofNotionalAmountsInterestRateContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_78f82b89-8d58-4f37-830b-47ccb555386d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_7ad99b61-54b9-46cb-b72c-2b4e38b4ad11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_78f82b89-8d58-4f37-830b-47ccb555386d" xlink:to="loc_us-gaap_DerivativeTable_7ad99b61-54b9-46cb-b72c-2b4e38b4ad11" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5ad901aa-713b-4c1d-a26e-df220dc781e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_7ad99b61-54b9-46cb-b72c-2b4e38b4ad11" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5ad901aa-713b-4c1d-a26e-df220dc781e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5ad901aa-713b-4c1d-a26e-df220dc781e5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5ad901aa-713b-4c1d-a26e-df220dc781e5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5ad901aa-713b-4c1d-a26e-df220dc781e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_fff5a975-507f-4db4-84a0-1bb3c07ef5f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5ad901aa-713b-4c1d-a26e-df220dc781e5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_fff5a975-507f-4db4-84a0-1bb3c07ef5f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026OneMember_0e166b92-a524-427f-8bac-b6d14eefab12" xlink:href="rep-20250331.xsd#rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026OneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_fff5a975-507f-4db4-84a0-1bb3c07ef5f8" xlink:to="loc_rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026OneMember_0e166b92-a524-427f-8bac-b6d14eefab12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026TwoMember_25ddee8c-991e-4e40-992c-c44256506339" xlink:href="rep-20250331.xsd#rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026TwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_fff5a975-507f-4db4-84a0-1bb3c07ef5f8" xlink:to="loc_rep_FloatingToFixedInterestRateSwapsApril2025ToApril2026TwoMember_25ddee8c-991e-4e40-992c-c44256506339" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_FloatingToFixedInterestRateSwapsApril2026ToApril2027Member_20ad24dd-b8bd-43a0-8089-b3f5f3bca0f1" xlink:href="rep-20250331.xsd#rep_FloatingToFixedInterestRateSwapsApril2026ToApril2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_fff5a975-507f-4db4-84a0-1bb3c07ef5f8" xlink:to="loc_rep_FloatingToFixedInterestRateSwapsApril2026ToApril2027Member_20ad24dd-b8bd-43a0-8089-b3f5f3bca0f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_513b3d92-4c9c-438a-bf9d-f5b25e55b9c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_78f82b89-8d58-4f37-830b-47ccb555386d" xlink:to="loc_us-gaap_DerivativeNotionalAmount_513b3d92-4c9c-438a-bf9d-f5b25e55b9c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFixedInterestRate_df98969f-89df-40ef-970b-48efd6d0aa4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFixedInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_78f82b89-8d58-4f37-830b-47ccb555386d" xlink:to="loc_us-gaap_DerivativeFixedInterestRate_df98969f-89df-40ef-970b-48efd6d0aa4a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/DerivativeInstrumentsStatementofFinancialPositionDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#DerivativeInstrumentsStatementofFinancialPositionDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/DerivativeInstrumentsStatementofFinancialPositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_8c4c0b44-c103-4c25-a71f-62097083910a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeTable_8c4c0b44-c103-4c25-a71f-62097083910a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_80b366bb-228f-425f-aa45-aae2c2d8eb5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_8c4c0b44-c103-4c25-a71f-62097083910a" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_80b366bb-228f-425f-aa45-aae2c2d8eb5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_80b366bb-228f-425f-aa45-aae2c2d8eb5c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_80b366bb-228f-425f-aa45-aae2c2d8eb5c" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_80b366bb-228f-425f-aa45-aae2c2d8eb5c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_80b366bb-228f-425f-aa45-aae2c2d8eb5c" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CurrentDerivativeAssetMember_d6eaedd4-8987-4388-84c2-abfef3a04689" xlink:href="rep-20250331.xsd#rep_CurrentDerivativeAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:to="loc_rep_CurrentDerivativeAssetMember_d6eaedd4-8987-4388-84c2-abfef3a04689" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NonCurrentDerivativeAssetMember_e9dc775b-01ee-4cdd-8f23-2dbcff06ddce" xlink:href="rep-20250331.xsd#rep_NonCurrentDerivativeAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:to="loc_rep_NonCurrentDerivativeAssetMember_e9dc775b-01ee-4cdd-8f23-2dbcff06ddce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_CurrentDerivativeLiabilityMember_7f6ef421-1152-455e-b26c-6e24de08ef36" xlink:href="rep-20250331.xsd#rep_CurrentDerivativeLiabilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:to="loc_rep_CurrentDerivativeLiabilityMember_7f6ef421-1152-455e-b26c-6e24de08ef36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NonCurrentDerivativeLiabilityMember_8f7a2c98-9a96-4fe0-9992-2493dc69db28" xlink:href="rep-20250331.xsd#rep_NonCurrentDerivativeLiabilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_f04ab295-6647-49b1-9132-68376be26214" xlink:to="loc_rep_NonCurrentDerivativeLiabilityMember_8f7a2c98-9a96-4fe0-9992-2493dc69db28" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_890c6929-c0af-41b1-aed4-6f707e7a4b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_890c6929-c0af-41b1-aed4-6f707e7a4b2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_34dd8d0f-c52d-41c4-966c-216c57b5a11c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_34dd8d0f-c52d-41c4-966c-216c57b5a11c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_6aeb5bd1-a88b-4aa0-8c24-da6b0bc24a75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeAssets_6aeb5bd1-a88b-4aa0-8c24-da6b0bc24a75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_f829c843-d137-410d-9fea-00327823cf65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_f829c843-d137-410d-9fea-00327823cf65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_baa88997-fd83-4424-9ebc-05452c9800dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_baa88997-fd83-4424-9ebc-05452c9800dc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_60426a21-f610-4da2-8090-5dfcc58aafda" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeLiabilities_60426a21-f610-4da2-8090-5dfcc58aafda" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DerivativeAssetFairValueAmountNotOffsetAgainstCollateralIncludingNotSubjectToMasterNettingArrangement_1919a7a2-da9d-435d-8523-e827451984e9" xlink:href="rep-20250331.xsd#rep_DerivativeAssetFairValueAmountNotOffsetAgainstCollateralIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_rep_DerivativeAssetFairValueAmountNotOffsetAgainstCollateralIncludingNotSubjectToMasterNettingArrangement_1919a7a2-da9d-435d-8523-e827451984e9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_a4cabb07-1fbb-4824-93ee-8f6fa3b28a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_f5e67b67-9b75-4e92-b120-b7d7736b485c" xlink:to="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_a4cabb07-1fbb-4824-93ee-8f6fa3b28a3e" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/FairValueMeasurementsDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#FairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/FairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f6c6ed86-46c3-4274-9eea-04c4213f4ecd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f6c6ed86-46c3-4274-9eea-04c4213f4ecd" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9db64a0c-2d83-4e02-bfa2-1a2994a353df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9db64a0c-2d83-4e02-bfa2-1a2994a353df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_9db64a0c-2d83-4e02-bfa2-1a2994a353df_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9db64a0c-2d83-4e02-bfa2-1a2994a353df" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_9db64a0c-2d83-4e02-bfa2-1a2994a353df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_fdc86383-cbfc-42d9-a2a3-a5e5d205954b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9db64a0c-2d83-4e02-bfa2-1a2994a353df" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_fdc86383-cbfc-42d9-a2a3-a5e5d205954b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_01e3997b-2217-4192-ac3e-393e63ecaeb1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_fdc86383-cbfc-42d9-a2a3-a5e5d205954b" xlink:to="loc_us-gaap_CommodityContractMember_01e3997b-2217-4192-ac3e-393e63ecaeb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_8789754c-a8a3-49c7-a37a-2eb604d4f543" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_fdc86383-cbfc-42d9-a2a3-a5e5d205954b" xlink:to="loc_us-gaap_InterestRateContractMember_8789754c-a8a3-49c7-a37a-2eb604d4f543" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_630a00ac-f7f1-409b-a4f9-03c69e7520d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e6dc43cb-8c65-42c8-8fb5-1a6a0ab701e7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_630a00ac-f7f1-409b-a4f9-03c69e7520d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_234d2b5b-ca4f-4584-8495-be7dcb8a3e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_630a00ac-f7f1-409b-a4f9-03c69e7520d2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_234d2b5b-ca4f-4584-8495-be7dcb8a3e3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_542ff4c4-556d-4811-8043-4a1acb0d9355" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_630a00ac-f7f1-409b-a4f9-03c69e7520d2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_542ff4c4-556d-4811-8043-4a1acb0d9355" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_a5a6941d-361b-4245-bd41-c2e678db72fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_630a00ac-f7f1-409b-a4f9-03c69e7520d2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_a5a6941d-361b-4245-bd41-c2e678db72fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_e9d38b4d-bb43-4467-a956-96affb186eed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_CreditFacilityAxis_e9d38b4d-bb43-4467-a956-96affb186eed" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_e9d38b4d-bb43-4467-a956-96affb186eed_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_e9d38b4d-bb43-4467-a956-96affb186eed" xlink:to="loc_us-gaap_CreditFacilityDomain_e9d38b4d-bb43-4467-a956-96affb186eed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2e8ae88a-19b5-446c-b588-fb93d252b990" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_e9d38b4d-bb43-4467-a956-96affb186eed" xlink:to="loc_us-gaap_CreditFacilityDomain_2e8ae88a-19b5-446c-b588-fb93d252b990" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_31e62a45-7f24-47ad-a9e5-2195b2831b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2e8ae88a-19b5-446c-b588-fb93d252b990" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_31e62a45-7f24-47ad-a9e5-2195b2831b6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_58e0df77-1a01-4f44-8eb9-fd468bb2812b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_58e0df77-1a01-4f44-8eb9-fd468bb2812b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_58e0df77-1a01-4f44-8eb9-fd468bb2812b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_58e0df77-1a01-4f44-8eb9-fd468bb2812b" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_58e0df77-1a01-4f44-8eb9-fd468bb2812b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8d385033-e863-401f-a9e0-7ae1a38c2a72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_58e0df77-1a01-4f44-8eb9-fd468bb2812b" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8d385033-e863-401f-a9e0-7ae1a38c2a72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4a2a46ad-b4e1-4ec1-a5e0-80d0bede2b23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8d385033-e863-401f-a9e0-7ae1a38c2a72" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4a2a46ad-b4e1-4ec1-a5e0-80d0bede2b23" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_f4dce564-9db6-4a0d-8f8d-71d6e1f0a634" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4a2a46ad-b4e1-4ec1-a5e0-80d0bede2b23" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_f4dce564-9db6-4a0d-8f8d-71d6e1f0a634" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_b26bc656-cb07-4b20-b480-240d43d4b24f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4a2a46ad-b4e1-4ec1-a5e0-80d0bede2b23" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_b26bc656-cb07-4b20-b480-240d43d4b24f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_ba95f059-9f1b-44f9-b311-679810732318" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_ba95f059-9f1b-44f9-b311-679810732318" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ba95f059-9f1b-44f9-b311-679810732318_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ba95f059-9f1b-44f9-b311-679810732318" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ba95f059-9f1b-44f9-b311-679810732318_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f76b6375-b8b7-40b9-bb38-cef1bf6c52d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ba95f059-9f1b-44f9-b311-679810732318" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f76b6375-b8b7-40b9-bb38-cef1bf6c52d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_ed9e78ca-5fb6-4068-992e-f033cfb33086" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f76b6375-b8b7-40b9-bb38-cef1bf6c52d0" xlink:to="loc_us-gaap_LineOfCreditMember_ed9e78ca-5fb6-4068-992e-f033cfb33086" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_61033368-69d9-43de-b6c9-efa47aaffb0f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f76b6375-b8b7-40b9-bb38-cef1bf6c52d0" xlink:to="loc_us-gaap_SeniorNotesMember_61033368-69d9-43de-b6c9-efa47aaffb0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_171a0782-082d-4706-82fa-9e0217838ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_678ccb42-8c04-429c-a91f-89384b779167" xlink:to="loc_us-gaap_DebtInstrumentAxis_171a0782-082d-4706-82fa-9e0217838ed6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_171a0782-082d-4706-82fa-9e0217838ed6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_171a0782-082d-4706-82fa-9e0217838ed6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_171a0782-082d-4706-82fa-9e0217838ed6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_42294b46-8fe4-4db9-b93d-bccc75748373" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_171a0782-082d-4706-82fa-9e0217838ed6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_42294b46-8fe4-4db9-b93d-bccc75748373" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SeniorUnsecuredNotes1050Due2028Member_2cc3ee70-5e1b-4288-a7b8-6dd368187c83" xlink:href="rep-20250331.xsd#rep_SeniorUnsecuredNotes1050Due2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_42294b46-8fe4-4db9-b93d-bccc75748373" xlink:to="loc_rep_SeniorUnsecuredNotes1050Due2028Member_2cc3ee70-5e1b-4288-a7b8-6dd368187c83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_74e12286-9045-4bfe-8413-59178d831f71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f6c6ed86-46c3-4274-9eea-04c4213f4ecd" xlink:to="loc_us-gaap_DerivativeAssets_74e12286-9045-4bfe-8413-59178d831f71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_55a8ab79-2798-491b-b3e0-15124377d41c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f6c6ed86-46c3-4274-9eea-04c4213f4ecd" xlink:to="loc_us-gaap_DerivativeLiabilities_55a8ab79-2798-491b-b3e0-15124377d41c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_5a93e38a-6528-41a5-a8dd-253e8a84a1da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f6c6ed86-46c3-4274-9eea-04c4213f4ecd" xlink:to="loc_us-gaap_LongTermDebt_5a93e38a-6528-41a5-a8dd-253e8a84a1da" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/EquityMethodInvestmentNarrativeDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#EquityMethodInvestmentNarrativeDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/EquityMethodInvestmentNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_380eec9c-5ca7-49e9-87d0-ad303fa38af0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_380eec9c-5ca7-49e9-87d0-ad303fa38af0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8b8f130c-0d94-4238-882e-177582824b2d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_380eec9c-5ca7-49e9-87d0-ad303fa38af0" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8b8f130c-0d94-4238-882e-177582824b2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_8b8f130c-0d94-4238-882e-177582824b2d_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8b8f130c-0d94-4238-882e-177582824b2d" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_8b8f130c-0d94-4238-882e-177582824b2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_6dc78f16-078d-432b-8ebd-ea20718e1d18" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8b8f130c-0d94-4238-882e-177582824b2d" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_6dc78f16-078d-432b-8ebd-ea20718e1d18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_RPCPowerLLCMember_5e8c3450-8a41-4b99-8bb0-9b56ee1d49b0" xlink:href="rep-20250331.xsd#rep_RPCPowerLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_6dc78f16-078d-432b-8ebd-ea20718e1d18" xlink:to="loc_rep_RPCPowerLLCMember_5e8c3450-8a41-4b99-8bb0-9b56ee1d49b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_49afa01d-a4b4-435a-9be4-9a40986ba157" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_49afa01d-a4b4-435a-9be4-9a40986ba157" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8434397e-a823-4c50-a864-d4756f13cd29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8434397e-a823-4c50-a864-d4756f13cd29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_b4033b58-622b-4276-9b32-e7b4f09f187c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_us-gaap_EquityMethodInvestments_b4033b58-622b-4276-9b32-e7b4f09f187c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NoncashOrPartNoncashAcquisitionContributionOfAssets_29e0fdfc-9424-405a-8b82-2881a09f1174" xlink:href="rep-20250331.xsd#rep_NoncashOrPartNoncashAcquisitionContributionOfAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_rep_NoncashOrPartNoncashAcquisitionContributionOfAssets_29e0fdfc-9424-405a-8b82-2881a09f1174" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_EquityMethodInvestmentsCommitmentAmount_a46ec311-2449-49c7-b5f0-948af2490835" xlink:href="rep-20250331.xsd#rep_EquityMethodInvestmentsCommitmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b75cdf9d-74b4-4f8f-89c0-a4a0c1bdaec7" xlink:to="loc_rep_EquityMethodInvestmentsCommitmentAmount_a46ec311-2449-49c7-b5f0-948af2490835" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/TransactionswithRelatedPartiesNarrativeDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#TransactionswithRelatedPartiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/TransactionswithRelatedPartiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e95db79d-194f-4349-bf4b-8dd2a90f0aad" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e95db79d-194f-4349-bf4b-8dd2a90f0aad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_e95db79d-194f-4349-bf4b-8dd2a90f0aad_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e95db79d-194f-4349-bf4b-8dd2a90f0aad" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_e95db79d-194f-4349-bf4b-8dd2a90f0aad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_130e50ce-f69e-415e-9d92-db1137a908b7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e95db79d-194f-4349-bf4b-8dd2a90f0aad" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_130e50ce-f69e-415e-9d92-db1137a908b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_RPCPowerLLCMember_187929c5-e75f-4713-9f52-2c346510ca65" xlink:href="rep-20250331.xsd#rep_RPCPowerLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_130e50ce-f69e-415e-9d92-db1137a908b7" xlink:to="loc_rep_RPCPowerLLCMember_187929c5-e75f-4713-9f52-2c346510ca65" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_c2788e45-8841-4668-a71b-d127dda21225" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_c2788e45-8841-4668-a71b-d127dda21225" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c2788e45-8841-4668-a71b-d127dda21225_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c2788e45-8841-4668-a71b-d127dda21225" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c2788e45-8841-4668-a71b-d127dda21225_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c2788e45-8841-4668-a71b-d127dda21225" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_TollingAgreementMember_5bd3c3c7-ae26-44cc-a717-4511a0bd31ce" xlink:href="rep-20250331.xsd#rep_TollingAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_rep_TollingAgreementMember_5bd3c3c7-ae26-44cc-a717-4511a0bd31ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_AssetOptimizationAgreementMember_11a90984-9010-490b-9381-2d7d1e0c5d99" xlink:href="rep-20250331.xsd#rep_AssetOptimizationAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_rep_AssetOptimizationAgreementMember_11a90984-9010-490b-9381-2d7d1e0c5d99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplyCommitmentMember_b8aaa395-5fc3-4d53-be1a-03bb3639bdc1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SupplyCommitmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_us-gaap_SupplyCommitmentMember_b8aaa395-5fc3-4d53-be1a-03bb3639bdc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LeaseOperatingExpensesMember_472775bc-57ef-44c4-afb0-09780cc778bf" xlink:href="rep-20250331.xsd#rep_LeaseOperatingExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_rep_LeaseOperatingExpensesMember_472775bc-57ef-44c4-afb0-09780cc778bf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ContractServicesAgreementMember_b76bf85a-7a25-45b5-94eb-a567117bd6d0" xlink:href="rep-20250331.xsd#rep_ContractServicesAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_rep_ContractServicesAgreementMember_b76bf85a-7a25-45b5-94eb-a567117bd6d0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LegalServicesMember_6d03c797-2733-41aa-9eda-d204ef5572a4" xlink:href="rep-20250331.xsd#rep_LegalServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7573c451-3af1-4343-a181-cffb6d8a04b3" xlink:to="loc_rep_LegalServicesMember_6d03c797-2733-41aa-9eda-d204ef5572a4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2fe611de-dc58-48bd-903e-170d9b36787e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2fe611de-dc58-48bd-903e-170d9b36787e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_2fe611de-dc58-48bd-903e-170d9b36787e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2fe611de-dc58-48bd-903e-170d9b36787e" xlink:to="loc_us-gaap_RelatedPartyDomain_2fe611de-dc58-48bd-903e-170d9b36787e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_7948ff87-8c3a-45b0-a580-33581b4cb0fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2fe611de-dc58-48bd-903e-170d9b36787e" xlink:to="loc_us-gaap_RelatedPartyDomain_7948ff87-8c3a-45b0-a580-33581b4cb0fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_102fab93-2ca0-46c0-ab84-f64cff401e35" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvesteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7948ff87-8c3a-45b0-a580-33581b4cb0fd" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_102fab93-2ca0-46c0-ab84-f64cff401e35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_f43ff2d7-9390-45d6-90ce-dd91a85d0bd4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7948ff87-8c3a-45b0-a580-33581b4cb0fd" xlink:to="loc_us-gaap_RelatedPartyMember_f43ff2d7-9390-45d6-90ce-dd91a85d0bd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:to="loc_srt_CounterpartyNameAxis_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_9fbcc529-0255-48d2-9972-3c66e4c2f187" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_3d7f6aad-561f-495c-ae0e-7d06e8efa1cd" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_9fbcc529-0255-48d2-9972-3c66e4c2f187" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ComboResourcesLLCMember_5d07f844-23b4-4dff-9f71-a57c575607d9" xlink:href="rep-20250331.xsd#rep_ComboResourcesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_9fbcc529-0255-48d2-9972-3c66e4c2f187" xlink:to="loc_rep_ComboResourcesLLCMember_5d07f844-23b4-4dff-9f71-a57c575607d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DiSantoLawPLLCMember_39f7c1c6-c944-4d01-84cb-53a554f66ed1" xlink:href="rep-20250331.xsd#rep_DiSantoLawPLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_9fbcc529-0255-48d2-9972-3c66e4c2f187" xlink:to="loc_rep_DiSantoLawPLLCMember_39f7c1c6-c944-4d01-84cb-53a554f66ed1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_b3483d77-1657-4364-b924-2a5ad401d5ac" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_076bce12-e09c-4080-9907-55a54834aed5" xlink:to="loc_srt_TitleOfIndividualAxis_b3483d77-1657-4364-b924-2a5ad401d5ac" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_b3483d77-1657-4364-b924-2a5ad401d5ac_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_b3483d77-1657-4364-b924-2a5ad401d5ac" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_b3483d77-1657-4364-b924-2a5ad401d5ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9fb464c6-16a3-4fb7-8cf4-2d78d3991186" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_b3483d77-1657-4364-b924-2a5ad401d5ac" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9fb464c6-16a3-4fb7-8cf4-2d78d3991186" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_a987c6cb-81fa-47d8-8db5-ec15d0f76702" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_DirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9fb464c6-16a3-4fb7-8cf4-2d78d3991186" xlink:to="loc_srt_DirectorMember_a987c6cb-81fa-47d8-8db5-ec15d0f76702" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermPurchaseCommitmentPeriod_aea6a5aa-b390-483f-8644-a250ec61beec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermPurchaseCommitmentPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_LongtermPurchaseCommitmentPeriod_aea6a5aa-b390-483f-8644-a250ec61beec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ContractualObligationMonthlyFee_aa3a7394-d1c7-4809-9515-ed1961a43923" xlink:href="rep-20250331.xsd#rep_ContractualObligationMonthlyFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_rep_ContractualObligationMonthlyFee_aa3a7394-d1c7-4809-9515-ed1961a43923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_7e4717de-c868-43d0-bbe6-aaef83286ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_OperatingLeaseExpense_7e4717de-c868-43d0-bbe6-aaef83286ea6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_36fd715f-0cd5-40f5-9c3f-72e0bb30f3bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_36fd715f-0cd5-40f5-9c3f-72e0bb30f3bf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_NumberOfEstablishedUnitsOwnedJointly_0146b211-e1c0-4fad-a3b8-f7d0c4043700" xlink:href="rep-20250331.xsd#rep_NumberOfEstablishedUnitsOwnedJointly"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_rep_NumberOfEstablishedUnitsOwnedJointly_0146b211-e1c0-4fad-a3b8-f7d0c4043700" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_a02e16e4-6473-4fa0-9ace-e23afc1f805b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_a02e16e4-6473-4fa0-9ace-e23afc1f805b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_cb17153c-e2b5-46e3-94ef-4e3cd203e9cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_8228c85b-04aa-4cf8-b4bd-3a6f1f1b46d4" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_cb17153c-e2b5-46e3-94ef-4e3cd203e9cd" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/TransactionswithRelatedPartiesScheduleofRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#TransactionswithRelatedPartiesScheduleofRelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/TransactionswithRelatedPartiesScheduleofRelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_d6d887b0-2117-425a-95b6-6518b947b309" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_58155d51-1133-4a04-9061-33e886831f12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_d6d887b0-2117-425a-95b6-6518b947b309" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_58155d51-1133-4a04-9061-33e886831f12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_8158cbba-480e-4cb7-bbb9-ef463f787910" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_58155d51-1133-4a04-9061-33e886831f12" xlink:to="loc_srt_CounterpartyNameAxis_8158cbba-480e-4cb7-bbb9-ef463f787910" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8158cbba-480e-4cb7-bbb9-ef463f787910_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_8158cbba-480e-4cb7-bbb9-ef463f787910" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8158cbba-480e-4cb7-bbb9-ef463f787910_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_432eb8b5-b27e-4881-a9d4-d2271683d541" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_8158cbba-480e-4cb7-bbb9-ef463f787910" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_432eb8b5-b27e-4881-a9d4-d2271683d541" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ComboResourcesLLCMember_cbc89b7c-4ac2-41ec-8b9a-f23751f40e12" xlink:href="rep-20250331.xsd#rep_ComboResourcesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_432eb8b5-b27e-4881-a9d4-d2271683d541" xlink:to="loc_rep_ComboResourcesLLCMember_cbc89b7c-4ac2-41ec-8b9a-f23751f40e12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_RileyExplorationGroupIncMember_6b18c5ec-141b-4ffb-af47-f93b6f8c6c56" xlink:href="rep-20250331.xsd#rep_RileyExplorationGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_432eb8b5-b27e-4881-a9d4-d2271683d541" xlink:to="loc_rep_RileyExplorationGroupIncMember_6b18c5ec-141b-4ffb-af47-f93b6f8c6c56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_c3fb485a-e1cb-433f-a02f-d654a21f8238" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_58155d51-1133-4a04-9061-33e886831f12" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_c3fb485a-e1cb-433f-a02f-d654a21f8238" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c3fb485a-e1cb-433f-a02f-d654a21f8238_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c3fb485a-e1cb-433f-a02f-d654a21f8238" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c3fb485a-e1cb-433f-a02f-d654a21f8238_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_9c82da00-eec4-4036-ad66-a49d29170b79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c3fb485a-e1cb-433f-a02f-d654a21f8238" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_9c82da00-eec4-4036-ad66-a49d29170b79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ContractServicesAgreementMember_e7387913-c7cc-4405-9d6f-c940009af15d" xlink:href="rep-20250331.xsd#rep_ContractServicesAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_9c82da00-eec4-4036-ad66-a49d29170b79" xlink:to="loc_rep_ContractServicesAgreementMember_e7387913-c7cc-4405-9d6f-c940009af15d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b0c10c36-6b49-432e-9b7e-5c0709153417" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_58155d51-1133-4a04-9061-33e886831f12" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b0c10c36-6b49-432e-9b7e-5c0709153417" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_b0c10c36-6b49-432e-9b7e-5c0709153417_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b0c10c36-6b49-432e-9b7e-5c0709153417" xlink:to="loc_us-gaap_RelatedPartyDomain_b0c10c36-6b49-432e-9b7e-5c0709153417_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_7f0c1546-86fb-4d65-85aa-a16a2d3e873c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b0c10c36-6b49-432e-9b7e-5c0709153417" xlink:to="loc_us-gaap_RelatedPartyDomain_7f0c1546-86fb-4d65-85aa-a16a2d3e873c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_f4d36618-c8c1-435d-b602-c6714d314e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7f0c1546-86fb-4d65-85aa-a16a2d3e873c" xlink:to="loc_us-gaap_RelatedPartyMember_f4d36618-c8c1-435d-b602-c6714d314e1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_378fb02f-74a9-400e-baea-3360b0d1204b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_d6d887b0-2117-425a-95b6-6518b947b309" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_378fb02f-74a9-400e-baea-3360b0d1204b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_31cc0eee-5fbe-4122-b7fb-ba5753065c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_d6d887b0-2117-425a-95b6-6518b947b309" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_31cc0eee-5fbe-4122-b7fb-ba5753065c1e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/LongTermDebtScheduleofOutstandingDebtDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#LongTermDebtScheduleofOutstandingDebtDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/LongTermDebtScheduleofOutstandingDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_e4d1f13d-3b28-4acf-b745-b9b9c5f76407" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_e4d1f13d-3b28-4acf-b745-b9b9c5f76407" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_82a95ec1-18ab-444a-9dd4-57a7bae4fa53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_e4d1f13d-3b28-4acf-b745-b9b9c5f76407" xlink:to="loc_us-gaap_CreditFacilityAxis_82a95ec1-18ab-444a-9dd4-57a7bae4fa53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_82a95ec1-18ab-444a-9dd4-57a7bae4fa53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_82a95ec1-18ab-444a-9dd4-57a7bae4fa53" xlink:to="loc_us-gaap_CreditFacilityDomain_82a95ec1-18ab-444a-9dd4-57a7bae4fa53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_60a3aed0-9b47-4e77-ac23-eda8cfc57844" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_82a95ec1-18ab-444a-9dd4-57a7bae4fa53" xlink:to="loc_us-gaap_CreditFacilityDomain_60a3aed0-9b47-4e77-ac23-eda8cfc57844" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_9e6f897a-c13a-4076-b372-829198d58617" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_60a3aed0-9b47-4e77-ac23-eda8cfc57844" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_9e6f897a-c13a-4076-b372-829198d58617" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_fe5745bb-8d1f-426a-99fc-3adafee62c88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_e4d1f13d-3b28-4acf-b745-b9b9c5f76407" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_fe5745bb-8d1f-426a-99fc-3adafee62c88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_fe5745bb-8d1f-426a-99fc-3adafee62c88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_fe5745bb-8d1f-426a-99fc-3adafee62c88" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_fe5745bb-8d1f-426a-99fc-3adafee62c88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_fc325268-1a11-4352-9c9a-4645b9b3beed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_fe5745bb-8d1f-426a-99fc-3adafee62c88" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_fc325268-1a11-4352-9c9a-4645b9b3beed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_b2f17742-079b-44a5-9c91-c60ca9893ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fc325268-1a11-4352-9c9a-4645b9b3beed" xlink:to="loc_us-gaap_LineOfCreditMember_b2f17742-079b-44a5-9c91-c60ca9893ca3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_b1292dc0-76de-4538-8739-4ed13a265287" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fc325268-1a11-4352-9c9a-4645b9b3beed" xlink:to="loc_us-gaap_SeniorNotesMember_b1292dc0-76de-4538-8739-4ed13a265287" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_5a95f236-a4b5-4168-ad9f-b284009c49f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_LongTermDebt_5a95f236-a4b5-4168-ad9f-b284009c49f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_baa8b5c4-daa2-4cc2-b54a-f960ea782777" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_baa8b5c4-daa2-4cc2-b54a-f960ea782777" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e42d0f06-fd43-4d27-bb77-246803a7a3b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e42d0f06-fd43-4d27-bb77-246803a7a3b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_751e7de2-855a-4f60-a9b7-dbec43ae7044" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_751e7de2-855a-4f60-a9b7-dbec43ae7044" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_9c5de79e-7b4c-4be7-bf6f-e1693917330c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_LongTermDebtCurrent_9c5de79e-7b4c-4be7-bf6f-e1693917330c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_e307fc0f-ef61-444c-a28f-1034d407421d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_f6d7ce08-e6e1-4c38-9df2-9d7809679d04" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_e307fc0f-ef61-444c-a28f-1034d407421d" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/LongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#LongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/LongTermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_da7b8067-5212-420b-9263-9d1c514657af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:to="loc_us-gaap_CreditFacilityAxis_da7b8067-5212-420b-9263-9d1c514657af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_da7b8067-5212-420b-9263-9d1c514657af_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_da7b8067-5212-420b-9263-9d1c514657af" xlink:to="loc_us-gaap_CreditFacilityDomain_da7b8067-5212-420b-9263-9d1c514657af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_945f7f15-7032-46eb-b6e3-72801a28b864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_da7b8067-5212-420b-9263-9d1c514657af" xlink:to="loc_us-gaap_CreditFacilityDomain_945f7f15-7032-46eb-b6e3-72801a28b864" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_2a623349-c09e-4e6c-978f-d1e9fe4f4a7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_945f7f15-7032-46eb-b6e3-72801a28b864" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_2a623349-c09e-4e6c-978f-d1e9fe4f4a7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_ad27ab7e-c6c6-4401-95ff-b34493c470d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_ad27ab7e-c6c6-4401-95ff-b34493c470d5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ad27ab7e-c6c6-4401-95ff-b34493c470d5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ad27ab7e-c6c6-4401-95ff-b34493c470d5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ad27ab7e-c6c6-4401-95ff-b34493c470d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_38773577-0f05-4da7-996a-3ef33570294f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ad27ab7e-c6c6-4401-95ff-b34493c470d5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_38773577-0f05-4da7-996a-3ef33570294f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_10b90e34-88a9-4f31-8048-2b0c69304ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_38773577-0f05-4da7-996a-3ef33570294f" xlink:to="loc_us-gaap_LineOfCreditMember_10b90e34-88a9-4f31-8048-2b0c69304ca1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_9dbd9150-5be1-4d9c-946b-50554f15ed67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_38773577-0f05-4da7-996a-3ef33570294f" xlink:to="loc_us-gaap_SeniorNotesMember_9dbd9150-5be1-4d9c-946b-50554f15ed67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ec105f29-2f8e-4052-bc3c-068b8ae8611f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:to="loc_srt_RangeAxis_ec105f29-2f8e-4052-bc3c-068b8ae8611f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ec105f29-2f8e-4052-bc3c-068b8ae8611f_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_ec105f29-2f8e-4052-bc3c-068b8ae8611f" xlink:to="loc_srt_RangeMember_ec105f29-2f8e-4052-bc3c-068b8ae8611f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3b5faffd-5202-429a-a533-847995ad0023" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_ec105f29-2f8e-4052-bc3c-068b8ae8611f" xlink:to="loc_srt_RangeMember_3b5faffd-5202-429a-a533-847995ad0023" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_76d61b9f-3ee3-42c5-96bf-a90317670d12" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3b5faffd-5202-429a-a533-847995ad0023" xlink:to="loc_srt_MaximumMember_76d61b9f-3ee3-42c5-96bf-a90317670d12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_e2abfd9c-696e-4d3e-9dd0-e6be87f140bf" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3b5faffd-5202-429a-a533-847995ad0023" xlink:to="loc_srt_MinimumMember_e2abfd9c-696e-4d3e-9dd0-e6be87f140bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_8a823654-4ab0-42a3-80a7-16668f855869" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:to="loc_us-gaap_DebtInstrumentAxis_8a823654-4ab0-42a3-80a7-16668f855869" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8a823654-4ab0-42a3-80a7-16668f855869_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_8a823654-4ab0-42a3-80a7-16668f855869" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8a823654-4ab0-42a3-80a7-16668f855869_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_448cb985-d864-45d5-b8ce-380100053018" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_8a823654-4ab0-42a3-80a7-16668f855869" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_448cb985-d864-45d5-b8ce-380100053018" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SeniorUnsecuredNotes1050Due2028Member_8b87d463-2f8a-41ba-a5c6-1ffef140807f" xlink:href="rep-20250331.xsd#rep_SeniorUnsecuredNotes1050Due2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_448cb985-d864-45d5-b8ce-380100053018" xlink:to="loc_rep_SeniorUnsecuredNotes1050Due2028Member_8b87d463-2f8a-41ba-a5c6-1ffef140807f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_b4f30af6-95ab-4bee-a0e0-c57794295e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d8e6f28e-72af-4eec-af01-163b370ca8a8" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_b4f30af6-95ab-4bee-a0e0-c57794295e5f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_b4f30af6-95ab-4bee-a0e0-c57794295e5f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_b4f30af6-95ab-4bee-a0e0-c57794295e5f" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_b4f30af6-95ab-4bee-a0e0-c57794295e5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bc8b371e-467c-4cb3-90c6-f0c09b5be4c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_b4f30af6-95ab-4bee-a0e0-c57794295e5f" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bc8b371e-467c-4cb3-90c6-f0c09b5be4c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_2dbb6085-1d92-4c13-9591-fe2754ef9799" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bc8b371e-467c-4cb3-90c6-f0c09b5be4c1" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_2dbb6085-1d92-4c13-9591-fe2754ef9799" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_4bbcf0d2-356f-49c1-9411-0ee43331f855" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bc8b371e-467c-4cb3-90c6-f0c09b5be4c1" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_4bbcf0d2-356f-49c1-9411-0ee43331f855" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_510703d2-3084-40ac-a852-77ae4fc12def" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPeriodThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bc8b371e-467c-4cb3-90c6-f0c09b5be4c1" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_510703d2-3084-40ac-a852-77ae4fc12def" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_cc94814a-5313-4dbb-b0d3-80cafcca906e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_cc94814a-5313-4dbb-b0d3-80cafcca906e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentExtendedMaturityEarlierPeriodTerm_7b4eeda8-6b6c-4528-8bb2-cbb36f87f0b5" xlink:href="rep-20250331.xsd#rep_DebtInstrumentExtendedMaturityEarlierPeriodTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentExtendedMaturityEarlierPeriodTerm_7b4eeda8-6b6c-4528-8bb2-cbb36f87f0b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentNumberOfNewLenders_451f4c8e-e798-430d-91fc-56d0e65ce94c" xlink:href="rep-20250331.xsd#rep_DebtInstrumentNumberOfNewLenders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentNumberOfNewLenders_451f4c8e-e798-430d-91fc-56d0e65ce94c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantLeverageRatio_e89a54bf-c8a3-467b-b812-80ea0a536654" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantLeverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantLeverageRatio_e89a54bf-c8a3-467b-b812-80ea0a536654" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantCurrentRatio_3bca6ec8-5975-47c2-81db-2d741c69810a" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantCurrentRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantCurrentRatio_3bca6ec8-5975-47c2-81db-2d741c69810a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantLeverageRatioForRestrictedPayments_c56dbb1f-4b9e-4a35-a5e7-2a3844a92db4" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantLeverageRatioForRestrictedPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantLeverageRatioForRestrictedPayments_c56dbb1f-4b9e-4a35-a5e7-2a3844a92db4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantLeverageRatioForRestrictedPaymentsAfterProFormaEffect_a6dc9687-6aec-46d5-8ca4-8f5a80b576ee" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantLeverageRatioForRestrictedPaymentsAfterProFormaEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantLeverageRatioForRestrictedPaymentsAfterProFormaEffect_a6dc9687-6aec-46d5-8ca4-8f5a80b576ee" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantOutstandingBalancePercentage_9ff22144-149e-491d-9765-6b8bbc3161e2" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantOutstandingBalancePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantOutstandingBalancePercentage_9ff22144-149e-491d-9765-6b8bbc3161e2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantHedgingRequirementMinimumTerm_3411891f-669c-4b55-a3f9-65be533e7ca4" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantHedgingRequirementMinimumTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantHedgingRequirementMinimumTerm_3411891f-669c-4b55-a3f9-65be533e7ca4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_91894676-22be-42c3-a37d-f6b6ed4a5fcc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_91894676-22be-42c3-a37d-f6b6ed4a5fcc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f8696693-2c43-4330-81ae-848f33b2f651" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f8696693-2c43-4330-81ae-848f33b2f651" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentDiscountPercentage_f921d7dc-aa38-402e-adde-05a8cf152213" xlink:href="rep-20250331.xsd#rep_DebtInstrumentDiscountPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentDiscountPercentage_f921d7dc-aa38-402e-adde-05a8cf152213" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentPeriodicPaymentPrincipalPercentage_ed6307e2-2f90-4e77-a32c-1e71e097c6dd" xlink:href="rep-20250331.xsd#rep_DebtInstrumentPeriodicPaymentPrincipalPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentPeriodicPaymentPrincipalPercentage_ed6307e2-2f90-4e77-a32c-1e71e097c6dd" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_1fa1b59b-7fbd-41f2-97cd-f0c0260b13d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentPeriodicPaymentPrincipal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_1fa1b59b-7fbd-41f2-97cd-f0c0260b13d4" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_30013cde-9163-4790-bd53-e2fcee6557c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_LongTermDebtCurrent_30013cde-9163-4790-bd53-e2fcee6557c1" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_9695ca7c-1040-48b2-8c84-96667b0dc1b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_9695ca7c-1040-48b2-8c84-96667b0dc1b0" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentPremiumPercentage_2948f59d-1df4-4eb6-81f0-b78cad53989a" xlink:href="rep-20250331.xsd#rep_DebtInstrumentPremiumPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentPremiumPercentage_2948f59d-1df4-4eb6-81f0-b78cad53989a" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantAssetCoverageRatio_3a612f84-2716-43b1-bffb-677de5ea0be8" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantAssetCoverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantAssetCoverageRatio_3a612f84-2716-43b1-bffb-677de5ea0be8" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantLeverageRatioRestrictedPayments_791d4e18-b6f3-4adb-957a-3f4b1c3afcbb" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantLeverageRatioRestrictedPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantLeverageRatioRestrictedPayments_791d4e18-b6f3-4adb-957a-3f4b1c3afcbb" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_DebtInstrumentCovenantAssetCoverageRatioForRestrictedPaymentsAfterProFormaEffect_9a29d1e2-4bd1-4b54-8502-f77034524afc" xlink:href="rep-20250331.xsd#rep_DebtInstrumentCovenantAssetCoverageRatioForRestrictedPaymentsAfterProFormaEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_rep_DebtInstrumentCovenantAssetCoverageRatioForRestrictedPaymentsAfterProFormaEffect_9a29d1e2-4bd1-4b54-8502-f77034524afc" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_eccab802-1e88-4bb1-a00b-c20f1765d378" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_eccab802-1e88-4bb1-a00b-c20f1765d378" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_58ca6abd-f3c4-4ff3-bc8b-b61a9bd6738b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_58ca6abd-f3c4-4ff3-bc8b-b61a9bd6738b" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_c8ef3949-0950-4902-846e-4ff885672946" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_c8ef3949-0950-4902-846e-4ff885672946" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_203f2ad5-3a09-4029-844a-d2d9aac778b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_a96cacce-9061-43e3-bbed-c5610c935f59" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_203f2ad5-3a09-4029-844a-d2d9aac778b2" xlink:type="arc" order="23"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/LongTermDebtSummaryofCreditFacilityBalancesDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#LongTermDebtSummaryofCreditFacilityBalancesDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/LongTermDebtSummaryofCreditFacilityBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_6e8db8ac-ceea-4635-a6b0-c6fea68eccdf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_a2872b7b-2ae6-4dfc-8192-734e99d9681a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_6e8db8ac-ceea-4635-a6b0-c6fea68eccdf" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_a2872b7b-2ae6-4dfc-8192-734e99d9681a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_cd427468-181f-482a-ba02-38e1df3d2647" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a2872b7b-2ae6-4dfc-8192-734e99d9681a" xlink:to="loc_us-gaap_CreditFacilityAxis_cd427468-181f-482a-ba02-38e1df3d2647" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_cd427468-181f-482a-ba02-38e1df3d2647_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_cd427468-181f-482a-ba02-38e1df3d2647" xlink:to="loc_us-gaap_CreditFacilityDomain_cd427468-181f-482a-ba02-38e1df3d2647_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8cde1876-8817-40c8-ad2d-1ff4d247b593" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_cd427468-181f-482a-ba02-38e1df3d2647" xlink:to="loc_us-gaap_CreditFacilityDomain_8cde1876-8817-40c8-ad2d-1ff4d247b593" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_4dd04ea1-0d36-472a-a8b0-f3ce63050206" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_8cde1876-8817-40c8-ad2d-1ff4d247b593" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_4dd04ea1-0d36-472a-a8b0-f3ce63050206" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3353d3ea-7add-4f51-b086-3ede7e9ee81b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a2872b7b-2ae6-4dfc-8192-734e99d9681a" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3353d3ea-7add-4f51-b086-3ede7e9ee81b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3353d3ea-7add-4f51-b086-3ede7e9ee81b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3353d3ea-7add-4f51-b086-3ede7e9ee81b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3353d3ea-7add-4f51-b086-3ede7e9ee81b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9610168b-7ca7-4ce8-bc69-a0c2e3b4ce49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3353d3ea-7add-4f51-b086-3ede7e9ee81b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9610168b-7ca7-4ce8-bc69-a0c2e3b4ce49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_08a936c5-9235-4331-a3c6-a2227383130c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_9610168b-7ca7-4ce8-bc69-a0c2e3b4ce49" xlink:to="loc_us-gaap_LineOfCreditMember_08a936c5-9235-4331-a3c6-a2227383130c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_2f869876-c055-4929-ba84-616aff4dfec8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermLineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_6e8db8ac-ceea-4635-a6b0-c6fea68eccdf" xlink:to="loc_us-gaap_LongTermLineOfCredit_2f869876-c055-4929-ba84-616aff4dfec8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_32eb0787-f6a2-49af-bff2-e031f718b34e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_6e8db8ac-ceea-4635-a6b0-c6fea68eccdf" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_32eb0787-f6a2-49af-bff2-e031f718b34e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/LongTermDebtScheduleofComponentsofInterestExpenseDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#LongTermDebtScheduleofComponentsofInterestExpenseDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/LongTermDebtScheduleofComponentsofInterestExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_c8b2db38-5be9-4e22-876f-714694921da3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_c8b2db38-5be9-4e22-876f-714694921da3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_6cca424e-ddb3-4b67-bafc-09b7bd46be50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_c8b2db38-5be9-4e22-876f-714694921da3" xlink:to="loc_us-gaap_DebtInstrumentAxis_6cca424e-ddb3-4b67-bafc-09b7bd46be50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6cca424e-ddb3-4b67-bafc-09b7bd46be50_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6cca424e-ddb3-4b67-bafc-09b7bd46be50" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6cca424e-ddb3-4b67-bafc-09b7bd46be50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f02d22af-9234-4ce9-9a9f-e3af879fb3e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6cca424e-ddb3-4b67-bafc-09b7bd46be50" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f02d22af-9234-4ce9-9a9f-e3af879fb3e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SeniorUnsecuredNotes1050Due2028Member_e8e51dc0-1212-4552-b8c8-c98f09b22399" xlink:href="rep-20250331.xsd#rep_SeniorUnsecuredNotes1050Due2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f02d22af-9234-4ce9-9a9f-e3af879fb3e0" xlink:to="loc_rep_SeniorUnsecuredNotes1050Due2028Member_e8e51dc0-1212-4552-b8c8-c98f09b22399" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_8bf13787-1a1f-4323-8322-7d5717f47ef5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_c8b2db38-5be9-4e22-876f-714694921da3" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_8bf13787-1a1f-4323-8322-7d5717f47ef5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8bf13787-1a1f-4323-8322-7d5717f47ef5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8bf13787-1a1f-4323-8322-7d5717f47ef5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8bf13787-1a1f-4323-8322-7d5717f47ef5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d49e1b08-226f-4a5e-91c0-a4913ad9b7b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8bf13787-1a1f-4323-8322-7d5717f47ef5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d49e1b08-226f-4a5e-91c0-a4913ad9b7b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_303b6309-b584-4aaf-b707-c6331939c1e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d49e1b08-226f-4a5e-91c0-a4913ad9b7b3" xlink:to="loc_us-gaap_SeniorNotesMember_303b6309-b584-4aaf-b707-c6331939c1e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_e4d3bf21-9218-4dd3-b606-de569e2020b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d49e1b08-226f-4a5e-91c0-a4913ad9b7b3" xlink:to="loc_us-gaap_LineOfCreditMember_e4d3bf21-9218-4dd3-b606-de569e2020b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_de4a9f5e-4609-46c0-b6a1-357a8e8f2193" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_c8b2db38-5be9-4e22-876f-714694921da3" xlink:to="loc_us-gaap_CreditFacilityAxis_de4a9f5e-4609-46c0-b6a1-357a8e8f2193" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_de4a9f5e-4609-46c0-b6a1-357a8e8f2193_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_de4a9f5e-4609-46c0-b6a1-357a8e8f2193" xlink:to="loc_us-gaap_CreditFacilityDomain_de4a9f5e-4609-46c0-b6a1-357a8e8f2193_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2341ee21-a612-4c80-95ed-c01820e85d9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_de4a9f5e-4609-46c0-b6a1-357a8e8f2193" xlink:to="loc_us-gaap_CreditFacilityDomain_2341ee21-a612-4c80-95ed-c01820e85d9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_e8a684ad-51dd-4cb1-8d6d-6d89f1bd81f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2341ee21-a612-4c80-95ed-c01820e85d9e" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_e8a684ad-51dd-4cb1-8d6d-6d89f1bd81f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_891e4e85-a502-4234-878c-812b39342476" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_InterestExpenseDebt_891e4e85-a502-4234-878c-812b39342476" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_InterestIncomeDebt_19e3563b-91bf-43f5-b67c-c479dd2b628b" xlink:href="rep-20250331.xsd#rep_InterestIncomeDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_rep_InterestIncomeDebt_19e3563b-91bf-43f5-b67c-c479dd2b628b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestCostsCapitalizedAdjustment_8e489caf-d93d-42de-bbb9-6599e0f776b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestCostsCapitalizedAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_InterestCostsCapitalizedAdjustment_8e489caf-d93d-42de-bbb9-6599e0f776b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_a74cbe1c-9b93-4078-af16-d36ebd2ea547" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_a74cbe1c-9b93-4078-af16-d36ebd2ea547" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_b0a4b812-ff24-4993-b918-7659a77f994e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_b0a4b812-ff24-4993-b918-7659a77f994e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnusedBorrowingCapacityFee_60a4f154-c156-4334-bff8-3b1189130067" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnusedBorrowingCapacityFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_DebtInstrumentUnusedBorrowingCapacityFee_60a4f154-c156-4334-bff8-3b1189130067" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_370a0fba-1e10-4cea-b09b-64f8bc89d16a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_82b1028f-93f4-4bf2-8a10-ef94d026d6c6" xlink:to="loc_us-gaap_InterestAndDebtExpense_370a0fba-1e10-4cea-b09b-64f8bc89d16a" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/ShareholdersEquityNarrativeDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#ShareholdersEquityNarrativeDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/ShareholdersEquityNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_a9b9e72b-626e-4d00-9d83-546092342887" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_us-gaap_PlanNameAxis_a9b9e72b-626e-4d00-9d83-546092342887" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_a9b9e72b-626e-4d00-9d83-546092342887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_a9b9e72b-626e-4d00-9d83-546092342887" xlink:to="loc_us-gaap_PlanNameDomain_a9b9e72b-626e-4d00-9d83-546092342887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_b5402a07-6d3e-4f59-80c6-f5b064a63cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_a9b9e72b-626e-4d00-9d83-546092342887" xlink:to="loc_us-gaap_PlanNameDomain_b5402a07-6d3e-4f59-80c6-f5b064a63cb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ARLongTermInvestmentPlanMember_008ae728-02fa-4951-943e-b99461b619b1" xlink:href="rep-20250331.xsd#rep_ARLongTermInvestmentPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_b5402a07-6d3e-4f59-80c6-f5b064a63cb9" xlink:to="loc_rep_ARLongTermInvestmentPlanMember_008ae728-02fa-4951-943e-b99461b619b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermInvestmentPlan2021Member_2df70944-c398-47ee-b89e-b2cc468adef0" xlink:href="rep-20250331.xsd#rep_LongTermInvestmentPlan2021Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_b5402a07-6d3e-4f59-80c6-f5b064a63cb9" xlink:to="loc_rep_LongTermInvestmentPlan2021Member_2df70944-c398-47ee-b89e-b2cc468adef0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_1dcd8f9c-798c-42fd-87d3-c504910ad7b0" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_srt_RangeAxis_1dcd8f9c-798c-42fd-87d3-c504910ad7b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1dcd8f9c-798c-42fd-87d3-c504910ad7b0_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1dcd8f9c-798c-42fd-87d3-c504910ad7b0" xlink:to="loc_srt_RangeMember_1dcd8f9c-798c-42fd-87d3-c504910ad7b0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fdb98862-729f-47fa-a89d-2c67d5096ac7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1dcd8f9c-798c-42fd-87d3-c504910ad7b0" xlink:to="loc_srt_RangeMember_fdb98862-729f-47fa-a89d-2c67d5096ac7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c907076a-084c-4963-acad-b78cfa081890" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fdb98862-729f-47fa-a89d-2c67d5096ac7" xlink:to="loc_srt_MinimumMember_c907076a-084c-4963-acad-b78cfa081890" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_3d040236-d192-4060-b948-01662a9879b3" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fdb98862-729f-47fa-a89d-2c67d5096ac7" xlink:to="loc_srt_MaximumMember_3d040236-d192-4060-b948-01662a9879b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_da8da410-d1ba-4c15-80f6-328127fe7055" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_da8da410-d1ba-4c15-80f6-328127fe7055" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_da8da410-d1ba-4c15-80f6-328127fe7055_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_da8da410-d1ba-4c15-80f6-328127fe7055" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_da8da410-d1ba-4c15-80f6-328127fe7055_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_69563f21-ec89-4a89-9d1b-f94d68736fc0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_da8da410-d1ba-4c15-80f6-328127fe7055" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_69563f21-ec89-4a89-9d1b-f94d68736fc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_02210653-7378-4464-ace1-411901927577" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_69563f21-ec89-4a89-9d1b-f94d68736fc0" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_02210653-7378-4464-ace1-411901927577" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_3a40af54-ab5f-443d-a154-4764ef9ecdd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_us-gaap_AwardTypeAxis_3a40af54-ab5f-443d-a154-4764ef9ecdd1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3a40af54-ab5f-443d-a154-4764ef9ecdd1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3a40af54-ab5f-443d-a154-4764ef9ecdd1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3a40af54-ab5f-443d-a154-4764ef9ecdd1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b78dfc53-7aa4-4241-9142-77c2c3597316" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3a40af54-ab5f-443d-a154-4764ef9ecdd1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b78dfc53-7aa4-4241-9142-77c2c3597316" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_988eb084-81fb-4b35-88b4-7ac46f5b4202" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b78dfc53-7aa4-4241-9142-77c2c3597316" xlink:to="loc_us-gaap_RestrictedStockMember_988eb084-81fb-4b35-88b4-7ac46f5b4202" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_89b452d8-2d63-4d2d-a4dd-319830ba7d52" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_89b452d8-2d63-4d2d-a4dd-319830ba7d52" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_89b452d8-2d63-4d2d-a4dd-319830ba7d52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_89b452d8-2d63-4d2d-a4dd-319830ba7d52" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_89b452d8-2d63-4d2d-a4dd-319830ba7d52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b61672af-c19b-4cb6-8336-d532339c6140" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_89b452d8-2d63-4d2d-a4dd-319830ba7d52" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b61672af-c19b-4cb6-8336-d532339c6140" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ATMEquityProgramMember_0bceb2b9-63b2-4724-a070-2d8105c75a62" xlink:href="rep-20250331.xsd#rep_ATMEquityProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b61672af-c19b-4cb6-8336-d532339c6140" xlink:to="loc_rep_ATMEquityProgramMember_0bceb2b9-63b2-4724-a070-2d8105c75a62" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_A2024EquityOfferingMember_af88390a-5e2e-404e-94bd-7dc2d6ddc9d9" xlink:href="rep-20250331.xsd#rep_A2024EquityOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b61672af-c19b-4cb6-8336-d532339c6140" xlink:to="loc_rep_A2024EquityOfferingMember_af88390a-5e2e-404e-94bd-7dc2d6ddc9d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_f4d57f62-e8e7-435c-83aa-f7185648642e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5709a154-6890-446e-a402-ec7661e376fe" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_f4d57f62-e8e7-435c-83aa-f7185648642e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f4d57f62-e8e7-435c-83aa-f7185648642e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f4d57f62-e8e7-435c-83aa-f7185648642e" xlink:to="loc_us-gaap_EquityComponentDomain_f4d57f62-e8e7-435c-83aa-f7185648642e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_a2222d8b-3f79-46d1-9c7d-5f3253b03412" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f4d57f62-e8e7-435c-83aa-f7185648642e" xlink:to="loc_us-gaap_EquityComponentDomain_a2222d8b-3f79-46d1-9c7d-5f3253b03412" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f2b3e764-05ba-4ee3-b65a-178b91182f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a2222d8b-3f79-46d1-9c7d-5f3253b03412" xlink:to="loc_us-gaap_CommonStockMember_f2b3e764-05ba-4ee3-b65a-178b91182f5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_0aa9eb86-625f-4dae-9dd2-7848c4a5fcaa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_DividendsCommonStockCash_0aa9eb86-625f-4dae-9dd2-7848c4a5fcaa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_06d43ec2-d204-49b4-b66f-7ea79c6da367" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_06d43ec2-d204-49b4-b66f-7ea79c6da367" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTotalExecutiveAwardValue_aaf689d5-aa87-4f9f-b828-fd8c0c57d496" xlink:href="rep-20250331.xsd#rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTotalExecutiveAwardValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTotalExecutiveAwardValue_aaf689d5-aa87-4f9f-b828-fd8c0c57d496" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_ddd13de5-ecdd-46c3-932f-56c74fb63753" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_ddd13de5-ecdd-46c3-932f-56c74fb63753" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage_64deec11-a4d4-4c23-8977-8dcf55e839b6" xlink:href="rep-20250331.xsd#rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage_64deec11-a4d4-4c23-8977-8dcf55e839b6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardCliffVestingTerm_7ef25a9d-ddcf-4f2c-8708-197b353dbf4f" xlink:href="rep-20250331.xsd#rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardCliffVestingTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_rep_ShareBasedCompensationArrangementByShareBasedPaymentAwardCliffVestingTerm_7ef25a9d-ddcf-4f2c-8708-197b353dbf4f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsPeriodIncreaseDecrease_e41d4496-4414-4225-8e3a-abaf1252d084" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsPeriodIncreaseDecrease_e41d4496-4414-4225-8e3a-abaf1252d084" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_a46fa617-d225-464c-a49c-a4d13a30eee3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_a46fa617-d225-464c-a49c-a4d13a30eee3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0b07a780-178b-4ce8-b4c9-94a40d87f605" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0b07a780-178b-4ce8-b4c9-94a40d87f605" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6b50a99f-7d2b-427a-887f-b769e92bf62b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6b50a99f-7d2b-427a-887f-b769e92bf62b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3bbd9142-2090-40c9-a950-39aedc753043" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3bbd9142-2090-40c9-a950-39aedc753043" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SaleOfStockMaximumAggregateOfferingPrice_4c856eba-aecf-4145-9308-c40ef1ca8723" xlink:href="rep-20250331.xsd#rep_SaleOfStockMaximumAggregateOfferingPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_rep_SaleOfStockMaximumAggregateOfferingPrice_4c856eba-aecf-4145-9308-c40ef1ca8723" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SaleOfStockCurrentlyAvailableForIssuanceUnderCurrentProgram_61488ba4-5788-470b-9160-0f14ab39146d" xlink:href="rep-20250331.xsd#rep_SaleOfStockCurrentlyAvailableForIssuanceUnderCurrentProgram"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_rep_SaleOfStockCurrentlyAvailableForIssuanceUnderCurrentProgram_61488ba4-5788-470b-9160-0f14ab39146d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_f5b8938f-f19d-4d94-8e26-16272b051b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_f5b8938f-f19d-4d94-8e26-16272b051b8a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_0181a301-fc58-4547-8abf-6f726cf3f4c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_0181a301-fc58-4547-8abf-6f726cf3f4c5" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c0ba8d75-32d5-476c-a294-ccf8a297946f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_d401b7a4-5de4-4787-afb4-253643244330" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c0ba8d75-32d5-476c-a294-ccf8a297946f" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/ShareholdersEquityScheduleofRestrictedStockActivityDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#ShareholdersEquityScheduleofRestrictedStockActivityDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/ShareholdersEquityScheduleofRestrictedStockActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f1a43cf6-9f31-4413-bd8d-56b2afce3ec2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_13986f58-4f7f-40e8-9f99-49a4b12d428a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f1a43cf6-9f31-4413-bd8d-56b2afce3ec2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_13986f58-4f7f-40e8-9f99-49a4b12d428a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_321689c4-f479-4d75-82fe-d9833d6b2cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_13986f58-4f7f-40e8-9f99-49a4b12d428a" xlink:to="loc_us-gaap_AwardTypeAxis_321689c4-f479-4d75-82fe-d9833d6b2cd5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_321689c4-f479-4d75-82fe-d9833d6b2cd5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_321689c4-f479-4d75-82fe-d9833d6b2cd5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_321689c4-f479-4d75-82fe-d9833d6b2cd5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ee46981a-22ad-4843-8680-a4475c952812" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_321689c4-f479-4d75-82fe-d9833d6b2cd5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ee46981a-22ad-4843-8680-a4475c952812" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_bbecf603-2522-4202-b226-4f7d528d7f20" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ee46981a-22ad-4843-8680-a4475c952812" xlink:to="loc_us-gaap_RestrictedStockMember_bbecf603-2522-4202-b226-4f7d528d7f20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_2816dee9-676c-49af-89e3-e5647c83502d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_13986f58-4f7f-40e8-9f99-49a4b12d428a" xlink:to="loc_us-gaap_PlanNameAxis_2816dee9-676c-49af-89e3-e5647c83502d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_2816dee9-676c-49af-89e3-e5647c83502d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_2816dee9-676c-49af-89e3-e5647c83502d" xlink:to="loc_us-gaap_PlanNameDomain_2816dee9-676c-49af-89e3-e5647c83502d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_93b99f6a-c6ef-45d6-8288-f47886529331" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_2816dee9-676c-49af-89e3-e5647c83502d" xlink:to="loc_us-gaap_PlanNameDomain_93b99f6a-c6ef-45d6-8288-f47886529331" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermInvestmentPlan2021Member_dbd8baf0-f18f-4f08-90f1-1c2806bd6f0a" xlink:href="rep-20250331.xsd#rep_LongTermInvestmentPlan2021Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_93b99f6a-c6ef-45d6-8288-f47886529331" xlink:to="loc_rep_LongTermInvestmentPlan2021Member_dbd8baf0-f18f-4f08-90f1-1c2806bd6f0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f1a43cf6-9f31-4413-bd8d-56b2afce3ec2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_30a89bb9-7edc-478c-be0a-6f29ab13c3e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_30a89bb9-7edc-478c-be0a-6f29ab13c3e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_62ddfb8a-ae8a-4757-a34f-7ae1fe2701be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_62ddfb8a-ae8a-4757-a34f-7ae1fe2701be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_56df1951-39e8-48db-99f6-e55f19ca8f64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_56df1951-39e8-48db-99f6-e55f19ca8f64" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_712a156d-a8aa-4eee-9d54-60a913ca0453" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_022dbae5-2846-426a-8b80-0c29b51103fc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_712a156d-a8aa-4eee-9d54-60a913ca0453" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0de8514c-c8fe-4c86-aeee-a5d9da4552f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f1a43cf6-9f31-4413-bd8d-56b2afce3ec2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_91bc5d52-fe7a-4704-81fc-15dac01c6a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_91bc5d52-fe7a-4704-81fc-15dac01c6a3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7654ab31-7784-4f34-8669-bc7f30cf19b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7654ab31-7784-4f34-8669-bc7f30cf19b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ba2ed6d6-6b92-456c-b889-be3612742ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ba2ed6d6-6b92-456c-b889-be3612742ee3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_d452179e-afea-4cbf-8247-29c55bba7d3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_af5723da-eec9-45fd-ae3d-0b37426df10c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_d452179e-afea-4cbf-8247-29c55bba7d3a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1acc0d21-ab66-4089-bff8-a6a6feda6bbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/NetIncomePerShareScheduleofAntiDilutiveSharesDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#NetIncomePerShareScheduleofAntiDilutiveSharesDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/NetIncomePerShareScheduleofAntiDilutiveSharesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0f1058b4-0e36-4356-927e-4335be3640be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_d4408652-0cf2-4c28-b82d-88eeac7b727d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0f1058b4-0e36-4356-927e-4335be3640be" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_d4408652-0cf2-4c28-b82d-88eeac7b727d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_d4408652-0cf2-4c28-b82d-88eeac7b727d" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_99b950a3-2264-4de8-8be9-0c0249cfbf34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2bcd598f-e15f-4cd2-bcc4-3d55e44216ea" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_99b950a3-2264-4de8-8be9-0c0249cfbf34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_1e24fbfc-5f8d-41dd-a4b4-09fc39f880ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_99b950a3-2264-4de8-8be9-0c0249cfbf34" xlink:to="loc_us-gaap_RestrictedStockMember_1e24fbfc-5f8d-41dd-a4b4-09fc39f880ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_7b75c075-426d-40e0-9798-2bd781fd3730" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0f1058b4-0e36-4356-927e-4335be3640be" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_7b75c075-426d-40e0-9798-2bd781fd3730" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/SegmentsScheduleofSegmentReportingInformationbySegmentDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#SegmentsScheduleofSegmentReportingInformationbySegmentDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/SegmentsScheduleofSegmentReportingInformationbySegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_1b54d36e-fa15-4dd1-abf7-67e5b4db4a71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_1b54d36e-fa15-4dd1-abf7-67e5b4db4a71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_1b54d36e-fa15-4dd1-abf7-67e5b4db4a71" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca" xlink:to="loc_us-gaap_SegmentDomain_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_84c322c2-6b7d-4b99-9fc9-e29ef51dcc56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_10ec65bd-d0f3-42ca-8f38-a91e2e4966ca" xlink:to="loc_us-gaap_SegmentDomain_84c322c2-6b7d-4b99-9fc9-e29ef51dcc56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ReportableSegmentMember_38a0ad34-1626-4d84-9d6d-e444a8472afd" xlink:href="rep-20250331.xsd#rep_ReportableSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_84c322c2-6b7d-4b99-9fc9-e29ef51dcc56" xlink:to="loc_rep_ReportableSegmentMember_38a0ad34-1626-4d84-9d6d-e444a8472afd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_300f3b3e-e20b-4c2f-84e1-82b3a5573432" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_300f3b3e-e20b-4c2f-84e1-82b3a5573432" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_23fc9ad6-a7d4-4bfc-9b52-7115fcf5e550" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_OperatingLeaseExpense_23fc9ad6-a7d4-4bfc-9b52-7115fcf5e550" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductionTaxExpense_d43df83c-4ccb-4fdd-b0f4-77389cbc718e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductionTaxExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_ProductionTaxExpense_d43df83c-4ccb-4fdd-b0f4-77389cbc718e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExplorationExpense_d260cc47-afa6-4efb-84f5-fbfce8c70e3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExplorationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_ExplorationExpense_d260cc47-afa6-4efb-84f5-fbfce8c70e3f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5499eee2-39a4-427e-8542-ccbddc05552e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5499eee2-39a4-427e-8542-ccbddc05552e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_e7372a02-0db0-43c4-8de3-0b2448a5c54a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_e7372a02-0db0-43c4-8de3-0b2448a5c54a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_2694f1fb-a5d0-4e10-b0de-0fae3ab9f930" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_2694f1fb-a5d0-4e10-b0de-0fae3ab9f930" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_ee1cdfc2-91a4-409b-be7b-91cfc8fd4b3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_ee1cdfc2-91a4-409b-be7b-91cfc8fd4b3a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_InterestExpenseNetNonoperating_9e4a30e3-11c7-4d61-8e9e-b35504a888c3" xlink:href="rep-20250331.xsd#rep_InterestExpenseNetNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_rep_InterestExpenseNetNonoperating_9e4a30e3-11c7-4d61-8e9e-b35504a888c3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_d094c14b-44d8-4b0d-a542-721786dd8cdc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_InterestIncomeOperating_d094c14b-44d8-4b0d-a542-721786dd8cdc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_e6713fd7-0c94-4d30-9a7d-2b3d344bb615" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_e6713fd7-0c94-4d30-9a7d-2b3d344bb615" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_ac125cbd-aec2-4526-b2f3-82558a917a07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_ac125cbd-aec2-4526-b2f3-82558a917a07" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_09cfe25e-ce96-4fcd-be41-4b336561a37c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_acc71c78-5413-4d66-878a-6a941447e105" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_09cfe25e-ce96-4fcd-be41-4b336561a37c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_efaa8a10-d59f-43c7-8d21-ac39cfd1db64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_NetIncomeLoss_efaa8a10-d59f-43c7-8d21-ac39cfd1db64" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_f9fb2769-5aad-4621-b56a-4835bf0bb1d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_Assets_f9fb2769-5aad-4621-b56a-4835bf0bb1d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_74525e6d-3885-4f6f-b22c-e29fe2498647" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentExpenditureAdditionToLongLivedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_74525e6d-3885-4f6f-b22c-e29fe2498647" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_ac0cc4b7-1d37-47e5-8b8b-4af6623c756e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_6fb6f9fd-22e8-4d7b-bfb0-226c3b0b98c3" xlink:to="loc_us-gaap_EquityMethodInvestments_ac0cc4b7-1d37-47e5-8b8b-4af6623c756e" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/CommitmentandContingenciesDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#CommitmentandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/CommitmentandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_1be69ee1-5fae-4b1f-bbfd-21e8b8e543cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_us-gaap_OtherCommitmentsTable_1be69ee1-5fae-4b1f-bbfd-21e8b8e543cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1f1b1a77-4d22-4aac-9218-4461a57dbc56" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_1be69ee1-5fae-4b1f-bbfd-21e8b8e543cd" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1f1b1a77-4d22-4aac-9218-4461a57dbc56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1f1b1a77-4d22-4aac-9218-4461a57dbc56_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1f1b1a77-4d22-4aac-9218-4461a57dbc56" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1f1b1a77-4d22-4aac-9218-4461a57dbc56_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_9394f9f9-ced2-42c3-b103-f7d3a9b82d93" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1f1b1a77-4d22-4aac-9218-4461a57dbc56" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_9394f9f9-ced2-42c3-b103-f7d3a9b82d93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_RPCPowerLLCMember_660fb694-487b-402b-8c38-f1041d918545" xlink:href="rep-20250331.xsd#rep_RPCPowerLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_9394f9f9-ced2-42c3-b103-f7d3a9b82d93" xlink:to="loc_rep_RPCPowerLLCMember_660fb694-487b-402b-8c38-f1041d918545" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_RPCMerchantMember_90ded0a5-3581-4b20-93dd-96fd3ec7da28" xlink:href="rep-20250331.xsd#rep_RPCMerchantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_9394f9f9-ced2-42c3-b103-f7d3a9b82d93" xlink:to="loc_rep_RPCMerchantMember_90ded0a5-3581-4b20-93dd-96fd3ec7da28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_1be69ee1-5fae-4b1f-bbfd-21e8b8e543cd" xlink:to="loc_us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProjectMember_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProjectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88" xlink:to="loc_us-gaap_ProjectMember_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProjectMember_3e45c4b1-11d1-450f-a467-6f5d60557b50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProjectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis_24ae9d6b-2c5b-41c5-9fb0-49bd2f4b2b88" xlink:to="loc_us-gaap_ProjectMember_3e45c4b1-11d1-450f-a467-6f5d60557b50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_TollingAgreementMember_b5841197-e29b-41a3-a2a3-7c0d0717cb94" xlink:href="rep-20250331.xsd#rep_TollingAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProjectMember_3e45c4b1-11d1-450f-a467-6f5d60557b50" xlink:to="loc_rep_TollingAgreementMember_b5841197-e29b-41a3-a2a3-7c0d0717cb94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SupplyAgreementMember_c15016a7-99e0-4422-a20a-4f57ed0d1520" xlink:href="rep-20250331.xsd#rep_SupplyAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProjectMember_3e45c4b1-11d1-450f-a467-6f5d60557b50" xlink:to="loc_rep_SupplyAgreementMember_c15016a7-99e0-4422-a20a-4f57ed0d1520" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_MidstreamGasPurchaseAgreementMember_1280666c-7f7a-49d8-b58e-0f95622bacad" xlink:href="rep-20250331.xsd#rep_MidstreamGasPurchaseAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProjectMember_3e45c4b1-11d1-450f-a467-6f5d60557b50" xlink:to="loc_rep_MidstreamGasPurchaseAgreementMember_1280666c-7f7a-49d8-b58e-0f95622bacad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccrualForEnvironmentalLossContingencies_ba565bd0-8ccf-457e-82d5-d61bfc1a32ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccrualForEnvironmentalLossContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_us-gaap_AccrualForEnvironmentalLossContingencies_ba565bd0-8ccf-457e-82d5-d61bfc1a32ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ContractualObligationDeliveryPeriod_b6394f84-87e2-4c71-895c-39fd4284a555" xlink:href="rep-20250331.xsd#rep_ContractualObligationDeliveryPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_ContractualObligationDeliveryPeriod_b6394f84-87e2-4c71-895c-39fd4284a555" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermPurchaseCommitmentPeriod_8478026a-6143-494a-b6c8-fd21ad9645a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermPurchaseCommitmentPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_us-gaap_LongtermPurchaseCommitmentPeriod_8478026a-6143-494a-b6c8-fd21ad9645a2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_ContractualObligationMonthlyFee_890d0174-1075-46c1-a733-63e01382191b" xlink:href="rep-20250331.xsd#rep_ContractualObligationMonthlyFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_ContractualObligationMonthlyFee_890d0174-1075-46c1-a733-63e01382191b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_EquityMethodInvestmentsCommitmentAmount_1860c102-7701-4182-96a4-60c64708a35f" xlink:href="rep-20250331.xsd#rep_EquityMethodInvestmentsCommitmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_EquityMethodInvestmentsCommitmentAmount_1860c102-7701-4182-96a4-60c64708a35f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermPurchaseCommitmentReimbursableConstructionCosts_268d7ee9-e590-4e10-aed3-db3a26995ee1" xlink:href="rep-20250331.xsd#rep_LongTermPurchaseCommitmentReimbursableConstructionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_LongTermPurchaseCommitmentReimbursableConstructionCosts_268d7ee9-e590-4e10-aed3-db3a26995ee1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermPurchaseCommitmentTerminationNoticePeriod_02a49350-4e20-4616-86e4-18a35d6da9eb" xlink:href="rep-20250331.xsd#rep_LongTermPurchaseCommitmentTerminationNoticePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_LongTermPurchaseCommitmentTerminationNoticePeriod_02a49350-4e20-4616-86e4-18a35d6da9eb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermPurchaseCommitmentSizeOfPipeline_20d0a6ba-b7c0-4b76-a690-83a7d58c223b" xlink:href="rep-20250331.xsd#rep_LongTermPurchaseCommitmentSizeOfPipeline"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_LongTermPurchaseCommitmentSizeOfPipeline_20d0a6ba-b7c0-4b76-a690-83a7d58c223b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermPurchaseCommitmentDailyVolumeOfPipeline_bfcc1042-3d55-4057-bb3a-9079fd3f3236" xlink:href="rep-20250331.xsd#rep_LongTermPurchaseCommitmentDailyVolumeOfPipeline"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_LongTermPurchaseCommitmentDailyVolumeOfPipeline_bfcc1042-3d55-4057-bb3a-9079fd3f3236" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_16e1328b-5bcf-489e-b2c6-e396011cd81c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_us-gaap_PurchaseObligation_16e1328b-5bcf-489e-b2c6-e396011cd81c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_LongTermPurchaseCommitmentNumberOfCompressors_42ede857-c7fb-437b-973d-e5a16465b909" xlink:href="rep-20250331.xsd#rep_LongTermPurchaseCommitmentNumberOfCompressors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_dbbf0d79-0f05-4b4e-bf32-29128f57f994" xlink:to="loc_rep_LongTermPurchaseCommitmentNumberOfCompressors_42ede857-c7fb-437b-973d-e5a16465b909" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://rileypermian.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="rep-20250331.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://rileypermian.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_d947e2e2-599d-471a-9a5e-83a42ac99ef4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_d947e2e2-599d-471a-9a5e-83a42ac99ef4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_d947e2e2-599d-471a-9a5e-83a42ac99ef4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_d947e2e2-599d-471a-9a5e-83a42ac99ef4" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_d947e2e2-599d-471a-9a5e-83a42ac99ef4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_7187c14c-506f-4844-9a37-ecb7ea3a5f3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_d947e2e2-599d-471a-9a5e-83a42ac99ef4" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_7187c14c-506f-4844-9a37-ecb7ea3a5f3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_6bced990-3130-4934-bf41-e8420d4b5bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_7187c14c-506f-4844-9a37-ecb7ea3a5f3a" xlink:to="loc_us-gaap_SubsequentEventMember_6bced990-3130-4934-bf41-e8420d4b5bf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_47c8f682-bed9-4f03-bc45-b162c32af6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5cb4a3e8-eb62-4726-aa16-04225f4e9ab1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_47c8f682-bed9-4f03-bc45-b162c32af6e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_SilverbackAcquisitionMember_0189bb4a-284a-48aa-9e93-212ca8098fc1" xlink:href="rep-20250331.xsd#rep_SilverbackAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_47c8f682-bed9-4f03-bc45-b162c32af6e0" xlink:to="loc_rep_SilverbackAcquisitionMember_0189bb4a-284a-48aa-9e93-212ca8098fc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_78ced635-328d-48c7-9329-0c6ce83903a8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:to="loc_srt_StatementScenarioAxis_78ced635-328d-48c7-9329-0c6ce83903a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_78ced635-328d-48c7-9329-0c6ce83903a8_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_78ced635-328d-48c7-9329-0c6ce83903a8" xlink:to="loc_srt_ScenarioUnspecifiedDomain_78ced635-328d-48c7-9329-0c6ce83903a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_38a1df4b-2652-4e23-b938-2f0ccfda4f8d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_78ced635-328d-48c7-9329-0c6ce83903a8" xlink:to="loc_srt_ScenarioUnspecifiedDomain_38a1df4b-2652-4e23-b938-2f0ccfda4f8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_567df333-46b3-45c1-9980-684b0f43601e" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_38a1df4b-2652-4e23-b938-2f0ccfda4f8d" xlink:to="loc_srt_ScenarioForecastMember_567df333-46b3-45c1-9980-684b0f43601e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_fb128f48-ead1-4634-8e59-21e2d272d302" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_0908bfda-9800-4ccb-8a87-180c9f71bc21" xlink:to="loc_srt_RangeAxis_fb128f48-ead1-4634-8e59-21e2d272d302" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fb128f48-ead1-4634-8e59-21e2d272d302_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_fb128f48-ead1-4634-8e59-21e2d272d302" xlink:to="loc_srt_RangeMember_fb128f48-ead1-4634-8e59-21e2d272d302_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9bb43b7b-4813-4807-ab3c-2c0021cc116b" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_fb128f48-ead1-4634-8e59-21e2d272d302" xlink:to="loc_srt_RangeMember_9bb43b7b-4813-4807-ab3c-2c0021cc116b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8eddff12-a376-4d3e-82fc-57335c2cc157" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9bb43b7b-4813-4807-ab3c-2c0021cc116b" xlink:to="loc_srt_MinimumMember_8eddff12-a376-4d3e-82fc-57335c2cc157" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_24b8f874-81f5-41bf-acef-d863ab00de0c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9bb43b7b-4813-4807-ab3c-2c0021cc116b" xlink:to="loc_srt_MaximumMember_24b8f874-81f5-41bf-acef-d863ab00de0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_31fe707d-f756-4a2b-93d9-94071687e54f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_31fe707d-f756-4a2b-93d9-94071687e54f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_45a29b44-85f4-4fc4-b6c7-b13c41a1e210" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_45a29b44-85f4-4fc4-b6c7-b13c41a1e210" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_c9b2846c-5dfd-4455-9052-4aeebf5b29bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_c9b2846c-5dfd-4455-9052-4aeebf5b29bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_BusinessCombinationContingentConsiderationLiabilityQuarterlyPayment_75409233-e1ce-4990-819d-9db05d150f20" xlink:href="rep-20250331.xsd#rep_BusinessCombinationContingentConsiderationLiabilityQuarterlyPayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_rep_BusinessCombinationContingentConsiderationLiabilityQuarterlyPayment_75409233-e1ce-4990-819d-9db05d150f20" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_BusinessCombinationContingentConsiderationThresholdPricePerBarrel_c2aa27f7-99bd-4747-928c-f8a90b53f96d" xlink:href="rep-20250331.xsd#rep_BusinessCombinationContingentConsiderationThresholdPricePerBarrel"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_rep_BusinessCombinationContingentConsiderationThresholdPricePerBarrel_c2aa27f7-99bd-4747-928c-f8a90b53f96d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rep_BusinessCombinationExpectedIncreaseInAcreage_78f15eb2-f083-4eb8-ba18-2601a4e50d97" xlink:href="rep-20250331.xsd#rep_BusinessCombinationExpectedIncreaseInAcreage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_2e472b47-50ca-4210-87cb-55df905ad366" xlink:to="loc_rep_BusinessCombinationExpectedIncreaseInAcreage_78f15eb2-f083-4eb8-ba18-2601a4e50d97" xlink:type="arc" order="5"/>
  </link:definitionLink>
</link:linkbase>
