FastMath repmul

Time bar (total: 29.4s)

analyze0.0ms (0%)

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

Compiled 9 to 6 computations (33.3% saved)

sample496.0ms (1.7%)

Memory
35.8MiB live, 1 864.3MiB allocated
Samples
315.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 177.0ms
ival-mult: 168.0ms (94.9% of total)
ival-true: 5.0ms (2.8% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

preprocess18.0ms (0.1%)

Memory
-16.9MiB live, 105.2MiB allocated
Algorithm
egg-herbie
Rules
46×associate-*r*
36×distribute-lft-neg-in
24×unsub-neg
24×distribute-lft-neg-out
20×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0615
12813
21049
32017
42317
52437
047
175
293
3133
4153
0153
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* (* d1 d1) d1) d1)
Outputs
(* (* (* d1 d1) d1) d1)
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
Symmetry

(abs d1)

explain83.0ms (0.3%)

Memory
21.1MiB live, 544.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-d1
00-0-(*.f64 (*.f64 d1 d1) d1)
00-0-(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
00-0-(*.f64 d1 d1)
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
27.0ms512×0valid
Compiler

Compiled 52 to 20 computations (61.5% saved)

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

eval0.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0%)

Memory
-32.5MiB live, 7.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 8 to 4 computations (50% saved)

simplify4.0ms (0%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 d1 d1)
cost-diff0
(*.f64 (*.f64 d1 d1) d1)
cost-diff0
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Rules
12×*-lowering-*.f32
12×*-lowering-*.f64
pow-lowering-pow.f64
pow-lowering-pow.f32
associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0416
1712
2910
31310
41510
01510
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* (* (* d1 d1) d1) d1)
(* (* d1 d1) d1)
(* d1 d1)
d1
Outputs
(* (* (* d1 d1) d1) d1)
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(* (* d1 d1) d1)
(*.f64 d1 (*.f64 d1 d1))
(* d1 d1)
(*.f64 d1 d1)
d1

localize18.0ms (0.1%)

Memory
14.1MiB live, 94.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 d1 d1)
accuracy100.0%
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
accuracy99.9%
(*.f64 (*.f64 d1 d1) d1)
Samples
12.0ms256×0valid
Compiler

Compiled 18 to 6 computations (66.7% saved)

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

series3.0ms (0%)

Memory
-21.5MiB live, 18.0MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#<alt (* (* (* d1 d1) d1) d1)>
#<alt (* (* d1 d1) d1)>
#<alt (* d1 d1)>
Outputs
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
Calls

9 calls:

TimeVariablePointExpression
0.0ms
d1
@0
(* (* (* d1 d1) d1) d1)
0.0ms
d1
@inf
(* (* (* d1 d1) d1) d1)
0.0ms
d1
@-inf
(* (* d1 d1) d1)
0.0ms
d1
@0
(* (* d1 d1) d1)
0.0ms
d1
@inf
(* (* d1 d1) d1)

rewrite102.0ms (0.3%)

