Diagrams.Tangent:$catParam from diagrams-lib-1.3.0.3, F

Time bar (total: 2.9s)

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample620.0ms (21.1%)

Memory
4.9MiB live, 510.3MiB allocated
Samples
260.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 131.0ms
ival-mult: 119.0ms (90.6% of total)
ival-true: 5.0ms (3.8% of total)
exact: 4.0ms (3% of total)
ival-assert: 3.0ms (2.3% of total)
Bogosity

preprocess14.0ms (0.5%)

Memory
14.3MiB live, 14.3MiB allocated
Algorithm
egg-herbie
Rules
44×distribute-lft-neg-in
40×associate-*r*
32×distribute-lft-in
24×cancel-sign-sub-inv
22×distribute-rgt-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
12715
26815
316715
421915
523115
045
175
2105
0105
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* x 3) x)
Outputs
(* (* x 3) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
Call 2
Inputs
(* (* x 3) x)
(* (* (neg x) 3) (neg x))
(neg (* (* (neg x) 3) (neg x)))
Outputs
(* (* x 3) x)
(* 3 (* x x))
(* (* (neg x) 3) (neg x))
(* 3 (* x x))
(neg (* (* (neg x) 3) (neg x)))
(* -3 (* x x))
Symmetry

(abs x)

explain46.0ms (1.6%)

Memory
4.3MiB live, 51.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (*.f64 x #s(literal 3 binary64)) x)
00-0-#s(literal 3 binary64)
00-0-(*.f64 x #s(literal 3 binary64))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
16.0ms512×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 6.0ms (88.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify11.0ms (0.4%)

Memory
-31.3MiB live, 5.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 3 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
associate-*l*
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
1710
21010
01010
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* (* x 3) x)
(* x 3)
x
3
Outputs
(* (* x 3) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
(* x 3)
(*.f64 x #s(literal 3 binary64))
x
3
#s(literal 3 binary64)

localize13.0ms (0.5%)

Memory
23.1MiB live, 23.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x #s(literal 3 binary64))
accuracy99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Samples
8.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 3.0ms (89.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (* (* x 3) x)>
#<alt (* x 3)>
Outputs
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(* (* x 3) x)
0.0ms
x
@0
(* x 3)
0.0ms
x
@inf
(* (* x 3) x)
0.0ms
x
@-inf
(* x 3)
0.0ms
x
@inf
(* x 3)

rewrite150.0ms (5.1%)

Memory
-7.5MiB live, 238.1MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 136×pow-lowering-pow.f64
2 136×pow-lowering-pow.f32
1 588×*-lowering-*.f32
1 588×*-lowering-*.f64
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
21010
31210
41910
53510
69110
72772
816652
916902
1018132
1130302
083792
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* (* x 3) x)
(* x 3)
Outputs
#s(literal 3 binary64)
#s(literal 3 binary64)

simplify5.0ms (0.2%)

Memory
13.3MiB live, 13.3MiB allocated
Algorithm
egg-herbie
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
pow-lowering-pow.f64
pow-lowering-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0696
1996
21196
01196
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 (pow x 2))
(*.f64 x (*.f64 #s(literal 3 binary64) x))
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

eval5.0ms (0.2%)

Memory
-33.5MiB live, 8.4MiB allocated
Compiler

Compiled 125 to 5 computations (96% saved)

prune2.0ms (0.1%)

Memory
6.8MiB live, 6.8MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh000
Picked011
Done000
Total24327
Accuracy
99.8%
Counts
27 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
6.9%
(*.f64 #s(literal 3 binary64) x)
4.4%
#s(literal 3 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify3.0ms (0.1%)

Memory
8.8MiB live, 8.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 3 binary64) x)
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036
146
046
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
3
(* 3 x)
3
x
Outputs
3
#s(literal 3 binary64)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
3
#s(literal 3 binary64)
x

localize12.0ms (0.4%)

Memory
-6.0MiB live, 33.1MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 #s(literal 3 binary64) x)
Samples
8.0ms256×0valid
Compiler

Compiled 8 to 5 computations (37.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (70.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt (* 3 x)>
Outputs
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(* 3 x)
0.0ms
x
@0
(* 3 x)
0.0ms
x
@-inf
(* 3 x)

rewrite8.0ms (0.3%)

Memory
15.2MiB live, 15.2MiB allocated
Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
143
043
Stop Event
iter limit
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(* 3 x)
Outputs
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))

simplify3.0ms (0.1%)

Memory
8.1MiB live, 8.1MiB allocated
Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0336
1436
0436
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

eval3.0ms (0.1%)

Memory
-33.7MiB live, 5.4MiB allocated
Compiler

Compiled 43 to 4 computations (90.7% saved)

prune2.0ms (0.1%)

Memory
5.8MiB live, 5.8MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh000
Picked022
Done011
Total14317
Accuracy
99.8%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
6.9%
(*.f64 #s(literal 3 binary64) x)
4.4%
#s(literal 3 binary64)
Compiler

Compiled 22 to 14 computations (36.4% saved)

regimes4.0ms (0.1%)

Memory
10.9MiB live, 10.9MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(literal 3 binary64)
(*.f64 #s(literal 3 binary64) x)
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Calls

2 calls:

2.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
2.0ms
x
Results
AccuracySegmentsBranch
99.8%1x
99.8%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

regimes3.0ms (0.1%)

Memory
9.5MiB live, 9.5MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 3 binary64)
(*.f64 #s(literal 3 binary64) x)
Outputs
(*.f64 #s(literal 3 binary64) x)
Calls

2 calls:

2.0ms
x
1.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Results
AccuracySegmentsBranch
6.9%1x
6.9%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

regimes3.0ms (0.1%)

Memory
8.0MiB live, 8.0MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(literal 3 binary64)
Outputs
#s(literal 3 binary64)
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Results
AccuracySegmentsBranch
4.4%1x
4.4%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify8.0ms (0.3%)

Memory
-22.6MiB live, 16.1MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
169
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)

soundness2.0s (67.4%)

Memory
-8.1MiB live, 108.1MiB allocated
Rules
2 136×pow-lowering-pow.f64
2 136×pow-lowering-pow.f32
1 588×*-lowering-*.f32
1 588×*-lowering-*.f64
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
21010
31210
41910
53510
69110
72772
816652
916902
1018132
1130302
083792
Stop Event
done
iter limit
node limit
Compiler

Compiled 10 to 4 computations (60% saved)

preprocess37.0ms (1.3%)

Memory
16.5MiB live, 94.4MiB allocated
Remove

(abs x)

Compiler

Compiled 68 to 40 computations (41.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...