def natural_certificate
bendtorch-core@0.1.0.0 · src/tensor/core_PROOF.bend:668
import bendtorch-core@0.1.0.0/src/tensor/core_PROOF.bend as CorePROOF
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
668def natural_certificate(+operation: Elementwise.Operation, +plan: Shape.BroadcastPlan, +cursor: Nat,
669 state: Elementwise.State<Shape.output_shape(plan)>) -> Elementwise.NaturalCertificate<operation, plan, cursor, state>:
670 natural_converted_certificate(operation, plan, cursor, state,
671 natural_decision_certificate(operation, plan, cursor, U32.from_nat(cursor), Shape.bool_case(Nat.is_eq(U32.to_nat(U32.from_nat(cursor)), cursor)), state))