Details

Time bar (total: 18.2s)

sample123.0ms

Algorithm
intervals
Results
54.0ms73×body1280valid
24.0ms45×body640valid
14.0ms24×body2560valid
12.0ms34×body320valid
5.0ms69×body80valid
2.0ms11×body160valid

simplify10.0ms

Counts
1 → 1
Iterations
IterNodes
311
211
110
07

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.5b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot 1 x)
0.5b
(+ x (hypot 1 x))
2.9b
(log (+ x (hypot 1 x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
pow1 log-prod add-exp-log
expm1-log1p-u fma-def add-cbrt-cube insert-posit16 log1p-expm1-u
log-div flip3-+ flip-+ distribute-lft-out
+-commutative hypot-udef sum-log rem-log-exp log-pow
Counts
3 → 47
Calls
3 calls:
1.0ms
(hypot 1 x)
9.0ms
(+ x (hypot 1 x))
7.0ms
(log (+ x (hypot 1 x)))

series409.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(hypot 1 x)
116.0ms
(+ x (hypot 1 x))
226.0ms
(log (+ x (hypot 1 x)))

simplify1.9s

Counts
56 → 56
Iterations
IterNodes
44269
31489
2592
1243
0108

prune334.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma -1/6 (* (* x x) x) x)
0.1b
(* (* x x) x)
19.4b
(fma 3/40 (pow x 5) (fma -1/6 (* (* x x) x) x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
add-cbrt-cube add-exp-log
pow-plus pow-prod-up
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
pow2 pow-sqr fma-udef
associate-*l* pow3 *-commutative unswap-sqr
Counts
3 → 53
Calls
3 calls:
0.0ms
(fma -1/6 (* (* x x) x) x)
15.0ms
(* (* x x) x)
0.0ms
(fma 3/40 (pow x 5) (fma -1/6 (* (* x x) x) x))

series192.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(fma -1/6 (* (* x x) x) x)
38.0ms
(* (* x x) x)
61.0ms
(fma 3/40 (pow x 5) (fma -1/6 (* (* x x) x) x))

simplify3.2s

Counts
62 → 62
Iterations
IterNodes
45740
31305
2365
1134
070

prune407.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x (hypot 1 x))
0.5b
(+ x (hypot 1 x))
2.9b
(log (sqrt (+ x (hypot 1 x))))
2.9b
(log (sqrt (+ x (hypot 1 x))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
14×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 sqrt-prod add-log-exp
fma-def add-exp-log log-pow
expm1-log1p-u log-div flip3-+ add-cbrt-cube sqrt-div flip-+ insert-posit16 log1p-expm1-u distribute-lft-out
+-commutative sum-log sqrt-pow1 pow1/2 rem-log-exp
Counts
4 → 82
Calls
4 calls:
4.0ms
(+ x (hypot 1 x))
4.0ms
(+ x (hypot 1 x))
4.0ms
(log (sqrt (+ x (hypot 1 x))))
4.0ms
(log (sqrt (+ x (hypot 1 x))))

series497.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ x (hypot 1 x))
80.0ms
(+ x (hypot 1 x))
185.0ms
(log (sqrt (+ x (hypot 1 x))))
141.0ms
(log (sqrt (+ x (hypot 1 x))))

simplify1.3s

Counts
94 → 94
Iterations
IterNodes
42930
31132
2493
1216
0101

prune803.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ -1/16 (pow x 5))
0.5b
(/ -1/8 (* (* x x) x))
10.2b
(log (- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x))))
18.8b
(- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x)))

rewrite362.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
138×add-sqr-sqrt
135×times-frac
118×add-cube-cbrt
100×prod-diff
59×unpow-prod-down
27×distribute-lft-out
25×fma-neg
21×sqr-pow
19×add-exp-log
15×add-cbrt-cube
log-prod add-log-exp
associate-/r* difference-of-squares
div-inv
div-exp frac-sub associate-/l*
pow1 log-div
expm1-log1p-u cbrt-undiv insert-posit16 log1p-expm1-u distribute-lft-out--
prod-exp cbrt-unprod
clear-num frac-2neg flip3-+ flip3-- diff-log frac-add flip-+ flip--
pow-to-exp sum-log sub-neg rem-log-exp pow-exp log-pow associate--r+
Counts
4 → 251
Calls
4 calls:
5.0ms
(/ -1/16 (pow x 5))
14.0ms
(/ -1/8 (* (* x x) x))
144.0ms
(log (- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x))))
194.0ms
(- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ -1/16 (pow x 5))
49.0ms
(/ -1/8 (* (* x x) x))
135.0ms
(log (- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x))))
67.0ms
(- (/ -1/16 (pow x 5)) (+ (/ -1/8 (* (* x x) x)) (/ 1/2 x)))

simplify1.0s

Counts
263 → 263
Iterations
IterNodes
22561
1839
0361

prune2.4s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.0ms

Accuracy

99.8% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 30.9b

bsearch110.0ms

Steps
ItersRangePoint
9
5.277777168093308e-05
15.597049771107491
0.007700169734768205
10
-1231591086050.0088
-0.0006858147917088189
-1.0776022250282242

simplify7.0ms

Iterations
IterNodes
233
133
030

end0.0ms

sample4.6s

Algorithm
intervals
Results
2.4s2298×body1280valid
897.0ms1629×body640valid
637.0ms801×body2560valid
286.0ms800×body320valid
203.0ms2076×body80valid
74.0ms396×body160valid