proof_status_factory.rb revision 1f41235c9549cfe332cc93df708e2c7199a17c65
end
end
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},
'name' => 'Contradictory',
'label' => 'primary',
'description' =>
['Contradictory ProofStatuses',
'At least one ProofAttempt resulted in "proven" result',
'while at least another ProofAttempt resulted in "disproven".',
'solved' => true},
{ '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},
{ 'identifier' => 'CSAS',
'name' => 'CounterSatisfiableWithSubset',
'label' => 'danger',
'description' =>
['Countersatifiability shown with a subset of the axioms - Countersatisfiability of the goal has not been proven yet.',
'Let SAx be the selected subset of Ax, SF = SAx + {C}.',
'Some interpretations are models of the selected subset of SAx, and',
'some models of SAx are models of ~C.',
'- SF is not valid, ~SF is satisfiable, and C is not a theorem of SAx.',
'solved' => true}]
statuses.map do |status|
end
end
end
end