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

Time bar (total: 3.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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)

sample815.0ms (24.6%)

Memory
-1.4MiB live, 505.4MiB allocated
Samples
405.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 267.0ms
ival-mult: 255.0ms (95.5% of total)
ival-true: 6.0ms (2.2% of total)
exact: 4.0ms (1.5% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain146.0ms (4.4%)

Memory
8.7MiB live, 51.3MiB 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 29 to 16 computations (44.8% saved)

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

preprocess99.0ms (3%)

Memory
-20.7MiB live, 17.8MiB allocated
Algorithm
egg-herbie
Rules
46×distribute-lft-neg-in
38×associate-*r*
32×distribute-lft-in
24×cancel-sign-sub-inv
24×distribute-rgt-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12310
26310
316410
421610
522810
045
065
195
2125
0125
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 (*.f64 #s(literal 3 binary64) x) x)
Symmetry

(abs x)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify4.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB 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×lower-*.f32
10×lower-*.f64
*-commutative
lift-*.f64
associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1910
21210
01210
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 (*.f64 #s(literal 3 binary64) x) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)

localize13.0ms (0.4%)

Memory
-11.7MiB live, 26.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x #s(literal 3 binary64))
accuracy0.14453125
(*.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 (90% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
8.5MiB live, 8.5MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal 3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal 3 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 3 binary64)) (patch (*.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify3.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB allocated
Algorithm
egg-herbie
Rules
14×lower-*.f64
14×lower-*.f32
*-commutative
lower-pow.f64
associate-*r*
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 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 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 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))

rewrite89.0ms (2.7%)

Memory
17.3MiB live, 101.8MiB allocated
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
1910
21210
31410
42110
53710
69310
72792
816642
916892
1018122
1130322
083662
Stop Event
iter limit
node limit
iter limit
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x #s(literal 3 binary64))
Outputs
#<batchref>
#<batchref>

eval7.0ms (0.2%)

Memory
-32.0MiB live, 5.8MiB allocated
Compiler

Compiled 148 to 9 computations (93.9% saved)

prune3.0ms (0.1%)

Memory
9.9MiB live, 9.9MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New23326
Fresh000
Picked011
Done000
Total23427
Accuracy
99.9%
Counts
27 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
7.0%
(*.f64 #s(literal 3 binary64) x)
99.8%
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
4.4%
#s(literal 3 binary64)
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify4.0ms (0.1%)

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

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0827
01127
11527
01527
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(literal 3 binary64)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 x x)
x
#s(literal 3 binary64)
(*.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)
x
Outputs
#s(literal 3 binary64)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
#s(approx (* (* x 3) x) (*.f64 (*.f64 x #s(literal 3 binary64)) x))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x x)
x
#s(literal 3 binary64)
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)
x

localize21.0ms (0.6%)

Memory
8.5MiB live, 46.8MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 3 binary64) x)
accuracy0
(*.f64 x x)
accuracy0
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
accuracy0.1328125
(*.f64 (*.f64 x x) #s(literal 3 binary64))
Samples
16.0ms256×0valid
Compiler

Compiled 23 to 9 computations (60.9% saved)

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

series3.0ms (0.1%)

Memory
7.5MiB live, 7.5MiB allocated
Counts
4 → 48
Calls
Call 1
Inputs
#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) (patch #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 3 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 3 binary64) x) (patch (*.f64 #s(literal 3 binary64) x) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify7.0ms (0.2%)

Memory
-29.9MiB live, 8.6MiB allocated
Algorithm
egg-herbie
Rules
14×lower-*.f64
14×lower-*.f32
*-commutative
lower-pow.f64
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06192
19192
211192
011192
Stop Event
iter limit
saturated
Counts
48 → 48
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))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 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))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 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))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))
(* 3 x)
(*.f64 x #s(literal 3 binary64))

rewrite76.0ms (2.3%)

Memory
10.2MiB live, 133.5MiB allocated
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0822
01124
11724
22424
34024
49624
52876
617076
717326
818556
930886
084816
Stop Event
iter limit
node limit
iter limit
Counts
4 → 5
Calls
Call 1
Inputs
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 x x)
(*.f64 #s(literal 3 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval4.0ms (0.1%)

Memory
12.6MiB live, 12.6MiB allocated
Compiler

Compiled 301 to 17 computations (94.4% saved)

prune8.0ms (0.2%)

Memory
-20.9MiB live, 18.0MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New53053
Fresh000
Picked033
Done011
Total53457
Accuracy
99.9%
Counts
57 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
7.0%
(*.f64 #s(literal 3 binary64) x)
99.8%
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
4.4%
#s(literal 3 binary64)
Compiler

Compiled 30 to 22 computations (26.7% saved)

regimes4.0ms (0.1%)

Memory
11.8MiB live, 11.8MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(literal 3 binary64)
(*.f64 #s(literal 3 binary64) x)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Outputs
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
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 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
10.6MiB live, 10.6MiB 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
7.0%1x
7.0%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
8.7MiB live, 8.7MiB 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%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
4.4%1x
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify55.0ms (1.7%)

Memory
-14.5MiB live, 67.5MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
Iterations

Useful iterations: 0 (0.0ms)

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

soundness1.9s (57.6%)

Memory
-8.5MiB live, 109.3MiB allocated
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
1910
21210
31410
42110
53710
69310
72792
816642
916892
1018122
1130322
083662
0696
1996
21196
01196
Stop Event
done
iter limit
saturated
iter limit
node limit
iter limit
Compiler

Compiled 15 to 10 computations (33.3% saved)

preprocess36.0ms (1.1%)

Memory
-6.2MiB live, 69.5MiB allocated
Remove

(abs x)

Compiler

Compiled 42 to 30 computations (28.6% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...