proof_status_factory.rb revision 5c05c746aa1fa24fcdc855db7ff63cd59ee4e1bf
end
end
end
end
end
end
factory :proof_statuses, class: Array do
statuses = [
'name' => 'Open',
'label' => 'primary',
'description' => 'A success value has never been established.',
'solved' => false},
{ 'identifier' => 'SUC',
'name' => 'Success',
'label' => 'primary',
'description' => 'The logical data has been processed successfully.',
'solved' => true},
'name' => 'Theorem',
'label' => 'success',
'description' =>
['All models of Ax are models of C.',
'- F is valid, and C is a theorem of Ax.',
'solved' => true},
'name' => 'NoConsequence',
'label' => 'danger',
'description' =>
['Some interpretations are models of Ax,',
'some models of Ax are models of C, and',
'some models of Ax are models of ~C.',
'- F is not valid, F is satisfiable, ~F is not valid,',
'~F is satisfiable, and C is not a theorem of Ax.',
'- Possible dataforms are pairs of models,',
'solved' => true},
'name' => 'Unknown',
'label' => 'primary',
'description' =>
'Success value unknown, and no assumption has been made.',
'solved' => false},
{ 'identifier' => 'CSA',
'name' => 'CounterSatisfiable',
'label' => 'danger',
'description' =>
['Some interpretations are models of Ax, and',
'some models of Ax are models of ~C.',
'- F is not valid, ~F is satisfiable, and C is not a theorem of Ax.',
'solved' => true}]
statuses.map do |status|
end
end
end
end