Memory
5.2MiB live, 203.1MiB allocated
Algorithm
batch-egg-rewrite
Rules
560×*-lowering-*.f32
560×*-lowering-*.f64
398×accelerator-lowering-fma.f32
398×accelerator-lowering-fma.f64
190×pow-lowering-pow.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0411
1119
2319
3749
42519
010129
Stop Event
iter limit
iter limit
iter limit
unsound
Counts
3 → 85
Calls
Call 1
Inputs
(* (* (* d1 d1) d1) d1)
(* (* d1 d1) d1)
(* d1 d1)
Outputs
(exp.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(exp.f64 (fma.f64 #s(literal 3/2 binary64) (log.f64 d1) (*.f64 (log.f64 d1) #s(literal 5/2 binary64))))
(exp.f64 (fma.f64 (log.f64 d1) #s(literal 5/2 binary64) (*.f64 #s(literal 3/2 binary64) (log.f64 d1))))
(pow.f64 d1 #s(literal 4 binary64))
(pow.f64 (*.f64 d1 d1) #s(literal 2 binary64))
(pow.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 d1))) #s(literal 1 binary64))
(pow.f64 (sqrt.f64 d1) #s(literal 8 binary64))
(pow.f64 (exp.f64 #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (log.f64 d1)))
(pow.f64 (*.f64 (exp.f64 #s(literal 2 binary64)) (exp.f64 #s(literal 2 binary64))) (log.f64 d1))
(pow.f64 (exp.f64 #s(literal 4 binary64)) (log.f64 d1))
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
(*.f64 (*.f64 d1 (*.f64 d1 d1)) d1)
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (pow.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) #s(literal 1 binary64)))
(*.f64 (sqrt.f64 d1) (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))))
(*.f64 (sqrt.f64 d1) (pow.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) #s(literal 1 binary64)))
(*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (pow.f64 d1 #s(literal 13/4 binary64)))
(*.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) (*.f64 d1 (sqrt.f64 d1)))
(*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))))
(*.f64 (pow.f64 d1 #s(literal 3/8 binary64)) (*.f64 (pow.f64 d1 #s(literal 3/8 binary64)) (pow.f64 d1 #s(literal 13/4 binary64))))
(*.f64 (pow.f64 d1 #s(literal 5/4 binary64)) (*.f64 (pow.f64 d1 #s(literal 5/4 binary64)) (*.f64 d1 (sqrt.f64 d1))))
(*.f64 (pow.f64 d1 #s(literal 13/4 binary64)) (pow.f64 d1 #s(literal 3/4 binary64)))
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
(*.f64 (pow.f64 d1 #s(literal 7/4 binary64)) (pow.f64 d1 #s(literal 9/4 binary64)))
(*.f64 (pow.f64 d1 #s(literal 9/4 binary64)) (pow.f64 d1 #s(literal 7/4 binary64)))
(*.f64 (pow.f64 (pow.f64 d1 #s(literal 3/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 d1 #s(literal 13/4 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) #s(literal 1 binary64)) (*.f64 d1 (sqrt.f64 d1)))
(*.f64 (pow.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) #s(literal 1 binary64)) (sqrt.f64 d1))
(*.f64 (pow.f64 (pow.f64 d1 #s(literal 13/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 d1 #s(literal 3/4 binary64)) #s(literal 1 binary64)))
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (pow.f64 d1 #s(literal 5/4 binary64))) (pow.f64 d1 #s(literal 5/4 binary64)))
(*.f64 (*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 (sqrt.f64 d1))) (sqrt.f64 (sqrt.f64 d1)))
(*.f64 (*.f64 (pow.f64 d1 #s(literal 13/4 binary64)) (pow.f64 d1 #s(literal 3/8 binary64))) (pow.f64 d1 #s(literal 3/8 binary64)))
(exp.f64 (*.f64 #s(literal 3 binary64) (log.f64 d1)))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal 3 binary64))) (log.f64 d1)))
(pow.f64 d1 #s(literal 3 binary64))
(pow.f64 (*.f64 d1 d1) #s(literal 3/2 binary64))
(pow.f64 (*.f64 d1 (*.f64 d1 d1)) #s(literal 1 binary64))
(pow.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 d1))) #s(literal 3/4 binary64))
(pow.f64 (*.f64 d1 (sqrt.f64 d1)) #s(literal 2 binary64))
(pow.f64 (sqrt.f64 d1) #s(literal 6 binary64))
(pow.f64 (pow.f64 d1 #s(literal 3/4 binary64)) #s(literal 4 binary64))
(pow.f64 (exp.f64 #s(literal 3 binary64)) (log.f64 d1))
(pow.f64 (exp.f64 #s(literal 2 binary64)) (*.f64 #s(literal 3/2 binary64) (log.f64 d1)))
(pow.f64 (pow.f64 (exp.f64 #s(literal 3 binary64)) #s(literal 1 binary64)) (log.f64 d1))
(*.f64 d1 (*.f64 d1 d1))
(*.f64 (*.f64 d1 d1) d1)
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1)))
(*.f64 (sqrt.f64 d1) (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))
(*.f64 (sqrt.f64 d1) (pow.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) #s(literal 1 binary64)))
(*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (pow.f64 d1 #s(literal 9/4 binary64)))
(*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (pow.f64 (*.f64 d1 (sqrt.f64 d1)) #s(literal 3/2 binary64)))
(*.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) (sqrt.f64 d1))
(*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))))
(*.f64 (pow.f64 d1 #s(literal 3/8 binary64)) (*.f64 (pow.f64 d1 #s(literal 3/8 binary64)) (pow.f64 d1 #s(literal 9/4 binary64))))
(*.f64 (pow.f64 d1 #s(literal 9/4 binary64)) (pow.f64 d1 #s(literal 3/4 binary64)))
(*.f64 (pow.f64 (exp.f64 #s(literal 3 binary64)) (*.f64 (log.f64 d1) #s(literal 1/2 binary64))) (pow.f64 (exp.f64 #s(literal 3 binary64)) (*.f64 (log.f64 d1) #s(literal 1/2 binary64))))
(*.f64 (pow.f64 (*.f64 d1 (sqrt.f64 d1)) #s(literal 3/2 binary64)) (pow.f64 d1 #s(literal 3/4 binary64)))
(*.f64 (pow.f64 (pow.f64 d1 #s(literal 3/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 d1 #s(literal 9/4 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (pow.f64 d1 #s(literal 9/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 d1 #s(literal 3/4 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) #s(literal 1 binary64)) (sqrt.f64 d1))
(*.f64 (pow.f64 (exp.f64 #s(literal 3 binary64)) (/.f64 (log.f64 d1) #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal 3 binary64)) (/.f64 (log.f64 d1) #s(literal 2 binary64))))
(*.f64 (*.f64 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))) (sqrt.f64 (sqrt.f64 d1))) (sqrt.f64 (sqrt.f64 d1)))
(*.f64 (*.f64 (pow.f64 d1 #s(literal 9/4 binary64)) (pow.f64 d1 #s(literal 3/8 binary64))) (pow.f64 d1 #s(literal 3/8 binary64)))
(exp.f64 (*.f64 #s(literal 2 binary64) (log.f64 d1)))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal 2 binary64))) (log.f64 d1)))
(exp.f64 (*.f64 (*.f64 (log.f64 d1) #s(literal 1/2 binary64)) #s(literal 4 binary64)))
(pow.f64 d1 #s(literal 2 binary64))
(pow.f64 (*.f64 d1 d1) #s(literal 1 binary64))
(pow.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 d1))) #s(literal 1/2 binary64))
(pow.f64 (sqrt.f64 d1) #s(literal 4 binary64))
(pow.f64 (exp.f64 #s(literal 2 binary64)) (log.f64 d1))
(pow.f64 (pow.f64 (exp.f64 #s(literal 2 binary64)) #s(literal 1 binary64)) (log.f64 d1))
(pow.f64 (exp.f64 #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) (log.f64 d1)))
(*.f64 d1 d1)
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (sqrt.f64 d1))
(*.f64 (sqrt.f64 d1) (*.f64 d1 (sqrt.f64 d1)))
(*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (pow.f64 d1 #s(literal 5/4 binary64)))
(*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 (sqrt.f64 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))))
(*.f64 (pow.f64 d1 #s(literal 5/4 binary64)) (pow.f64 d1 #s(literal 3/4 binary64)))
(*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 d1)) #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (sqrt.f64 d1)) #s(literal 4 binary64)))
(*.f64 (pow.f64 (exp.f64 #s(literal 2 binary64)) (/.f64 (log.f64 d1) #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal 2 binary64)) (/.f64 (log.f64 d1) #s(literal 2 binary64))))
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (sqrt.f64 (sqrt.f64 d1))) (sqrt.f64 (sqrt.f64 d1)))
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 d1)) (pow.f64 d1 #s(literal 3/4 binary64))) (*.f64 (sqrt.f64 (sqrt.f64 d1)) (pow.f64 d1 #s(literal 3/4 binary64))))
(*.f64 (*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (sqrt.f64 (sqrt.f64 d1))) (*.f64 (pow.f64 d1 #s(literal 3/4 binary64)) (sqrt.f64 (sqrt.f64 d1))))

simplify6.0ms (0%)

Memory
14.8MiB live, 14.8MiB allocated
Algorithm
egg-herbie
Rules
pow-lowering-pow.f64
pow-lowering-pow.f32
*-lowering-*.f32
*-lowering-*.f64
cube-mult
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07108
110108
212108
314108
014108
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
Outputs
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)

eval17.0ms (0.1%)

Memory
-3.0MiB live, 37.6MiB allocated
Compiler

Compiled 1 094 to 229 computations (79.1% saved)

prune11.0ms (0%)

Memory
-3.3MiB live, 35.5MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1174121
Fresh000
Picked011
Done000
Total1175122
Accuracy
100.0%
Counts
122 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 d1 #s(literal 4 binary64))
99.8%
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
99.9%
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
99.8%
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
99.8%
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
Compiler

Compiled 44 to 21 computations (52.3% saved)

simplify7.0ms (0%)

Memory
-20.6MiB live, 18.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff5504
(pow.f64 d1 #s(literal 4 binary64))
cost-diff0
(sqrt.f64 d1)
cost-diff0
(*.f64 d1 (sqrt.f64 d1))
cost-diff0
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
cost-diff1600
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1)))
cost-diff0
(*.f64 d1 (sqrt.f64 d1))
cost-diff0
(*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))
cost-diff0
(*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))
cost-diff1600
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
cost-diff0
(*.f64 d1 d1)
cost-diff0
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
Rules
56×*-lowering-*.f32
56×*-lowering-*.f64
30×associate-*r*
20×associate-*l*
16×pow-lowering-pow.f64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01271
13255
24547
35247
45943
56843
67043
07043
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* (* d1 d1) (* d1 d1))
(* d1 d1)
d1
(* (* d1 (* d1 (* d1 (sqrt d1)))) (sqrt d1))
(* d1 (* d1 (* d1 (sqrt d1))))
d1
(* d1 (* d1 (sqrt d1)))
(* d1 (sqrt d1))
(sqrt d1)
(* (* (* d1 (sqrt d1)) (* d1 (sqrt d1))) d1)
(* (* d1 (sqrt d1)) (* d1 (sqrt d1)))
(* d1 (sqrt d1))
d1
(sqrt d1)
(pow d1 4)
d1
4
Outputs
(* (* d1 d1) (* d1 d1))
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(* d1 d1)
(*.f64 d1 d1)
d1
(* (* d1 (* d1 (* d1 (sqrt d1)))) (sqrt d1))
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(* d1 (* d1 (* d1 (sqrt d1))))
(*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))
d1
(* d1 (* d1 (sqrt d1)))
(*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))
(* d1 (sqrt d1))
(*.f64 d1 (sqrt.f64 d1))
(sqrt d1)
(sqrt.f64 d1)
(* (* (* d1 (sqrt d1)) (* d1 (sqrt d1))) d1)
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(* (* d1 (sqrt d1)) (* d1 (sqrt d1)))
(*.f64 d1 (*.f64 d1 d1))
(* d1 (sqrt d1))
(*.f64 d1 (sqrt.f64 d1))
d1
(sqrt d1)
(sqrt.f64 d1)
(pow d1 4)
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
d1
4
#s(literal 4 binary64)

localize55.0ms (0.2%)

Memory
-6.8MiB live, 244.4MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(pow.f64 d1 #s(literal 4 binary64))
accuracy100.0%
(sqrt.f64 d1)
accuracy100.0%
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
accuracy99.8%
(*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1)))
accuracy99.7%
(*.f64 d1 (sqrt.f64 d1))
accuracy99.9%
(*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))
accuracy99.9%
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
accuracy99.9%
(*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1))))
accuracy99.7%
(*.f64 d1 (sqrt.f64 d1))
accuracy100.0%
(*.f64 d1 d1)
accuracy99.8%
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
Samples
36.0ms256×0valid
Compiler

Compiled 77 to 14 computations (81.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 26.0ms
ival-mult: 20.0ms (78% of total)
ival-pow: 3.0ms (11.7% of total)
ival-sqrt: 2.0ms (7.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0%)

Memory
26.0MiB live, 26.0MiB allocated
Counts
10 → 120
Calls
Call 1
Inputs
#<alt (* (* d1 d1) (* d1 d1))>
#<alt (* d1 d1)>
#<alt (* (* d1 (* d1 (* d1 (sqrt d1)))) (sqrt d1))>
#<alt (* d1 (* d1 (* d1 (sqrt d1))))>
#<alt (* d1 (* d1 (sqrt d1)))>
#<alt (* d1 (sqrt d1))>
#<alt (* (* d1 (sqrt d1)) (* d1 (sqrt d1)))>
#<alt (* (* (* d1 (sqrt d1)) (* d1 (sqrt d1))) d1)>
#<alt (sqrt d1)>
#<alt (pow d1 4)>
Outputs
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 2)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (sqrt (pow d1 7))>
#<alt (* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (sqrt (pow d1 5))>
#<alt (* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (sqrt (pow d1 3))>
#<alt (* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (pow d1 3)>
#<alt (* -1 (* (pow d1 3) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 3) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 3) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 3) (pow (sqrt -1) 2)))>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (pow d1 4) (pow (sqrt -1) 2)))>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (sqrt d1)>
#<alt (* -1 (* (sqrt d1) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt d1) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt d1) (pow (sqrt -1) 2)))>
#<alt (* -1 (* (sqrt d1) (pow (sqrt -1) 2)))>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
#<alt (pow d1 4)>
Calls

30 calls:

TimeVariablePointExpression
1.0ms
d1
@-inf
(* (* d1 (* d1 (* d1 (sqrt d1)))) (sqrt d1))
1.0ms
d1
@0
(* d1 (* d1 (* d1 (sqrt d1))))
0.0ms
d1
@-inf
(* d1 (* d1 (* d1 (sqrt d1))))
0.0ms
d1
@0
(* d1 (* d1 (sqrt d1)))
0.0ms
d1
@-inf
(* d1 (sqrt d1))

rewrite43.0ms (0.1%)

Memory
-20.5MiB live, 97.5MiB allocated
Algorithm
batch-egg-rewrite
Rules
864×pow-exp
720×pow-pow
596×pow-prod-down
480×prod-exp
384×frac-add
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01230
14230
29430
329730
4194910
0990010
Stop Event
iter limit
node limit
Counts
10 → 20
Calls
Call 1
Inputs
(* (* d1 d1) (* d1 d1))
(* d1 d1)
(* (* d1 (* d1 (* d1 (sqrt d1)))) (sqrt d1))
(* d1 (* d1 (* d1 (sqrt d1))))
(* d1 (* d1 (sqrt d1)))
(* d1 (sqrt d1))
(* (* d1 (sqrt d1)) (* d1 (sqrt d1)))
(* (* (* d1 (sqrt d1)) (* d1 (sqrt d1))) d1)
(sqrt d1)
(pow d1 4)
Outputs
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1

simplify63.0ms (0.2%)

Memory
-2.7MiB live, 116.7MiB allocated
Algorithm
egg-herbie
Rules
624×*-lowering-*.f32
624×*-lowering-*.f64
624×accelerator-lowering-fma.f32
624×accelerator-lowering-fma.f64
432×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030384
164384
2185384
3404384
4944384
51322384
61635384
71798384
81818384
91822384
101850384
111852384
01852384
Stop Event
iter limit
saturated
Counts
120 → 120
Calls
Call 1
Inputs
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(sqrt (pow d1 7))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(sqrt (pow d1 5))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(sqrt (pow d1 3))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(sqrt d1)
(sqrt d1)
(sqrt d1)
(sqrt d1)
(sqrt d1)
(sqrt d1)
(sqrt d1)
(sqrt d1)
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
(pow d1 4)
Outputs
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 7))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(* -1 (* (sqrt (pow d1 7)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 7 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 5))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(* -1 (* (sqrt (pow d1 5)) (pow (sqrt -1) 2)))
(sqrt.f64 (pow.f64 d1 #s(literal 5 binary64)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(sqrt (pow d1 3))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(* -1 (* (sqrt (pow d1 3)) (pow (sqrt -1) 2)))
(sqrt.f64 (*.f64 d1 (*.f64 d1 d1)))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(*.f64 d1 (*.f64 d1 d1))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(*.f64 d1 (*.f64 d1 d1))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(*.f64 d1 (*.f64 d1 d1))
(* -1 (* (pow d1 3) (pow (sqrt -1) 2)))
(*.f64 d1 (*.f64 d1 d1))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(* -1 (* (pow d1 4) (pow (sqrt -1) 2)))
(pow.f64 d1 #s(literal 4 binary64))
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(sqrt d1)
(sqrt.f64 d1)
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(sqrt.f64 d1)
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(sqrt.f64 d1)
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(sqrt.f64 d1)
(* -1 (* (sqrt d1) (pow (sqrt -1) 2)))
(sqrt.f64 d1)
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))
(pow d1 4)
(pow.f64 d1 #s(literal 4 binary64))

eval19.0ms (0.1%)

Memory
7.4MiB live, 45.7MiB allocated
Compiler

Compiled 1 767 to 64 computations (96.4% saved)

prune10.0ms (0%)

Memory
-6.5MiB live, 34.4MiB allocated
Pruning

8 alts after pruning (3 fresh and 5 done)

PrunedKeptTotal
New2213224
Fresh000
Picked044
Done011
Total2218229
Accuracy
100.0%
Counts
229 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 d1 #s(literal 4 binary64))
99.8%
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
99.9%
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
99.8%
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
99.8%
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
70.9%
(*.f64 (*.f64 d1 d1) d1)
56.7%
(*.f64 d1 d1)
6.0%
d1
Compiler

Compiled 56 to 27 computations (51.8% saved)

simplify3.0ms (0%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 d1 d1)
cost-diff0
(*.f64 (*.f64 d1 d1) d1)
cost-diff0
(*.f64 d1 d1)
Rules
*-lowering-*.f32
*-lowering-*.f64
pow-lowering-pow.f64
pow-lowering-pow.f32
cube-unmult
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0314
1412
2612
0612
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
d1
(* d1 d1)
d1
(* (* d1 d1) d1)
(* d1 d1)
d1
Outputs
d1
(* d1 d1)
(*.f64 d1 d1)
d1
(* (* d1 d1) d1)
(*.f64 d1 (*.f64 d1 d1))
(* d1 d1)
(*.f64 d1 d1)
d1

localize16.0ms (0.1%)

Memory
11.7MiB live, 90.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 d1 d1)
accuracy99.9%
(*.f64 (*.f64 d1 d1) d1)
accuracy100.0%
(*.f64 d1 d1)
Samples
10.0ms256×0valid
Compiler

Compiled 16 to 5 computations (68.8% saved)

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

series0.0ms (0%)

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

6 calls:

TimeVariablePointExpression
0.0ms
d1
@0
(* d1 d1)
0.0ms
d1
@inf
(* d1 d1)
0.0ms
d1
@-inf
(* (* d1 d1) d1)
0.0ms
d1
@0
(* (* d1 d1) d1)
0.0ms
d1
@-inf
(* d1 d1)

rewrite122.0ms (0.4%)

Memory
-3.4MiB live, 312.7MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 618×*-lowering-*.f32
2 618×*-lowering-*.f64
1 202×unpow-prod-down
1 036×log-prod
926×associate-*r*
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
036
186
2226
3506
41646
55692
640622
741202
843592
969032
086202
Stop Event
iter limit
node limit
Counts
2 → 4
Calls
Call 1
Inputs
(* d1 d1)
(* (* d1 d1) d1)
Outputs
#s(literal 1 binary64)
d1
#s(literal 1 binary64)
d1

simplify5.0ms (0%)

Memory
9.1MiB live, 9.1MiB allocated
Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
pow-lowering-pow.f64
pow-lowering-pow.f32
cube-mult
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0572
1872
21072
31272
01272
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 2)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
(pow d1 3)
Outputs
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 2)
(*.f64 d1 d1)
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))
(pow d1 3)
(*.f64 d1 (*.f64 d1 d1))

eval7.0ms (0%)

Memory
-30.3MiB live, 7.5MiB allocated
Compiler

Compiled 167 to 6 computations (96.4% saved)

prune4.0ms (0%)

Memory
9.9MiB live, 9.9MiB allocated
Pruning

8 alts after pruning (0 fresh and 8 done)

PrunedKeptTotal
New42042
Fresh000
Picked033
Done055
Total42850
Accuracy
100.0%
Counts
50 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 d1 #s(literal 4 binary64))
99.8%
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
99.9%
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
99.8%
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
99.8%
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
70.9%
(*.f64 (*.f64 d1 d1) d1)
56.7%
(*.f64 d1 d1)
6.0%
d1
Compiler

Compiled 105 to 41 computations (61% saved)

regimes6.0ms (0%)

Memory
13.0MiB live, 13.0MiB allocated
Counts
8 → 1
Calls
Call 1
Inputs
d1
(*.f64 d1 d1)
(*.f64 (*.f64 d1 d1) d1)
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
(pow.f64 d1 #s(literal 4 binary64))
Outputs
(pow.f64 d1 #s(literal 4 binary64))
Calls

2 calls:

3.0ms
d1
3.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
100.0%1d1
100.0%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 10 to 5 computations (50% saved)

regimes6.0ms (0%)

Memory
10.8MiB live, 10.8MiB allocated
Counts
7 → 1
Calls
Call 1
Inputs
d1
(*.f64 d1 d1)
(*.f64 (*.f64 d1 d1) d1)
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
(*.f64 (*.f64 d1 (*.f64 d1 (*.f64 d1 (sqrt.f64 d1)))) (sqrt.f64 d1))
(*.f64 (*.f64 (*.f64 d1 (sqrt.f64 d1)) (*.f64 d1 (sqrt.f64 d1))) d1)
Outputs
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Calls

2 calls:

3.0ms
d1
2.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
99.9%1d1
99.9%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 10 to 5 computations (50% saved)

regimes46.0ms (0.2%)

Memory
-36.2MiB live, 6.3MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
d1
(*.f64 d1 d1)
(*.f64 (*.f64 d1 d1) d1)
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
Outputs
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
Calls

2 calls:

2.0ms
d1
2.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
99.8%1d1
99.8%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 10 to 5 computations (50% saved)

regimes4.0ms (0%)

Memory
7.2MiB live, 7.2MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
d1
(*.f64 d1 d1)
(*.f64 (*.f64 d1 d1) d1)
Outputs
(*.f64 (*.f64 d1 d1) d1)
Calls

2 calls:

2.0ms
d1
2.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
70.9%1d1
70.9%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 10 to 5 computations (50% saved)

regimes3.0ms (0%)

Memory
5.2MiB live, 5.2MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
d1
(*.f64 d1 d1)
Outputs
(*.f64 d1 d1)
Calls

2 calls:

2.0ms
d1
1.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
56.7%1d1
56.7%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Compiler

Compiled 10 to 5 computations (50% saved)

regimes3.0ms (0%)

Memory
4.6MiB live, 4.6MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
d1
Outputs
d1
Calls

2 calls:

1.0ms
d1
1.0ms
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
Results
AccuracySegmentsBranch
6.0%1(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
6.0%1d1
Compiler

Compiled 10 to 5 computations (50% saved)

simplify7.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0726
1926
Stop Event
saturated
Calls
Call 1
Inputs
(pow.f64 d1 #s(literal 4 binary64))
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
(*.f64 (*.f64 d1 d1) d1)
(*.f64 d1 d1)
d1
Outputs
(pow.f64 d1 #s(literal 4 binary64))
(*.f64 (*.f64 (*.f64 d1 d1) d1) d1)
(*.f64 d1 (*.f64 d1 (*.f64 d1 d1)))
(*.f64 (*.f64 d1 d1) (*.f64 d1 d1))
(*.f64 (*.f64 d1 d1) d1)
(*.f64 d1 (*.f64 d1 d1))
(*.f64 d1 d1)
d1

soundness28.1s (95.5%)

Memory
-11.4MiB live, 221.3MiB allocated
Rules
864×pow-exp
720×pow-pow
596×pow-prod-down
560×*-lowering-*.f32
560×*-lowering-*.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01230
14230
29430
329730
4194910
0990010
0411
1119
2319
3749
42519
010129
Stop Event
done
iter limit
iter limit
iter limit
unsound
iter limit
node limit
Compiler

Compiled 69 to 26 computations (62.3% saved)

preprocess122.0ms (0.4%)

Memory
15.8MiB live, 96.4MiB allocated
Remove

(abs d1)

Compiler

Compiled 102 to 46 computations (54.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...