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

Time bar (total: 3.3s)

analyze0.0ms (0%)

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 5 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample593.0ms (18%)

Results
418.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 174.0ms
ival-mult: 160.0ms (92.2% of total)
const: 11.0ms (6.3% of total)
backward-pass: 3.0ms (1.7% of total)
Bogosity

preprocess23.0ms (0.7%)

Algorithm
egg-herbie
Rules
122×fnmadd-define
120×fnmsub-define
120×fmsub-define
104×fma-define
44×distribute-lft-neg-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0818
12715
26812
316912
426612
541212
650012
045
175
2104
3114
0114
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 (square x))
(* (* (neg x) 3) (neg x))
(* 3 (square x))
(neg (* (* (neg x) 3) (neg x)))
(* -3 (square x))
Symmetry

(abs x)

explain55.0ms (1.7%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(*.f64 x #s(literal 3 binary64))
00-0-#s(literal 3 binary64)
00-0-(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Results
35.0ms512×0valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 7.0ms (86.4% of total)
const: 1.0ms (12.3% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0%)

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)

simplify9.0ms (0.3%)

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: 2 (0.0ms)

IterNodesCost
0410
1710
2109
3119
0119
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)

localize23.0ms (0.7%)

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)
Results
14.0ms256×0valid
Compiler

Compiled 12 to 5 computations (58.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 4.0ms (98.7% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series2.0ms (0.1%)

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
0.0ms
x
@0
(* (* x 3) x)
0.0ms
x
@inf
(* (* x 3) x)
0.0ms
x
@0
(* x 3)
0.0ms
x
@-inf
(* x 3)
0.0ms
x
@inf
(* x 3)

rewrite195.0ms (5.9%)

Algorithm
batch-egg-rewrite
Rules
2200×pow-lowering-pow.f64
2200×pow-lowering-pow.f32
1432×prod-exp
1304×*-lowering-*.f32
1304×*-lowering-*.f64
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
2108
3138
4208
5378
6958
72882
818742
919062
1020402
1133382
087332
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)

simplify20.0ms (0.6%)

Algorithm
egg-herbie
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
pow-lowering-pow.f64
pow-lowering-pow.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0696
1984
21284
01284
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)

eval2.0ms (0.1%)

Compiler

Compiled 125 to 5 computations (96% saved)

prune2.0ms (0.1%)

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.6%
(*.f64 #s(literal 3 binary64) x)
4.1%
#s(literal 3 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify4.0ms (0.1%)

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

localize20.0ms (0.6%)

Localize:

Found 1 expressions of interest:

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

Compiled 8 to 4 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-mult: 2.0ms (85.3% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series0.0ms (0%)

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
@-inf
(* 3 x)
0.0ms
x
@0
(* 3 x)

rewrite69.0ms (2.1%)

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))

simplify5.0ms (0.1%)

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)

eval1.0ms (0%)

Compiler

Compiled 43 to 4 computations (90.7% saved)

prune2.0ms (0.1%)

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.6%
(*.f64 #s(literal 3 binary64) x)
4.1%
#s(literal 3 binary64)
Compiler

Compiled 22 to 14 computations (36.4% saved)

regimes4.0ms (0.1%)

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
x
2.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) 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)

regimes5.0ms (0.1%)

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

1 calls:

5.0ms
x
Results
AccuracySegmentsBranch
6.6%1x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes2.0ms (0%)

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

1 calls:

1.0ms
x
Results
AccuracySegmentsBranch
4.1%1x
Compiler

Compiled 2 to 1 computations (50% saved)

simplify8.0ms (0.2%)

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.2s (67.5%)

Rules
2200×pow-lowering-pow.f64
2200×pow-lowering-pow.f32
1432×prod-exp
1304×*-lowering-*.f32
1304×*-lowering-*.f64
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
2108
3138
4208
5378
6958
72882
818742
919062
1020402
1133382
087332
Stop Event
done
iter limit
node limit
Compiler

Compiled 10 to 4 computations (60% saved)

preprocess32.0ms (1%)

Remove

(abs x)

Compiler

Compiled 68 to 40 computations (41.2% saved)

end0.0ms (0%)

Profiling

Loading profile data...