Details

Time bar (total: 22.0s)

sample59.0ms

Algorithm
intervals
Results
31.0ms91×body1280valid
8.0ms131×body80valid
6.0ms21×body640valid
1.0msbody320valid
1.0msbody160valid

simplify106.0ms

Counts
1 → 1
Iterations
IterNodes
done114
6114
5111
489
369
243
121
09

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot 1 x)
0.0b
(+ 1/2 (/ 1/2 (hypot 1 x)))
0.0b
(/ 1/2 (hypot 1 x))
1.7b
(- 1 (sqrt (+ 1/2 (/ 1/2 (hypot 1 x)))))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
35×add-sqr-sqrt
27×add-cube-cbrt
21×prod-diff
16×sqrt-prod
times-frac
add-log-exp
add-cbrt-cube add-exp-log
distribute-lft-out
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u difference-of-squares
associate-/r* fma-def fma-neg associate-/l* distribute-lft-out--
cbrt-undiv +-commutative hypot-udef clear-num sum-log sub-neg frac-2neg flip3-+ flip3-- diff-log div-exp flip-+ div-inv flip--
Counts
4 → 105
Calls
4 calls:
0.0ms
(hypot 1 x)
10.0ms
(+ 1/2 (/ 1/2 (hypot 1 x)))
5.0ms
(/ 1/2 (hypot 1 x))
88.0ms
(- 1 (sqrt (+ 1/2 (/ 1/2 (hypot 1 x)))))

series365.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(hypot 1 x)
74.0ms
(+ 1/2 (/ 1/2 (hypot 1 x)))
94.0ms
(/ 1/2 (hypot 1 x))
140.0ms
(- 1 (sqrt (+ 1/2 (/ 1/2 (hypot 1 x)))))

simplify3.6s

Counts
117 → 117
Iterations
IterNodes
done5000
34680
21393
1511
0212

prune471.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1/2 (hypot 1 x))
0.0b
(+ (+ (/ 1/2 (hypot 1 x)) 1/2) (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)))
0.0b
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
1.2b
(- 1 (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))

rewrite256.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
27×add-sqr-sqrt
18×add-cube-cbrt
11×flip3-+ flip-+ add-log-exp
10×pow1 sqrt-div
times-frac
add-cbrt-cube add-exp-log
associate-*l* sqrt-prod distribute-lft-out
expm1-log1p-u frac-times fma-def associate-*r* frac-add insert-posit16 log1p-expm1-u
associate-/r* sum-log distribute-rgt-out fma-neg prod-diff associate-/l*
distribute-rgt-in distribute-lft-in sqrt-pow1 pow-plus pow1/2 associate-*l/ associate-*r/ pow-prod-up associate--r+ unswap-sqr
cbrt-undiv +-commutative associate-+l+ clear-num sub-neg frac-2neg distribute-lft1-in flip3-- diff-log cube-unmult div-exp pow-prod-down prod-exp *-commutative cbrt-unprod div-inv flip--
Counts
4 → 125
Calls
4 calls:
5.0ms
(/ 1/2 (hypot 1 x))
110.0ms
(+ (+ (/ 1/2 (hypot 1 x)) 1/2) (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)))
129.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
9.0ms
(- 1 (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))

series590.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ 1/2 (hypot 1 x))
193.0ms
(+ (+ (/ 1/2 (hypot 1 x)) 1/2) (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)))
150.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
188.0ms
(- 1 (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))

simplify2.4s

Counts
137 → 137
Iterations
IterNodes
done5008
22741
1768
0272

prune865.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize63.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
0.0b
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
0.5b
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))))
1.2b
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))))

rewrite594.0ms

Algorithm
rewrite-expression-head
Rules
264×sqrt-div
144×frac-times
134×sqrt-pow1
129×pow1
120×flip3-+ flip-+
63×pow-prod-up
48×associate-*l/ associate-*r/
46×pow1/2
37×pow-plus
35×add-sqr-sqrt
31×pow-prod-down
25×*-un-lft-identity
18×associate-*l*
16×add-cube-cbrt
15×pow-sqr
14×sqrt-prod
12×associate-*r*
10×add-cbrt-cube add-exp-log
cube-unmult
add-log-exp
unswap-sqr
expm1-log1p-u swap-sqr insert-posit16 log1p-expm1-u distribute-lft-out
fma-neg prod-diff prod-exp *-commutative cbrt-unprod
distribute-rgt-in distribute-lft-in difference-of-squares
pow2 sub-neg rem-square-sqrt flip3-- sqrt-unprod diff-log flip--
Counts
4 → 274
Calls
4 calls:
123.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
132.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
303.0ms
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))))
6.0ms
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))))

series559.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
121.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
128.0ms
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))))
174.0ms
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2)))))

simplify2.4s

Counts
286 → 286
Iterations
IterNodes
done5004
22144
1749
0352

prune2.0s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize67.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
0.0b
(pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)
0.5b
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)))
1.2b
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2))))

rewrite480.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
23×*-un-lft-identity
20×sqrt-div
17×pow1 sqrt-prod
15×associate-*r* add-cube-cbrt
12×sqrt-pow1 flip3-+ associate-*l/ flip-+
11×associate-*l*
unpow-prod-down add-exp-log
frac-times add-cbrt-cube pow-prod-up
pow1/2 add-log-exp unswap-sqr
expm1-log1p-u pow-plus associate-*r/ insert-posit16 log1p-expm1-u distribute-lft-out
pow-unpow fma-neg prod-diff pow-prod-down sqr-pow
prod-exp *-commutative cbrt-unprod
distribute-rgt-in pow-to-exp sub-neg pow-pow distribute-lft-in flip3-- sqrt-unprod diff-log cube-unmult pow-exp flip--
Counts
4 → 131
Calls
4 calls:
127.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
37.0ms
(pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)
300.0ms
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)))
10.0ms
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2))))

series631.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))
133.0ms
(pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)
153.0ms
(* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2)))
209.0ms
(- 1 (* (sqrt (* (sqrt (+ (/ 1/2 (hypot 1 x)) 1/2)) (+ (/ 1/2 (hypot 1 x)) 1/2))) (sqrt (pow (+ (/ 1/2 (hypot 1 x)) 1/2) 3/2))))

simplify2.3s

Counts
143 → 143
Iterations
IterNodes
done5001
22108
1681
0245

prune1.0s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

regimes169.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch175.0ms

Steps
ItersRangePoint
9
1.7877411926250683e-07
0.113095154289168
0.01238224451402385
8
-0.018988436667384805
-1.4244285555183042e-05
-0.013043377732168978

simplify15.0ms

Iterations
IterNodes
done44
144
032

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.3s2892×body1280valid
486.0ms153×body160valid
396.0ms3996×body80valid
184.0ms639×body640valid
84.0ms320×body320valid