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

Time bar (total: 3.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample678.0ms (21.8%)

Memory
17.5MiB live, 486.4MiB allocated
Samples
425.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 287.0ms
ival-mult: 272.0ms (94.9% of total)
ival-true: 6.0ms (2.1% of total)
exact: 5.0ms (1.7% of total)
ival-assert: 3.0ms (1% of total)
Bogosity

explain61.0ms (1.9%)

Memory
2.6MiB live, 78.5MiB 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
38.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess17.0ms (0.5%)

Memory
-15.2MiB live, 23.1MiB allocated
Algorithm
egg-herbie
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
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 5 to 4 computations (20% saved)

simplify3.0ms (0.1%)

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

localize12.0ms (0.4%)

Memory
23.1MiB live, 23.1MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 22 to 10 computations (54.5% saved)

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

series7.0ms (0.2%)

Memory
-37.7MiB live, 5.4MiB 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
5.0ms
x
@inf
((* (* x 3) x) (* x 3))
1.0ms
x
@0
((* (* x 3) x) (* x 3))
1.0ms
x
@-inf
((* (* x 3) x) (* x 3))

simplify3.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Algorithm
egg-herbie
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))

rewrite99.0ms (3.2%)

Memory
14.8MiB live, 91.7MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
066
196
2126
3146
4216
5376
6936
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>

eval2.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB allocated
Compiler

Compiled 148 to 9 computations (93.9% saved)

prune3.0ms (0.1%)

Memory
8.6MiB live, 8.6MiB 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.7%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
6.9%
(*.f64 #s(literal 3 binary64) x)
99.8%
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
4.2%
#s(literal 3 binary64)
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify3.0ms (0.1%)

Memory
4.4MiB live, 4.4MiB 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)))
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.7%)

Memory
3.2MiB live, 41.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.10546875
(*.f64 (*.f64 x x) #s(literal 3 binary64))
Samples
16.0ms256×0valid
Compiler

Compiled 45 to 15 computations (66.7% saved)

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

series35.0ms (1.1%)

Memory
-32.8MiB live, 8.9MiB 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
33.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))

simplify3.0ms (0.1%)

Memory
4.3MiB live, 4.3MiB allocated
Algorithm
egg-herbie
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))

rewrite71.0ms (2.3%)

Memory
25.9MiB live, 102.7MiB allocated
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0822
01124
11724
22424
34024
49624
52876
616986
717236
818466
930656
084216
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>

eval7.0ms (0.2%)

Memory
-26.5MiB live, 11.3MiB allocated
Compiler

Compiled 301 to 17 computations (94.4% saved)

prune7.0ms (0.2%)

Memory
18.5MiB live, 18.5MiB 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.7%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
6.9%
(*.f64 #s(literal 3 binary64) x)
99.8%
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
4.2%
#s(literal 3 binary64)
Compiler

Compiled 30 to 22 computations (26.7% saved)

regimes5.0ms (0.1%)

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

regimes14.0ms (0.4%)

Memory
-21.0MiB live, 19.8MiB 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:

8.0ms
x
5.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 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.2%1x
4.2%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify26.0ms (0.8%)

Memory
-11.1MiB live, 64.0MiB allocated
Algorithm
egg-herbie
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)))
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
(*.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)

soundness2.0s (63.8%)

Memory
-12.1MiB live, 115.0MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0696
1996
21196
01196
048
066
196
2126
3146
4216
5376
6936
72792
816642
916892
1018122
1130322
083662
Stop Event
done
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 15 to 10 computations (33.3% saved)

preprocess48.0ms (1.6%)

Memory
29.9MiB live, 105.7MiB allocated
Remove

(abs x)

Compiler

Compiled 54 to 40 computations (25.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...