Details

Time bar (total: 9.8s)

sample42.0ms

Algorithm
intervals
Results
15.0ms296×body80valid
3.0ms19×body640valid
3.0ms13×body1280valid
1.0msbody320valid

simplify245.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1149
2329
3829
41909
52639
62699
done2699

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* (* 3.0 (- 2.0 (* x 3.0))) x)
0.1b
(* 3.0 (- 2.0 (* x 3.0)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
prod-diff
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- fma-neg flip-- log1p-expm1-u
associate-*l/ *-commutative
diff-log unswap-sqr
Counts
3 → 74
Calls
3 calls:
13.0ms
(- 2.0 (* x 3.0))
48.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
24.0ms
(* 3.0 (- 2.0 (* x 3.0)))

series277.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(- 2.0 (* x 3.0))
118.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
100.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify1.4s

Counts
83 → 83
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0113917
1281903
21385783
done5002771

prune365.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (- 6.0 (* 9.0 x)) x)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*l/
expm1-log1p-u flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
41.0ms
(* (- 6.0 (* 9.0 x)) x)

series96.0ms

Counts
1 → 3
Calls
1 calls:
96.0ms
(* (- 6.0 (* 9.0 x)) x)

simplify530.0ms

Counts
25 → 25
Iterations

Useful iterations: done (529.0ms)

IterNodesCost
049253
1122250
2608224
done5001215

prune128.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* (sqrt 3.0) (- 2.0 (* x 3.0)))
0.2b
(* (* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0)))) x)
0.8b
(* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0))))

rewrite265.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
22×add-sqr-sqrt
21×prod-diff
20×pow1 add-exp-log add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity
13×associate-*l*
10×associate-*r/ pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r* sqrt-prod
add-log-exp
expm1-log1p-u flip3-- flip-- log1p-expm1-u
fma-neg *-commutative
associate-*l/ unswap-sqr
diff-log
Counts
4 → 126
Calls
4 calls:
7.0ms
(- 2.0 (* x 3.0))
38.0ms
(* (sqrt 3.0) (- 2.0 (* x 3.0)))
155.0ms
(* (* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0)))) x)
60.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0))))

series686.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- 2.0 (* x 3.0))
134.0ms
(* (sqrt 3.0) (- 2.0 (* x 3.0)))
298.0ms
(* (* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0)))) x)
208.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (- 2.0 (* x 3.0))))

simplify2.7s

Counts
138 → 138
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01672131
14772043
229881470
done50001420

prune531.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- x) 3.0 2.0)
0.2b
(* (* x 3.0) (fma (- x) 3.0 2.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
2 → 32
Calls
2 calls:
0.0ms
(fma (- x) 3.0 2.0)
33.0ms
(* (* x 3.0) (fma (- x) 3.0 2.0))

series262.0ms

Counts
2 → 6
Calls
2 calls:
85.0ms
(fma (- x) 3.0 2.0)
177.0ms
(* (* x 3.0) (fma (- x) 3.0 2.0))

simplify985.0ms

Counts
38 → 38
Iterations

Useful iterations: done (983.0ms)

IterNodesCost
059402
1149397
2985339
done5000331

prune155.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes86.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
187
done87

end0.0ms

sample815.0ms

Algorithm
intervals
Results
421.0ms9734×body80valid
51.0ms148×body320valid
45.0ms314×body1280valid
34.0ms286×body640valid
4.0ms63×body160valid