Details

Time bar (total: 13.6s)

sample24.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify213.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1189
2479
31029
41509
51689
61819
71859
done1859

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize11.0ms

Local error

Found 1 expressions with local error:

13.4b
(/ (- x y) (* (* x 2.0) y))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
times-frac associate-/l*
cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/l/ distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u flip3-- frac-2neg div-sub clear-num associate-/r* flip-- log1p-expm1-u div-inv add-log-exp
Counts
1 → 32
Calls
1 calls:
31.0ms
(/ (- x y) (* (* x 2.0) y))

series73.0ms

Counts
1 → 3
Calls
1 calls:
73.0ms
(/ (- x y) (* (* x 2.0) y))

simplify4.0s

Counts
35 → 35
Iterations

Useful iterations: 3 (2.3s)

IterNodesCost
084467
1235452
2903372
34863370
done5000370

prune114.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x y) y)
8.2b
(* (/ 1 (* x 2.0)) (/ (- x y) y))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
42×add-sqr-sqrt
37×*-un-lft-identity
34×times-frac
25×add-cbrt-cube
23×add-cube-cbrt
20×prod-exp
19×associate-*r*
16×div-exp
cbrt-undiv cbrt-unprod
associate-*l* distribute-lft-out-- difference-of-squares
associate-/l*
pow1 rec-exp 1-exp
associate-/r* div-inv
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp unswap-sqr
frac-times flip3-- frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
2 → 102
Calls
2 calls:
36.0ms
(/ (- x y) y)
95.0ms
(* (/ 1 (* x 2.0)) (/ (- x y) y))

series123.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (- x y) y)
93.0ms
(* (/ 1 (* x 2.0)) (/ (- x y) y))

simplify1.6s

Counts
108 → 108
Iterations

Useful iterations: 2 (357.0ms)

IterNodesCost
01681410
14331241
217211050
done50001050

prune228.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x y) (* x 2.0))
9.8b
(/ (/ (- x y) (* x 2.0)) y)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
34×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
16×add-exp-log add-cbrt-cube
14×associate-/l*
cbrt-undiv div-exp
div-inv distribute-lft-out-- difference-of-squares
associate-/r*
div-sub associate-/l/
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u add-log-exp
flip3-- flip--
Counts
2 → 89
Calls
2 calls:
33.0ms
(/ (- x y) (* x 2.0))
31.0ms
(/ (/ (- x y) (* x 2.0)) y)

series154.0ms

Counts
2 → 6
Calls
2 calls:
66.0ms
(/ (- x y) (* x 2.0))
89.0ms
(/ (/ (- x y) (* x 2.0)) y)

simplify1.7s

Counts
95 → 95
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01551280
13801242
212501116
done50001114

prune287.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sqrt (- x y)) x)
0.1b
(/ (/ (sqrt (- x y)) 2.0) y)
3.4b
(* (/ (sqrt (- x y)) x) (/ (/ (sqrt (- x y)) 2.0) y))

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
407×times-frac
301×add-sqr-sqrt
254×*-un-lft-identity
198×add-cube-cbrt
147×sqrt-prod
88×associate-*r*
36×associate-/l*
31×add-exp-log add-cbrt-cube
28×associate-*l* distribute-lft-out-- difference-of-squares
13×cbrt-undiv div-exp
12×unswap-sqr
11×div-inv
prod-exp associate-/r* cbrt-unprod
pow1
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
frac-2neg sqrt-div clear-num
frac-times flip3-- associate-*r/ pow-prod-down associate-*l/ *-commutative flip--
Counts
3 → 337
Calls
3 calls:
31.0ms
(/ (sqrt (- x y)) x)
25.0ms
(/ (/ (sqrt (- x y)) 2.0) y)
140.0ms
(* (/ (sqrt (- x y)) x) (/ (/ (sqrt (- x y)) 2.0) y))

series410.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(/ (sqrt (- x y)) x)
188.0ms
(/ (/ (sqrt (- x y)) 2.0) y)
99.0ms
(* (/ (sqrt (- x y)) x) (/ (/ (sqrt (- x y)) 2.0) y))

simplify2.5s

Counts
346 → 346
Iterations

Useful iterations: done (2.5s)

IterNodesCost
04436351
112225602
238425330
done50005268

prune893.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes69.0ms

Accuracy

98.4% (0.1b remaining)

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

bsearch83.0ms

Steps
ItersRangePoint
9
1173724448.4928873
3520095067841713.5
4840027656.945666
5
-1.0178916472141456e+36
-4.149836084787158e+35
-5.8149502022660105e+35

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01739
12429
done2429

end0.0ms

sample626.0ms

Algorithm
intervals
Results
316.0ms8000×body80valid