Class: ADSL::DS::DSIn

Inherits:
DSNode show all
Defined in:
lib/adsl/ds/data_store_spec.rb,
lib/adsl/spass/spass_ds_extensions.rb

Instance Method Summary collapse

Methods inherited from DSNode

#list_entity_classes_read, #list_entity_classes_written_to, #replace, #replace_var

Instance Method Details

#resolve_invariant_formula(translation) ⇒ Object



907
908
909
910
911
912
913
914
915
916
917
# File 'lib/adsl/spass/spass_ds_extensions.rb', line 907

def resolve_invariant_formula(translation)
  translation.reserve_names :temp do |temp|
    return FOL::ForAll.new(temp, FOL::Implies.new(
      translation.invariant_state[temp],
      FOL::Implies.new(
        @objset1.resolve_invariant_objset(translation, temp),
        @objset2.resolve_invariant_objset(translation, temp)
      )
    ))
  end
end

#typeObject



278
279
280
# File 'lib/adsl/ds/data_store_spec.rb', line 278

def type
  :formula
end