ENA, Section 1.4, Exercise 1

Time bar (total: 2.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze4.0ms (0.2%)

Memory
6.6MiB live, 6.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%0%100%0%0%0%0
0%0%0%100%0%0%0%1
0%0%0%100%0%0%0%2
50%0%0%100%0%0%0%3
75%0%0%100%0%0%0%4
87.5%0%0%100%0%0%0%5
93.8%0%0%100%0%0%0%6
96.9%0%0%100%0%0%0%7
98.4%0%0%100%0%0%0%8
99.2%0%0%100%0%0%0%9
99.6%0%0%100%0%0%0%10
99.8%0%0%100%0%0%0%11
99.9%0%0%100%0%0%0%12
Compiler

Compiled 17 to 13 computations (23.5% saved)

sample1.4s (68.8%)

Memory
32.3MiB live, 1 451.2MiB allocated; 328ms collecting garbage
Samples
1.0s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 758.0ms
ival-cos: 440.0ms (58.1% of total)
ival-mult!: 224.0ms (29.6% of total)
ival-exp: 92.0ms (12.1% of total)
adjust: 2.0ms (0.3% of total)
ival-and: 0.0ms (0% of total)
ival-<=: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

preprocess92.0ms (4.6%)

Memory
-45.0MiB live, 54.1MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01428
16128
220928
380628
4685528
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
Symmetry

(abs x)

Compiler

Compiled 14 to 14 computations (0% saved)

series4.0ms (0.2%)

Memory
8.2MiB live, 8.2MiB allocated; 0ms collecting garbage
Counts
7 → 16
Calls
Call 1
Inputs
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
(cos.f64 x)
x
(exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x)))
(*.f64 #s(literal 10 binary64) (*.f64 x x))
#s(literal 10 binary64)
(*.f64 x x)
Outputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 1))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* 19/2 (pow x 2)))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* 1081/24 (pow x 2)))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* (pow x 2) (+ 1081/24 (* 102299/720 (pow x 2)))))))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* 10 (pow x 2)))))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 10 (* 50 (pow x 2)))))))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 10 (* (pow x 2) (+ 50 (* 500/3 (pow x 2)))))))))
#s(approx (* 10 (* x x)) #s(hole binary64 (* 10 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (* (cos x) (exp (* 10 (pow x 2))))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (exp (* 10 (pow x 2)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((* (cos x) (exp (* 10 (* x x)))) (cos x) x (exp (* 10 (* x x))) (* 10 (* x x)) 10 (* x x))
1.0ms
x
@-inf
((* (cos x) (exp (* 10 (* x x)))) (cos x) x (exp (* 10 (* x x))) (* 10 (* x x)) 10 (* x x))
1.0ms
x
@0
((* (cos x) (exp (* 10 (* x x)))) (cos x) x (exp (* 10 (* x x))) (* 10 (* x x)) 10 (* x x))

rewrite297.0ms (14.8%)

Memory
-11.5MiB live, 209.1MiB allocated; 107ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078273
086273
1518273
23548273
Stop Event
iter-limit
unsound
node-limit
iter-limit
Counts
23 → 14
Calls
Call 1
Inputs
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
(cos.f64 x)
x
(exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x)))
(*.f64 #s(literal 10 binary64) (*.f64 x x))
#s(literal 10 binary64)
(*.f64 x x)
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 1))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* 19/2 (pow x 2)))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* 1081/24 (pow x 2)))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* (pow x 2) (+ 1081/24 (* 102299/720 (pow x 2)))))))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* 10 (pow x 2)))))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 10 (* 50 (pow x 2)))))))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 10 (* (pow x 2) (+ 50 (* 500/3 (pow x 2)))))))))
#s(approx (* 10 (* x x)) #s(hole binary64 (* 10 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (* (cos x) (exp (* 10 (pow x 2))))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (* 10 (* x x))) #s(hole binary64 (exp (* 10 (pow x 2)))))
Outputs
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
(cos.f64 x)
x
(exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x)))
(*.f64 #s(literal 10 binary64) (*.f64 x x))
#s(literal 10 binary64)
(*.f64 x x)
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
#s(approx x x)
#s(approx (* 10 (* x x)) (*.f64 #s(literal 10 binary64) (*.f64 x x)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (cos x) (exp (* 10 (* x x)))) (*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x)))))
#s(approx (cos x) (cos.f64 x))
#s(approx (exp (* 10 (* x x))) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))

eval1.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 58 to 33 computations (43.1% saved)

prune1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New617
Fresh000
Picked011
Done000
Total628
Accuracy
94.5%
Counts
8 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
1.5%
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
Compiler

Compiled 16 to 16 computations (0% saved)

series1.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
Counts
2 → 5
Calls
Call 1
Inputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 1))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* 19/2 (pow x 2)))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* 1081/24 (pow x 2)))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* (pow x 2) (+ 1081/24 (* 102299/720 (pow x 2)))))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (* (cos x) (exp (* 10 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((* (cos x) (exp (* 10 (* x x)))) 1)
0.0ms
x
@-inf
((* (cos x) (exp (* 10 (* x x)))) 1)
0.0ms
x
@0
((* (cos x) (exp (* 10 (* x x)))) 1)

rewrite131.0ms (6.5%)

Memory
7.6MiB live, 147.0MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033111
033111
1211111
21417111
Stop Event
iter-limit
unsound
node-limit
saturated
Counts
7 → 3
Calls
Call 1
Inputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 1))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* 19/2 (pow x 2)))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* 1081/24 (pow x 2)))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (+ 1 (* (pow x 2) (+ 19/2 (* (pow x 2) (+ 1081/24 (* 102299/720 (pow x 2)))))))))
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(hole binary64 (* (cos x) (exp (* 10 (pow x 2))))))
Outputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Accuracy
94.5%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
1.5%
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
Compiler

Compiled 31 to 31 computations (0% saved)

regimes3.0ms (0.1%)

Memory
7.0MiB live, 7.0MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
Outputs
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
Calls

2 calls:

1.0ms
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
1.0ms
x
Results
AccuracySegmentsBranch
94.5%1(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
94.5%1x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes28.0ms (1.4%)

Memory
-24.7MiB live, 32.8MiB allocated; 10ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
Outputs
#s(approx (* (cos x) (exp (* 10 (* x x)))) #s(literal 1 binary64))
Calls

2 calls:

26.0ms
x
1.0ms
(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
1.5%1x
1.5%1(*.f64 (cos.f64 x) (exp.f64 (*.f64 #s(literal 10 binary64) (*.f64 x x))))
Compiler

Compiled 8 to 8 computations (0% saved)

derivations10.0ms (0.5%)

Memory
10.0MiB live, 10.0MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 15 to 15 computations (0% saved)

preprocess54.0ms (2.7%)

Memory
-24.3MiB live, 21.8MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 54 to 54 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...